nodenet
Interface NodeBehavior
public interface NodeBehavior
Describes a node's behavior in transmitting a packet from one of several
inputs to one of several outputs.
transmitPacket
void transmitPacket(InputChannelList inputs,
OutputChannelList outputs)
- Transmits at most a single packet from one of the inputs to
one of the outputs. May not actually transfer any packets if none
of the inputs or none of the outputs are able to provide or accept
a packet.
- Parameters:
inputs
- a List of InputChannels.outputs
- a List of OutputChannels.- See Also:
InputChannel
,
OutputChannel
,
List