All Packages Class Hierarchy This Package Previous Next Index
Interface ncsa.hdf.message.Messageable
- public interface Messageable
Messagable is an interface to be implemented by HDF objects.
This interface defines a protocol for bidirectional communication
between HDF java server and HDF java client.
-
fromClient(HDFMessage)
- process the message received from the client
-
fromServer(HDFMessage)
- process the message received from the server
-
isMe(HDFMessage)
- check if the object is me
-
service()
- serve the client request on the server
-
toClient()
- create a message for sending to the client
-
toServer()
- create a message for sending to the server
isMe
public abstract boolean isMe(HDFMessage message)
- check if the object is me
toServer
public abstract HDFMessage toServer()
- create a message for sending to the server
toClient
public abstract HDFMessage toClient()
- create a message for sending to the client
fromServer
public abstract void fromServer(HDFMessage message)
- process the message received from the server
fromClient
public abstract void fromClient(HDFMessage message)
- process the message received from the client
service
public abstract void service()
- serve the client request on the server
All Packages Class Hierarchy This Package Previous Next Index