ix.http
Class HttpCommunicationStrategy
java.lang.Object
ix.http.HttpCommunicationStrategy
- All Implemented Interfaces:
- IPC.CommunicationStrategy
public class HttpCommunicationStrategy
- extends java.lang.Object
- implements IPC.CommunicationStrategy
A communication strategy that uses HTTP to transport messages.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
HttpCommunicationStrategy
public HttpCommunicationStrategy()
HttpCommunicationStrategy
public HttpCommunicationStrategy(int port)
setupServer
public void setupServer(java.lang.Object destination,
IPC.MessageListener listener)
- Specified by:
setupServer
in interface IPC.CommunicationStrategy
registerWithNameServer
protected void registerWithNameServer()
sendObject
public void sendObject(java.lang.Object destination,
java.lang.Object contents)
- Specified by:
sendObject
in interface IPC.CommunicationStrategy
handleInput
protected java.lang.Object handleInput(java.lang.Object contents)