org.mule.providers.tcp.integration
Class CustomSerializationProtocol

java.lang.Object
  extended by org.mule.providers.tcp.protocols.ByteProtocol
      extended by org.mule.providers.tcp.protocols.DefaultProtocol
          extended by org.mule.providers.tcp.integration.CustomSerializationProtocol
All Implemented Interfaces:
org.mule.providers.tcp.TcpProtocol

public class CustomSerializationProtocol
extends org.mule.providers.tcp.protocols.DefaultProtocol


Field Summary
 
Fields inherited from class org.mule.providers.tcp.protocols.ByteProtocol
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.providers.tcp.protocols.DefaultProtocol
isRepeat, read
 
Methods inherited from class org.mule.providers.tcp.protocols.ByteProtocol
copy, copy, nullEmptyArray, safeRead, safeRead, 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 org.mule.providers.tcp.TcpProtocol
Overrides:
write in class org.mule.providers.tcp.protocols.ByteProtocol
Throws:
IOException

read

public Object read(InputStream is)
            throws IOException
Specified by:
read in interface org.mule.providers.tcp.TcpProtocol
Overrides:
read in class org.mule.providers.tcp.protocols.DefaultProtocol
Throws:
IOException


Copyright © 2003-2008 MuleSource, Inc.. All Rights Reserved.