ix.applet
Class MessageServer.Strategy

java.lang.Object
  extended by ix.util.ipc.SerializedCommunicationStrategy
      extended by ix.util.IPC.SimpleIXCommunicationStrategy
          extended by ix.applet.MessageServer.Strategy
All Implemented Interfaces:
IPC.CommunicationStrategy
Enclosing class:
MessageServer

static class MessageServer.Strategy
extends IPC.SimpleIXCommunicationStrategy

A communication strategy used by both the message-server and its clients. It gives "message-server" an address with a host and port specified by a ServiceAddress.


Nested Class Summary
 
Nested classes/interfaces inherited from class ix.util.ipc.SerializedCommunicationStrategy
SerializedCommunicationStrategy.ObjectStreamNameServer, SerializedCommunicationStrategy.ObjectStreamServer
 
Field Summary
(package private)  ServiceAddress serverAddr
           
 
Constructor Summary
MessageServer.Strategy(ServiceAddress serverAddr)
           
 
Method Summary
 
Methods inherited from class ix.util.ipc.SerializedCommunicationStrategy
postDecode, preEncode, sendObject, sendRequest, setDestinationAddress, setupNameServer, setupNameServerAddress, setupServer
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

serverAddr

ServiceAddress serverAddr
Constructor Detail

MessageServer.Strategy

MessageServer.Strategy(ServiceAddress serverAddr)