ix.http
Class HttpCommunicationStrategy

java.lang.Object
  extended by 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.


Constructor Summary
HttpCommunicationStrategy()
           
HttpCommunicationStrategy(int port)
           
 
Method Summary
protected  java.lang.Object handleInput(java.lang.Object contents)
           
protected  void registerWithNameServer()
           
 void sendObject(java.lang.Object destination, java.lang.Object contents)
           
 void setupServer(java.lang.Object destination, IPC.MessageListener listener)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HttpCommunicationStrategy

public HttpCommunicationStrategy()

HttpCommunicationStrategy

public HttpCommunicationStrategy(int port)
Method Detail

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)