|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
Interface that must be implemented by client code that connects to the
ganymede server. The GanymedeServer's
login method
uses this interface to authenticate a client, and to force the client to shutdown
if the user is forced off or the server goes down.
| Method Summary | |
void |
forceDisconnect(java.lang.String reason)
Allows the server to force us off when it goes down. |
java.lang.String |
getName()
Allows the server to retrieve the username. |
java.lang.String |
getPassword()
Allows the server to retrieve the password. |
void |
sendMessage(int messageType,
java.lang.String status)
Allows the server to send an asynchronous message to the client.. |
| Method Detail |
public java.lang.String getName()
throws java.rmi.RemoteException
Allows the server to retrieve the username.
java.rmi.RemoteException
public java.lang.String getPassword()
throws java.rmi.RemoteException
Allows the server to retrieve the password.
java.rmi.RemoteException
public void forceDisconnect(java.lang.String reason)
throws java.rmi.RemoteException
Allows the server to force us off when it goes down.
java.rmi.RemoteException
public void sendMessage(int messageType,
java.lang.String status)
throws java.rmi.RemoteException
Allows the server to send an asynchronous message to the client.. Used by the server to tell the client when a build is/is not being performed on the server.
The only messageType defined so far is 1, build update.
java.rmi.RemoteException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||