public class IOStreamFilterManager extends Object implements IOFilterManager
Constructor and Description |
---|
IOStreamFilterManager(Reader reader,
Writer writer,
IOStreamFilter filter) |
Modifier and Type | Method and Description |
---|---|
void |
beginHandshake() |
byte[] |
handleBlockingContant(byte[] bytes,
int slowConsumerTimeout) |
byte[] |
handleNoneBlockingContant(Reader.Context ctx,
byte[] bytes) |
void |
setUseClientMode(boolean mode) |
void |
writeBytesBlocking(ByteBuffer dataBuffer) |
void |
writeBytesNonBlocking(Writer.Context ctx) |
public IOStreamFilterManager(Reader reader, Writer writer, IOStreamFilter filter)
public byte[] handleBlockingContant(byte[] bytes, int slowConsumerTimeout) throws IOException, IOFilterException
handleBlockingContant
in interface IOFilterManager
IOException
IOFilterException
public byte[] handleNoneBlockingContant(Reader.Context ctx, byte[] bytes) throws IOException, IOFilterException
handleNoneBlockingContant
in interface IOFilterManager
IOException
IOFilterException
public void writeBytesBlocking(ByteBuffer dataBuffer) throws IOException, IOFilterException
writeBytesBlocking
in interface IOFilterManager
IOException
IOFilterException
public void writeBytesNonBlocking(Writer.Context ctx) throws IOException
writeBytesNonBlocking
in interface IOFilterManager
IOException
public void beginHandshake()
beginHandshake
in interface IOFilterManager
public void setUseClientMode(boolean mode)
Copyright © GigaSpaces.