org.neociclo.odetteftp.netty
Class OdetteFtpChannelHandler.ChannelCallbackHandler

java.lang.Object
  extended by org.neociclo.odetteftp.netty.OdetteFtpChannelHandler.ChannelCallbackHandler
All Implemented Interfaces:
ChannelCallback
Enclosing class:
OdetteFtpChannelHandler

public static class OdetteFtpChannelHandler.ChannelCallbackHandler
extends Object
implements ChannelCallback

Implement interface to provide in OdetteFtpSession to allow writing messages in the communication channel.


Constructor Summary
OdetteFtpChannelHandler.ChannelCallbackHandler(org.jboss.netty.channel.Channel channel)
           
 
Method Summary
 void close()
           
 void closeImmediately()
           
 void write(Object message, Runnable execOnComplete)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OdetteFtpChannelHandler.ChannelCallbackHandler

public OdetteFtpChannelHandler.ChannelCallbackHandler(org.jboss.netty.channel.Channel channel)
Method Detail

write

public void write(Object message,
                  Runnable execOnComplete)
Specified by:
write in interface ChannelCallback

close

public void close()
Specified by:
close in interface ChannelCallback

closeImmediately

public void closeImmediately()
Specified by:
closeImmediately in interface ChannelCallback


ACCORD