public interface RackBusConnectable extends Environment
RackMountable.getConnectableAt(int)
method. This in turn will allow them
to be 'connected' to the buses, so that they can receive network messages
arriving on the respective side of the rack.Modifier and Type | Method and Description |
---|---|
void |
receivePacket(Packet packet)
Called to inject a network packet that arrived on the bus this
environment is connected to in the hosting rack.
|
node, onConnect, onDisconnect, onMessage
void receivePacket(Packet packet)
packet
- the packet to handle.