org.fusesource.hawtdispatch.transport
Class SslProtocolCodec.SSLWriteChannel

java.lang.Object
  extended by org.fusesource.hawtdispatch.transport.SslProtocolCodec.SSLWriteChannel
All Implemented Interfaces:
Closeable, Channel, GatheringByteChannel, WritableByteChannel
Enclosing class:
SslProtocolCodec

public class SslProtocolCodec.SSLWriteChannel
extends Object
implements GatheringByteChannel


Constructor Summary
SslProtocolCodec.SSLWriteChannel()
           
 
Method Summary
 void close()
           
 boolean isOpen()
           
 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

SslProtocolCodec.SSLWriteChannel

public SslProtocolCodec.SSLWriteChannel()
Method Detail

write

public int write(ByteBuffer plain)
          throws IOException
Specified by:
write in interface WritableByteChannel
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


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