public interface AdminRMI
extends java.rmi.Remote
Modifier and Type | Method and Description |
---|---|
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.
|
void addNewBBSMessageInClient(BBSMessage message) throws java.rmi.RemoteException
message
- the given BBSMessage
java.rmi.RemoteException
- exception occurs during the execution of a remote method
callvoid deleteBBSMessageInClient(java.lang.String boardID, java.lang.String MessageID) throws java.rmi.RemoteException
boardID
- the given board idMessageID
- the given message idjava.rmi.RemoteException
- exception occurs during the execution of a remote method
callvoid notifyServerShutdown() throws java.rmi.RemoteException
java.rmi.RemoteException
- exception occurs during the execution of a remote method
callvoid serverShutdown(int min) throws java.rmi.RemoteException
min
- the given minutejava.rmi.RemoteException
- exception occurs during the execution of a remote method
callvoid kickout() throws java.rmi.RemoteException
java.rmi.RemoteException
- exception occurs during the execution of a remote method
callvoid announceOnlineAdmin(ClientMessage msg) throws java.rmi.RemoteException
ClientMessage
- the given messagejava.rmi.RemoteException
- exception occirs during the execution of a remote method
callClientMessage
boolean ckeckAlive() throws java.rmi.RemoteException
java.rmi.RemoteException
- exception occurs during the execution of a remote method
calljava.lang.String getProductVersion() throws java.rmi.RemoteException
java.rmi.RemoteException
- exception occurs during the execution of a remote method
callCopyright ? 2022. All Rights Reserved.