public class IOSSLFilter extends Object implements IOBlockFilter
| Constructor and Description |
|---|
IOSSLFilter(SSLContext sslContext,
SocketAddress remoteAddress) |
| Modifier and Type | Method and Description |
|---|---|
void |
beginHandshake()
Initiation of handshake process.
|
int |
getApplicationBufferSize()
Return the application max block size
|
Runnable |
getDelegatedTask()
When filter wish to do some calculation this is the way to
handle the calculation code to the filter container.
|
com.gigaspaces.lrmi.nio.filters.IOFilterResult.HandshakeStatus |
getHandshakeStatus()
Report the Hanshake status.
|
int |
getPacketBufferSize()
Return the network max block size
|
boolean |
getUseClientMode() |
void |
setUseClientMode(boolean mode) |
String |
toString() |
com.gigaspaces.lrmi.nio.filters.IOFilterResult |
unwrap(ByteBuffer src,
ByteBuffer dst)
Unwrap some bytes
|
com.gigaspaces.lrmi.nio.filters.IOFilterResult |
wrap(ByteBuffer src,
ByteBuffer dst)
Wrap some bytes
|
public IOSSLFilter(SSLContext sslContext, SocketAddress remoteAddress)
public void beginHandshake()
throws com.gigaspaces.lrmi.nio.filters.IOFilterException
IOBlockFilterbeginHandshake in interface IOBlockFilterIOFilterExceptionpublic int getApplicationBufferSize()
IOBlockFiltergetApplicationBufferSize in interface IOBlockFilterpublic Runnable getDelegatedTask()
IOBlockFiltergetDelegatedTask in interface IOBlockFilterpublic com.gigaspaces.lrmi.nio.filters.IOFilterResult.HandshakeStatus getHandshakeStatus()
IOBlockFiltergetHandshakeStatus in interface IOBlockFilterpublic int getPacketBufferSize()
IOBlockFiltergetPacketBufferSize in interface IOBlockFilterpublic boolean getUseClientMode()
public void setUseClientMode(boolean mode)
public com.gigaspaces.lrmi.nio.filters.IOFilterResult unwrap(ByteBuffer src, ByteBuffer dst) throws com.gigaspaces.lrmi.nio.filters.IOFilterException
IOBlockFilterunwrap in interface IOBlockFiltersrc - source bufferdst - target bufferIOFilterExceptionpublic com.gigaspaces.lrmi.nio.filters.IOFilterResult wrap(ByteBuffer src, ByteBuffer dst) throws com.gigaspaces.lrmi.nio.filters.IOFilterException
IOBlockFilterwrap in interface IOBlockFiltersrc - source bufferdst - target bufferIOFilterExceptionCopyright © GigaSpaces.