|
GigaSpaces XAP 7.0 API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.gigaspaces.lrmi.nio.filters.IOSSLFilter
public class IOSSLFilter
Implementation of SSLFilter that use underline SUN SSLEngine.
Constructor Summary | |
---|---|
IOSSLFilter(SSLContext sslContext)
|
Method Summary | |
---|---|
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 |
setRemoteAddress(SocketAddress remoteAddress)
|
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 |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public IOSSLFilter(SSLContext sslContext)
Method Detail |
---|
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 buffer
IOFilterException
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 buffer
IOFilterException
public void setRemoteAddress(SocketAddress remoteAddress)
setRemoteAddress
in interface IOFilter
public String toString()
toString
in class Object
|
GigaSpaces XAP 7.0 API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |