public class IOBlockFilterManager extends Object implements IOFilterManager
Constructor and Description |
---|
IOBlockFilterManager(Reader reader,
IChannelWriter writer,
IOBlockFilter filter) |
Modifier and Type | Method and Description |
---|---|
void |
beginHandshake() |
static IOFilterManager |
createFilter(Reader reader,
Writer writer,
boolean mode,
SocketChannel channel) |
static IOFilterFactory |
getFilterFactory() |
byte[] |
handleBlockingContant(byte[] bytes,
int slowConsumerTimeout) |
byte[] |
handleNoneBlockingContant(Reader.Context ctx,
byte[] bytes) |
static void |
setFilterFactory(IOFilterFactory _filterFactory) |
void |
writeBytesBlocking(ByteBuffer dataBuffer) |
void |
writeBytesNonBlocking(Writer.Context writeContext) |
public IOBlockFilterManager(Reader reader, IChannelWriter writer, IOBlockFilter filter)
public void writeBytesNonBlocking(Writer.Context writeContext) throws IOException, IOFilterException
writeBytesNonBlocking
in interface IOFilterManager
IOException
IOFilterException
public byte[] handleNoneBlockingContant(Reader.Context ctx, byte[] bytes) throws IOException, IOFilterException
handleNoneBlockingContant
in interface IOFilterManager
IOException
IOFilterException
public byte[] handleBlockingContant(byte[] bytes, int slowConsumerTimeout) throws ClosedChannelException, IOException, IOFilterException
handleBlockingContant
in interface IOFilterManager
ClosedChannelException
IOException
IOFilterException
public void writeBytesBlocking(ByteBuffer dataBuffer) throws IOException, IOFilterException
writeBytesBlocking
in interface IOFilterManager
IOException
IOFilterException
public static IOFilterManager createFilter(Reader reader, Writer writer, boolean mode, SocketChannel channel) throws Exception
Exception
public void beginHandshake() throws IOFilterException, IOException
beginHandshake
in interface IOFilterManager
IOFilterException
IOException
public static void setFilterFactory(IOFilterFactory _filterFactory)
public static IOFilterFactory getFilterFactory()
Copyright © GigaSpaces.