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
IOBlockFilter
beginHandshake
in interface IOBlockFilter
IOFilterException
public int getApplicationBufferSize()
IOBlockFilter
getApplicationBufferSize
in interface IOBlockFilter
public Runnable getDelegatedTask()
IOBlockFilter
getDelegatedTask
in interface IOBlockFilter
public com.gigaspaces.lrmi.nio.filters.IOFilterResult.HandshakeStatus getHandshakeStatus()
IOBlockFilter
getHandshakeStatus
in interface IOBlockFilter
public int getPacketBufferSize()
IOBlockFilter
getPacketBufferSize
in interface IOBlockFilter
public 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
IOBlockFilter
unwrap
in interface IOBlockFilter
src
- source bufferdst
- target bufferIOFilterException
public com.gigaspaces.lrmi.nio.filters.IOFilterResult wrap(ByteBuffer src, ByteBuffer dst) throws com.gigaspaces.lrmi.nio.filters.IOFilterException
IOBlockFilter
wrap
in interface IOBlockFilter
src
- source bufferdst
- target bufferIOFilterException
Copyright © GigaSpaces.