nodenet
Interface InputChannel


public interface InputChannel

The portion of a channel that enters a Node. Provides packets.


Method Summary
 java.lang.Object readPacket()
          Gets a single packet from a channel.
 

Method Detail

readPacket

java.lang.Object readPacket()
                            throws ChannelEmptyException,
                                   ChannelDisabledException
Gets a single packet from a channel. Don't drop the packet.

Returns:
the next packet from the channel
Throws:
ChannelEmptyException - if no packet was available
ChannelDisabledException - if the channel was disabled.