nodenet
Interface OutputChannel


public interface OutputChannel

The portion of a channel that exits a node. Accepts packets.


Method Summary
 void writePacket(java.lang.Object packet)
          Places a single packet on a channel.
 

Method Detail

writePacket

void writePacket(java.lang.Object packet)
                 throws ChannelFullException,
                        ChannelDisabledException
Places a single packet on a channel.

Parameters:
packet - the packet to place on the channel.
Throws:
ChannelFullException - if there is no room on the channel for the packet.
ChannelDisabledException - if the channel was disabled.