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 IOFilterManagerIOExceptionIOFilterExceptionpublic byte[] handleNoneBlockingContant(Reader.Context ctx, byte[] bytes) throws IOException, IOFilterException
handleNoneBlockingContant in interface IOFilterManagerIOExceptionIOFilterExceptionpublic byte[] handleBlockingContant(byte[] bytes,
int slowConsumerTimeout)
throws ClosedChannelException,
IOException,
IOFilterException
handleBlockingContant in interface IOFilterManagerClosedChannelExceptionIOExceptionIOFilterExceptionpublic void writeBytesBlocking(ByteBuffer dataBuffer) throws IOException, IOFilterException
writeBytesBlocking in interface IOFilterManagerIOExceptionIOFilterExceptionpublic static IOFilterManager createFilter(Reader reader, Writer writer, boolean mode, SocketChannel channel) throws Exception
Exceptionpublic void beginHandshake()
throws IOFilterException,
IOException
beginHandshake in interface IOFilterManagerIOFilterExceptionIOExceptionpublic static void setFilterFactory(IOFilterFactory _filterFactory)
public static IOFilterFactory getFilterFactory()
Copyright © GigaSpaces.