arlut.csd.ganymede.client
Interface ClientListener

All Known Implementing Classes:
glogin, rpcpass, xmlclient

public interface ClientListener

An interface to complement the ClientBase class. This interface must be implemented by any code that creates uses ClientBase to talk to the Ganymede server.

See Also:
ClientEvent

Method Summary
 void disconnected(ClientEvent e)
          Called when the server forces a disconnect.
 void messageReceived(ClientEvent e)
          Called when the ClientBase needs to report something to the client.
 

Method Detail

disconnected

public void disconnected(ClientEvent e)

Called when the server forces a disconnect.

Call getMessage() on the ClientEvent to get the reason for the disconnect.


messageReceived

public void messageReceived(ClientEvent e)

Called when the ClientBase needs to report something to the client. The client is expected to then put up a dialog or do whatever else is appropriate.

Call getMessage() on the ClientEvent to get the reason for the disconnect.