org.activeio
Interface InputAsynchChannel

All Superinterfaces:
Channel, Disposable, Service
All Known Subinterfaces:
AsynchChannel
All Known Implementing Classes:
AIOAsynchChannel, FilterAsynchChannel, NIOAsynchChannel, SynchToAsynchChannelAdapter, VMPipeAsynchChannelFactory.ClassloaderAsynchChannelAdapter, VMPipeAsynchChannelPipe.PipeChannel

public interface InputAsynchChannel
extends Channel

InputAsynchChannel objets asynchronously push 'up' org.activeio.channel.Packet objects to a registered AsynchChannelListener.

Version:
$Revision$

Field Summary
 
Fields inherited from interface org.activeio.Service
NO_WAIT_TIMEOUT, WAIT_FOREVER_TIMEOUT
 
Method Summary
 AsynchChannelListener getAsynchChannelListener()
           
 void setAsynchChannelListener(AsynchChannelListener channelListener)
          Registers the ChannelConsumer that the protcol will use to deliver packets comming 'up' the channel.
 
Methods inherited from interface org.activeio.Channel
narrow
 
Methods inherited from interface org.activeio.Disposable
dispose
 
Methods inherited from interface org.activeio.Service
start, stop
 

Method Detail

setAsynchChannelListener

public void setAsynchChannelListener(AsynchChannelListener channelListener)
Registers the ChannelConsumer that the protcol will use to deliver packets comming 'up' the channel.

Throws:
java.io.IOException

getAsynchChannelListener

public AsynchChannelListener getAsynchChannelListener()
Returns:
the registered Packet consumer


Copyright © -2005 The ActiveIO Project. All Rights Reserved.