org.fusesource.hawtdispatch.transport
Class SslTransport.SSLChannel

java.lang.Object
  extended by 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


Constructor Summary
SslTransport.SSLChannel()
           
 
Method Summary
 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)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SslTransport.SSLChannel

public SslTransport.SSLChannel()
Method Detail

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.