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.
|
IOFilterResult.HandshakeStatus |
getHandshakeStatus()
Report the Hanshake status.
|
int |
getPacketBufferSize()
Return the network max block size
|
boolean |
getUseClientMode() |
void |
setUseClientMode(boolean mode) |
String |
toString() |
IOFilterResult |
unwrap(ByteBuffer src,
ByteBuffer dst)
Unwrap some bytes
|
IOFilterResult |
wrap(ByteBuffer src,
ByteBuffer dst)
Wrap some bytes
|
public IOSSLFilter(SSLContext sslContext, SocketAddress remoteAddress)
public void beginHandshake() throws IOFilterException
IOBlockFilter
beginHandshake
in interface IOBlockFilter
IOFilterException
public int getApplicationBufferSize()
IOBlockFilter
getApplicationBufferSize
in interface IOBlockFilter
public Runnable getDelegatedTask()
IOBlockFilter
getDelegatedTask
in interface IOBlockFilter
public 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 IOFilterResult unwrap(ByteBuffer src, ByteBuffer dst) throws IOFilterException
IOBlockFilter
unwrap
in interface IOBlockFilter
src
- source bufferdst
- target bufferIOFilterException
public IOFilterResult wrap(ByteBuffer src, ByteBuffer dst) throws IOFilterException
IOBlockFilter
wrap
in interface IOBlockFilter
src
- source bufferdst
- target bufferIOFilterException
Copyright © GigaSpaces.