Agentflow
V3.1

pe.pase
Interface ClientRMI


public interface ClientRMI

For client call back

Version:
1.1.5,, 1.0
Author:
yschen

Method Summary
 void addMonitorTask(RootTaskSummary rts)
          Monitor frame responds instanly.
 void addNewBBSMessageInClient(BBSMessage message)
          Add new bbs message in client
 void addNewMessage(PASEMessage msg)
          Add new message.
 void addNewTask(Task t, boolean isPopup)
          Add new task
 void addTaskList(java.util.Vector p_NewTaskVector)
          Add task list.
 void announceOnlineClient(ClientMessage msg)
          Show dialog in client
 void bypassTask(Task t)
          Bypass the specified task.
 boolean cancelTask(Task t)
          Cancel task
 boolean cancelTaskList(java.util.Vector p_CancelTaskList)
          Cancel task list.
 java.util.Vector cancelTaskWithCond(java.lang.String p_State)
          Cancel task with the condition
 java.util.Vector cancelTaskWithCond(java.util.Vector stateList)
          Cancel task with the condition.
 boolean ckeckAlive()
          For server to check alive
 void deleteBBSMessageInClient(java.lang.String boardID, java.lang.String MessageID)
          Delete bbs message in client.
 void finishGetTaskList()
          Finish get task list.
 java.lang.String getProductVersion()
          Get the client version
 void kickout()
          Kick out the user.
 void notifyServerShutdown()
          When server shut down, notify the online user.
 void serverShutdown(int min)
          Server shutdown after the specified minutes.
 void setMemberRecord(MemberRecord mbr)
          Set member record
 void updateTaskStateByServer(java.lang.String tskID, java.lang.String state)
          Task state update
 

Method Detail

addMonitorTask

void addMonitorTask(RootTaskSummary rts)
                    throws java.rmi.RemoteException
Monitor frame responds instanly.

Parameters:
rts - the given root task summary
Throws:
java.rmi.RemoteException - exception occurs during the execution of a remote method call
Since:
version 1.1.0
See Also:
RootTaskSummary

addNewBBSMessageInClient

void addNewBBSMessageInClient(BBSMessage message)
                              throws java.rmi.RemoteException
Add new bbs message in client

Parameters:
message - the given BBSMessage
Throws:
java.rmi.RemoteException - exception occurs during the execution of a remote method call
Since:
version 1.1.0

addNewMessage

void addNewMessage(PASEMessage msg)
                   throws java.rmi.RemoteException
Add new message.

Parameters:
msg - the given PASEMessage object
Throws:
java.rmi.RemoteException - exception occurs during the execution of a remote method call
Since:
version 1.1.0
See Also:
PASEMessage

addNewTask

void addNewTask(Task t,
                boolean isPopup)
                throws java.rmi.RemoteException
Add new task

Parameters:
t - the given Task object
isPopup - the given boolean value. true the task is popup; false otherwise
Throws:
java.rmi.RemoteException - exception occurs during the execution of a remote method call
Since:
version 1.1.0
See Also:
Task

addTaskList

void addTaskList(java.util.Vector p_NewTaskVector)
                 throws java.rmi.RemoteException
Add task list. The elements in task list are instances of Task

Parameters:
p_NewTaskVector - the given new task list
Throws:
java.rmi.RemoteException - exception occurs during the execution of a remote method call
Since:
version 1.1.0
See Also:
Task

announceOnlineClient

void announceOnlineClient(ClientMessage msg)
                          throws java.rmi.RemoteException
Show dialog in client

Parameters:
ClientMessage - the given message
Throws:
java.rmi.RemoteException - exception occirs during the execution of a remote method call
Since:
version 1.1.0
See Also:
ClientMessage

bypassTask

void bypassTask(Task t)
                throws java.rmi.RemoteException
Bypass the specified task.

Parameters:
t - the given Task object
Throws:
java.rmi.RemoteException - exception occurs during the execution of a remote method call
Since:
version 1.1.0
See Also:
Task

cancelTask

boolean cancelTask(Task t)
                   throws java.rmi.RemoteException
Cancel task

Parameters:
t - the given Task object
Returns:
true cancel task is success; false otherwise
Throws:
java.rmi.RemoteException - exception occurs during the execution of a remote method call
Since:
version 1.1.0
See Also:
Task

cancelTaskList

boolean cancelTaskList(java.util.Vector p_CancelTaskList)
                       throws java.rmi.RemoteException
Cancel task list. The elements in given task list are instances of Task.

Parameters:
p_CancelTaskList - the given remove task list
Returns:
true the cancel task list is success; false otherwise
Throws:
java.rmi.RemoteException - exception occurs during the execution of a remote method call
Since:
version 1.1.0
See Also:
Task

cancelTaskWithCond

java.util.Vector cancelTaskWithCond(java.lang.String p_State)
                                    throws java.rmi.RemoteException
Cancel task with the condition

Parameters:
p_State - the given condition.
Returns:
the remove task list. (the element in Vector is instance of Task)
Throws:
java.rmi.RemoteException - exception occurs during the execution of a remote method call
Since:
version 1.1.0
See Also:
Task

cancelTaskWithCond

java.util.Vector cancelTaskWithCond(java.util.Vector stateList)
                                    throws java.rmi.RemoteException
Cancel task with the condition. The elements in given state list are strings.

Parameters:
stateList - the given condition list
Returns:
the remove task list. (the element in Vector is instance of Task)
Throws:
java.rmi.RemoteException - exception occurs during the execution of a remote method call
Since:
version 1.1.0
See Also:
Task

ckeckAlive

boolean ckeckAlive()
                   throws java.rmi.RemoteException
For server to check alive

Returns:
true server is alive; false otherwise
Throws:
java.rmi.RemoteException - exception occurs during the execution of a remote method call
Since:
version 1.1.0

deleteBBSMessageInClient

void deleteBBSMessageInClient(java.lang.String boardID,
                              java.lang.String MessageID)
                              throws java.rmi.RemoteException
Delete bbs message in client.

Parameters:
boardID - the given board id
MessageID - the given message id
Throws:
java.rmi.RemoteException - exception occurs during the execution of a remote method call
Since:
version 1.1.0

finishGetTaskList

void finishGetTaskList()
                       throws java.rmi.RemoteException
Finish get task list.

Throws:
java.rmi.RemoteException - exception occurs during the execution of a remote method call
Since:
version 1.1.0

getProductVersion

java.lang.String getProductVersion()
                                   throws java.rmi.RemoteException
Get the client version

Returns:
the Version string.
Throws:
java.rmi.RemoteException - exception occurs during the execution of a remote method call
Since:
version 1.1.6

kickout

void kickout()
             throws java.rmi.RemoteException
Kick out the user.

Throws:
java.rmi.RemoteException - exception occurs during the execution of a remote method call
Since:
version 1.1.0

notifyServerShutdown

void notifyServerShutdown()
                          throws java.rmi.RemoteException
When server shut down, notify the online user.

Throws:
java.rmi.RemoteException - exception occurs during the execution of a remote method call
Since:
version 1.1.0

serverShutdown

void serverShutdown(int min)
                    throws java.rmi.RemoteException
Server shutdown after the specified minutes.

Parameters:
min - the given minute
Throws:
java.rmi.RemoteException - exception occurs during the execution of a remote method call
Since:
version 1.1.0

setMemberRecord

void setMemberRecord(MemberRecord mbr)
                     throws java.rmi.RemoteException
Set member record

Parameters:
mbr - the given member record
Throws:
java.rmi.RemoteException - exception occurs during the execution of a remote method call
Since:
version 1.1.0
See Also:
MemberRecord

updateTaskStateByServer

void updateTaskStateByServer(java.lang.String tskID,
                             java.lang.String state)
                             throws java.rmi.RemoteException
Task state update

Parameters:
tskID - the given task id
state - the given state
Throws:
java.rmi.RemoteException - exception occurs during the execution of a remote method call
Since:
version 1.1.0

Agentflow
V3.1

Submit a bug or feature
Copyright 1999-2010 Flowring , Inc. 12F., No.120, Sec2, Gongdao 5th Rd.,
Hsinchu City 300, Taiwan (R.O.C.) All Rights Reserved.