public class CustomSerializationProtocol extends DirectProtocol
bufferSize, UNLIMITED
EOF, NO_STREAM, STREAM_OK
Constructor and Description |
---|
CustomSerializationProtocol() |
Modifier and Type | Method and Description |
---|---|
Object |
read(InputStream is) |
void |
write(OutputStream os,
Object data) |
isRepeat, read, remaining
copy, copy, createResponse, isRethrowExceptionOnRead, nullEmptyArray, safeRead, safeRead, setRethrowExceptionOnRead, writeByteArray
public void write(OutputStream os, Object data) throws IOException
write
in interface TcpProtocol
write
in class AbstractByteProtocol
IOException
public Object read(InputStream is) throws IOException
read
in interface TcpProtocol
read
in class DirectProtocol
IOException
Copyright © 2003–2015 MuleSoft, Inc.. All rights reserved.