| |
|
| java.lang.Object org.xsocket.connection.spi.ChainableIoHandler org.xsocket.connection.spi.IoActivateableSSLHandler
IoActivateableSSLHandler | IoActivateableSSLHandler(ChainableIoHandler successor, SSLContext sslContext, boolean isClientMode, IMemoryManager memoryManager) throws IOException(Code) | | constructor
Parameters: successor - the successor Parameters: sslContext - the ssl context to use Parameters: isClientMode - true, if is in client mode Parameters: memoryManager - the memory manager to use throws: IOException - If some other I/O error occurs |
getPendingWriteDataSize | public int getPendingWriteDataSize()(Code) | | |
hasDataToSend | public boolean hasDataToSend()(Code) | | |
isSSLActivated | public boolean isSSLActivated()(Code) | | |
onDataDecrypted | public void onDataDecrypted(ByteBuffer[] decryptedBufferList)(Code) | | |
onDataEncrypted | public void onDataEncrypted(ByteBuffer plainData, ByteBuffer encryptedData) throws IOException(Code) | | |
preStartSecuredMode | public boolean preStartSecuredMode()(Code) | | set mode to plain write and encrypted read
true, if mode has been set |
reset | public boolean reset()(Code) | | |
startSecuredMode | public void startSecuredMode(ByteBuffer[] data) throws IOException(Code) | | Return already received data to ssl handler (this data
will be interpreted as encrypted data).
Parameters: readQueue - the queue with already received data throws: IOException - if an io exception occurs |
write | final public void write(ByteBuffer[] buffers) throws ClosedChannelException, IOException(Code) | | |
|
|
|