Interface prominence.msg.Client
All Packages Class Hierarchy This Package Previous Next Index
Interface prominence.msg.Client
- public interface Client
- extends Object
The interface through which the GenericClient class
communicates with registered tools.
-
disconnected()
- Disconnects the tool.
-
receive(DataInputStream)
- Receives a message from a peer tool.
-
setMessageOutput(MessageOutput)
- Assigns the Client a message output stream through which
it should perform all communications.
setMessageOutput
public abstract void setMessageOutput(MessageOutput o)
- Assigns the Client a message output stream through which
it should perform all communications. In the context of the
GenericClient/Server framework, this will be
a multiplexed stream to peer tools of other clients.
- Parameters:
- o - The message output stream
- See Also:
- register
receive
public abstract void receive(DataInputStream i)
- Receives a message from a peer tool.
- Parameters:
- i - A DataInputStream from which the message can
be read. The end of the message will be signalled by the EOF of
this stream.
disconnected
public abstract void disconnected()
- Disconnects the tool. This will be called if the client has
disconnected, or the tool has been deregistered.
- See Also:
- deregister
All Packages Class Hierarchy This Package Previous Next Index