org.mule.transport.tcp.integration
Class CustomSerializationProtocol

java.lang.Object
  extended by org.mule.transport.tcp.protocols.AbstractByteProtocol
      extended by org.mule.transport.tcp.protocols.DirectProtocol
          extended by org.mule.transport.tcp.integration.CustomSerializationProtocol
All Implemented Interfaces:
TcpProtocol

public class CustomSerializationProtocol
extends DirectProtocol


Field Summary
 
Fields inherited from class org.mule.transport.tcp.protocols.DirectProtocol
bufferSize, UNLIMITED
 
Fields inherited from class org.mule.transport.tcp.protocols.AbstractByteProtocol
EOF, NO_STREAM, STREAM_OK
 
Constructor Summary
CustomSerializationProtocol()
           
 
Method Summary
 Object read(InputStream is)
           
 void write(OutputStream os, Object data)
           
 
Methods inherited from class org.mule.transport.tcp.protocols.DirectProtocol
isRepeat, read, remaining
 
Methods inherited from class org.mule.transport.tcp.protocols.AbstractByteProtocol
copy, copy, createResponse, isRethrowExceptionOnRead, nullEmptyArray, safeRead, safeRead, setRethrowExceptionOnRead, writeByteArray
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CustomSerializationProtocol

public CustomSerializationProtocol()
Method Detail

write

public void write(OutputStream os,
                  Object data)
           throws IOException
Specified by:
write in interface TcpProtocol
Overrides:
write in class AbstractByteProtocol
Throws:
IOException

read

public Object read(InputStream is)
            throws IOException
Specified by:
read in interface TcpProtocol
Overrides:
read in class DirectProtocol
Throws:
IOException


Copyright © 2003-2012 MuleSoft, Inc.. All Rights Reserved.