org.activeio
Interface InputAsyncChannel

All Superinterfaces:
Channel, Disposable, Service
All Known Subinterfaces:
AsyncChannel, AsynchChannel
All Known Implementing Classes:
AsyncChannelToConcurrentRequestChannel, AsyncWriteAsyncChannel, CounterAsyncChannel, FilterAsyncChannel, NIOAsyncChannel, PacketAggregatingAsyncChannel, SynchornizedAsyncChannel, SynchToAsynchChannelAdapter, SyncToAsyncChannel, VMPipeAsyncChannelFactory.ClassloaderAsyncChannelAdapter, VMPipeAsyncChannelPipe.PipeChannel, WriteBufferedAsyncChannel

public interface InputAsyncChannel
extends Channel

InputAsyncChannel objects asynchronously push 'up' Packet objects to a registered AsyncChannelListener.

Version:
$Revision$

Field Summary
 
Fields inherited from interface org.activeio.Service
NO_WAIT_TIMEOUT, WAIT_FOREVER_TIMEOUT
 
Method Summary
 AsyncChannelListener getAsyncChannelListener()
           
 void setAsyncChannelListener(AsyncChannelListener channelListener)
          Registers the ChannelConsumer that the protcol will use to deliver packets coming '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

setAsyncChannelListener

void setAsyncChannelListener(AsyncChannelListener channelListener)
Registers the ChannelConsumer that the protcol will use to deliver packets coming 'up' the channel.

Parameters:
packetListener -

getAsyncChannelListener

AsyncChannelListener getAsyncChannelListener()
Returns:
the registered Packet consumer


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