Agentflow
V3.1

pe.pase
Interface AdminRMI

All Superinterfaces:
java.rmi.Remote

public interface AdminRMI
extends java.rmi.Remote

For admin call back

Version:
1.1.5,, 1.0
Author:
lchuang

Method Summary
 void addNewBBSMessageInClient(BBSMessage message)
          Add new bbs message in client
 void announceOnlineAdmin(ClientMessage msg)
          Show dialog in admin
 boolean ckeckAlive()
          For server to check alive
 void deleteBBSMessageInClient(java.lang.String boardID, java.lang.String MessageID)
          Delete bbs message in client.
 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.
 

Method Detail

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.5

announceOnlineAdmin

void announceOnlineAdmin(ClientMessage msg)
                         throws java.rmi.RemoteException
Show dialog in admin

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

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.5

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.5

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.5

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.5

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.