Package org.onosproject.net.neighbour
Interface NeighbourMessageActions
-
public interface NeighbourMessageActionsPerforms actions on a neighbour message contexts.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voiddrop(NeighbourMessageContext context)Drops the incoming message.voidflood(NeighbourMessageContext context)Floods the incoming message to all edge ports except the in port.voidforward(NeighbourMessageContext context, ConnectPoint outPort)Forwards the incoming message to the given connect point.voidforward(NeighbourMessageContext context, Interface outIntf)Forwards the incoming message to a given interface.voidreply(NeighbourMessageContext context, MacAddress targetMac)Replies to an incoming request with the given MAC address.
-
-
-
Method Detail
-
reply
void reply(NeighbourMessageContext context, MacAddress targetMac)
Replies to an incoming request with the given MAC address.- Parameters:
context- incoming message contexttargetMac- target MAC address.
-
forward
void forward(NeighbourMessageContext context, ConnectPoint outPort)
Forwards the incoming message to the given connect point.- Parameters:
context- incoming message contextoutPort- port to send the message out
-
forward
void forward(NeighbourMessageContext context, Interface outIntf)
Forwards the incoming message to a given interface. The message will be modified to fit the parameters of the outgoing interface.- Parameters:
context- incoming message contextoutIntf- interface to send the message out
-
flood
void flood(NeighbourMessageContext context)
Floods the incoming message to all edge ports except the in port.- Parameters:
context- incoming message context
-
drop
void drop(NeighbourMessageContext context)
Drops the incoming message.- Parameters:
context- incoming message context
-
-