ix.util
Class IPC.EmptyCommunicationStrategy

java.lang.Object
  extended by ix.util.IPC.EmptyCommunicationStrategy
All Implemented Interfaces:
IPC.CommunicationStrategy
Enclosing class:
IPC

public static class IPC.EmptyCommunicationStrategy
extends java.lang.Object
implements IPC.CommunicationStrategy

A strategy that just throws an exception whenever the agent tries to send.


Constructor Summary
IPC.EmptyCommunicationStrategy()
           
 
Method Summary
 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

IPC.EmptyCommunicationStrategy

public IPC.EmptyCommunicationStrategy()
Method Detail

sendObject

public void sendObject(java.lang.Object destination,
                       java.lang.Object contents)
Specified by:
sendObject in interface IPC.CommunicationStrategy

setupServer

public void setupServer(java.lang.Object destination,
                        IPC.MessageListener listener)
Specified by:
setupServer in interface IPC.CommunicationStrategy