ix.util
Class IPC.XMLObjectStreamCommunicationStrategy

java.lang.Object
  |
  +--ix.util.IPC.ObjectStreamCommunicationStrategy
        |
        +--ix.util.IPC.XMLObjectStreamCommunicationStrategy
All Implemented Interfaces:
IPC.CommunicationStrategy, IPC.SocketlikeCommunicationStrategy
Direct Known Subclasses:
IPC.SimpleIXXMLCommunicationStrategy
Enclosing class:
IPC

public static class IPC.XMLObjectStreamCommunicationStrategy
extends IPC.ObjectStreamCommunicationStrategy

A version of ObjectStreamCommunicationStrategy that encodes the message contents in XML rather than serializing.


Fields inherited from class ix.util.IPC.ObjectStreamCommunicationStrategy
connectionTable, defaultNameServerAddress, destinationTable, serverDestination
 
Constructor Summary
IPC.XMLObjectStreamCommunicationStrategy()
           
 
Method Summary
protected  java.lang.Object objectFromXMLMessage(IPC.InputMessage message)
           
 java.lang.Object postDecode(java.lang.Object contents)
           
 java.lang.Object preEncode(java.lang.Object contents)
           
 
Methods inherited from class ix.util.IPC.ObjectStreamCommunicationStrategy
askNameServer, connectTo, discardAnyConnection, getConnection, getDestinationData, haveConnection, sendObject, sendRequest, setDestinationData, setDestinationTable, setupNameServer, setupNameServerAddress, setupServer
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

IPC.XMLObjectStreamCommunicationStrategy

public IPC.XMLObjectStreamCommunicationStrategy()
Method Detail

preEncode

public java.lang.Object preEncode(java.lang.Object contents)
Overrides:
preEncode in class IPC.ObjectStreamCommunicationStrategy

postDecode

public java.lang.Object postDecode(java.lang.Object contents)
Overrides:
postDecode in class IPC.ObjectStreamCommunicationStrategy

objectFromXMLMessage

protected java.lang.Object objectFromXMLMessage(IPC.InputMessage message)