org.fusesource.hawtdispatch.transport
Class SslProtocolCodec.SSLReadChannel

java.lang.Object
  extended by org.fusesource.hawtdispatch.transport.SslProtocolCodec.SSLReadChannel
All Implemented Interfaces:
Closeable, Channel, ReadableByteChannel, ScatteringByteChannel
Enclosing class:
SslProtocolCodec

public class SslProtocolCodec.SSLReadChannel
extends Object
implements ScatteringByteChannel


Constructor Summary
SslProtocolCodec.SSLReadChannel()
           
 
Method Summary
 void close()
           
 boolean isOpen()
           
 int read(ByteBuffer plain)
           
 long read(ByteBuffer[] dsts)
           
 long read(ByteBuffer[] dsts, int offset, int length)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SslProtocolCodec.SSLReadChannel

public SslProtocolCodec.SSLReadChannel()
Method Detail

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

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


Copyright © 2010-2014 FuseSource, Corp.. All Rights Reserved.