public class SslTransport.SSLChannel extends Object implements ScatteringByteChannel, GatheringByteChannel
| Constructor and Description |
|---|
SslTransport.SSLChannel() |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
boolean |
isOpen() |
int |
read(ByteBuffer plain) |
long |
read(ByteBuffer[] dsts) |
long |
read(ByteBuffer[] dsts,
int offset,
int length) |
Socket |
socket() |
int |
write(ByteBuffer plain) |
long |
write(ByteBuffer[] srcs) |
long |
write(ByteBuffer[] srcs,
int offset,
int length) |
public SslTransport.SSLChannel()
public int write(ByteBuffer plain) throws IOException
write in interface WritableByteChannelIOExceptionpublic int read(ByteBuffer plain) throws IOException
read in interface ReadableByteChannelIOExceptionpublic void close() throws IOException
close in interface Closeableclose in interface AutoCloseableclose in interface ChannelIOExceptionpublic long write(ByteBuffer[] srcs, int offset, int length) throws IOException
write in interface GatheringByteChannelIOExceptionpublic long write(ByteBuffer[] srcs) throws IOException
write in interface GatheringByteChannelIOExceptionpublic long read(ByteBuffer[] dsts, int offset, int length) throws IOException
read in interface ScatteringByteChannelIOExceptionpublic long read(ByteBuffer[] dsts) throws IOException
read in interface ScatteringByteChannelIOExceptionCopyright © 2010-2013 FuseSource, Corp.. All Rights Reserved.