|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnathan.middleware.ClientCommunication
public class ClientCommunication
Client Communication is used to send and receive messages from the remote object. The client communication module is is passed messages to be sent from the stub. When the results are received from the remote object server they are returned to the stub module.
Constructor Summary | |
---|---|
ClientCommunication()
Creates a new instance of ClientCommunication. |
|
ClientCommunication(java.net.InetAddress address,
int portNumber)
Creates a new instance of ClientCommunication. |
Method Summary | |
---|---|
Message |
getMessage()
Get a message sent from the server. |
void |
sendMessage(Message message)
Send a message to the server. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ClientCommunication()
public ClientCommunication(java.net.InetAddress address, int portNumber)
address
- The address of the remote object.portNumber
- The port number of the remote object.Method Detail |
---|
public void sendMessage(Message message)
message
- The message to be sent to the server.public Message getMessage()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |