public class SslTransport.SSLChannel extends Object implements ScatteringByteChannel, GatheringByteChannel
Constructor and Description |
---|
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 SSLChannel()
public int write(ByteBuffer plain) throws IOException
write
in interface WritableByteChannel
IOException
public int read(ByteBuffer plain) throws IOException
read
in interface ReadableByteChannel
IOException
public void close() throws IOException
close
in interface Closeable
close
in interface AutoCloseable
close
in interface Channel
IOException
public long write(ByteBuffer[] srcs, int offset, int length) throws IOException
write
in interface GatheringByteChannel
IOException
public long write(ByteBuffer[] srcs) throws IOException
write
in interface GatheringByteChannel
IOException
public long read(ByteBuffer[] dsts, int offset, int length) throws IOException
read
in interface ScatteringByteChannel
IOException
public long read(ByteBuffer[] dsts) throws IOException
read
in interface ScatteringByteChannel
IOException
Copyright © 2010–2017 FuseSource, Corp.. All rights reserved.