com.streamhub.nio
Class SSLChannel
java.lang.Object
com.streamhub.nio.SSLChannel
public final class SSLChannel
- extends Object
SSLChannel
public SSLChannel(com.streamhub.nio.SelectorThread st,
SocketChannel sc,
com.streamhub.nio.ChannelListener listener,
SSLEngine engine)
throws Exception
- Throws:
Exception
read
public int read(ByteBuffer dst)
throws IOException
- Throws:
IOException
write
public int write(ByteBuffer src)
throws IOException
- Throws:
IOException
registerForRead
public void registerForRead()
throws IOException
- Throws:
IOException
unregisterForRead
public void unregisterForRead()
throws IOException
- Throws:
IOException
registerForWrite
public void registerForWrite()
throws IOException
- Throws:
IOException
unregisterForWrite
public void unregisterForWrite()
throws IOException
- Throws:
IOException
close
public void close()
throws IOException
- Throws:
IOException
handleRead
public void handleRead()
handleWrite
public void handleWrite()
getSocketChannel
public SocketChannel getSocketChannel()
Copyright © 2009 StreamHub. Tutorials, news and guides can be found on the StreamHub Comet Blog.