ix.util
Interface IPC.SocketlikeCommunicationStrategy

All Superinterfaces:
IPC.CommunicationStrategy
All Known Implementing Classes:
IPC.ObjectStreamCommunicationStrategy
Enclosing class:
IPC

public static interface IPC.SocketlikeCommunicationStrategy
extends IPC.CommunicationStrategy

A CommunicationStrategy that provides "connections" analogous to sockets and a visible mapping from destination names to the data needed to establish a connection.


Method Summary
 IPC.Connection connectTo(java.lang.Object destination)
           
 IPC.Connection getConnection(java.lang.Object destination)
           
 java.lang.Object getDestinationData(java.lang.Object destination)
           
 void setDestinationData(java.lang.Object destination, java.lang.Object data)
           
 
Methods inherited from interface ix.util.IPC.CommunicationStrategy
sendObject, setupServer
 

Method Detail

getDestinationData

public java.lang.Object getDestinationData(java.lang.Object destination)

setDestinationData

public void setDestinationData(java.lang.Object destination,
                               java.lang.Object data)

connectTo

public IPC.Connection connectTo(java.lang.Object destination)

getConnection

public IPC.Connection getConnection(java.lang.Object destination)