org.fusesource.hawtdispatch.transport
Class SslTransport.SSLChannel
java.lang.Object
org.fusesource.hawtdispatch.transport.SslTransport.SSLChannel
- All Implemented Interfaces:
- Closeable, Channel, GatheringByteChannel, ReadableByteChannel, ScatteringByteChannel, WritableByteChannel
- Enclosing class:
- SslTransport
public class SslTransport.SSLChannel
- extends Object
- implements ScatteringByteChannel, GatheringByteChannel
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SslTransport.SSLChannel
public SslTransport.SSLChannel()
write
public int write(ByteBuffer plain)
throws IOException
- Specified by:
write
in interface WritableByteChannel
- Throws:
IOException
read
public int read(ByteBuffer plain)
throws IOException
- Specified by:
read
in interface ReadableByteChannel
- Throws:
IOException
isOpen
public boolean isOpen()
- Specified by:
isOpen
in interface Channel
close
public void close()
throws IOException
- Specified by:
close
in interface Closeable
- Specified by:
close
in interface Channel
- Throws:
IOException
write
public long write(ByteBuffer[] srcs,
int offset,
int length)
throws IOException
- Specified by:
write
in interface GatheringByteChannel
- Throws:
IOException
write
public long write(ByteBuffer[] srcs)
throws IOException
- Specified by:
write
in interface GatheringByteChannel
- Throws:
IOException
read
public long read(ByteBuffer[] dsts,
int offset,
int length)
throws IOException
- Specified by:
read
in interface ScatteringByteChannel
- Throws:
IOException
read
public long read(ByteBuffer[] dsts)
throws IOException
- Specified by:
read
in interface ScatteringByteChannel
- Throws:
IOException
socket
public Socket socket()
Copyright © 2010-2014 FuseSource, Corp.. All Rights Reserved.