public interface NeighbourMessageActions
| Modifier and Type | Method and Description |
|---|---|
void |
drop(NeighbourMessageContext context)
Drops the incoming message.
|
void |
flood(NeighbourMessageContext context)
Floods the incoming message to all edge ports except the in port.
|
void |
forward(NeighbourMessageContext context,
ConnectPoint outPort)
Forwards the incoming message to the given connect point.
|
void |
forward(NeighbourMessageContext context,
Interface outIntf)
Forwards the incoming message to a given interface.
|
void |
reply(NeighbourMessageContext context,
MacAddress targetMac)
Replies to an incoming request with the given MAC address.
|
void reply(NeighbourMessageContext context, MacAddress targetMac)
context - incoming message contexttargetMac - target MAC address.void forward(NeighbourMessageContext context, ConnectPoint outPort)
context - incoming message contextoutPort - port to send the message outvoid forward(NeighbourMessageContext context, Interface outIntf)
context - incoming message contextoutIntf - interface to send the message outvoid flood(NeighbourMessageContext context)
context - incoming message contextvoid drop(NeighbourMessageContext context)
context - incoming message context