public class RoutingDecision extends java.lang.Object implements IRoutingDecision
IRoutingDecision.RoutingAction
Modifier and Type | Field and Description |
---|---|
protected IRoutingDecision.RoutingAction |
action |
protected java.util.List<SwitchPort> |
broadcastIntertfaces |
protected java.util.List<IDevice> |
destDevices |
protected IDevice |
srcDevice |
protected SwitchPort |
srcPort |
protected java.lang.Integer |
wildcards |
Constructor and Description |
---|
RoutingDecision(long swDipd,
short inPort,
IDevice srcDevice,
IRoutingDecision.RoutingAction action) |
Modifier and Type | Method and Description |
---|---|
void |
addDestinationDevice(IDevice d) |
void |
addToContext(MessageContext cntx) |
java.util.List<IDevice> |
getDestinationDevices() |
java.util.List<SwitchPort> |
getMulticastInterfaces() |
IRoutingDecision.RoutingAction |
getRoutingAction() |
IDevice |
getSourceDevice() |
SwitchPort |
getSourcePort() |
java.lang.Integer |
getWildcards() |
void |
setMulticastInterfaces(java.util.List<SwitchPort> lspt) |
void |
setRoutingAction(IRoutingDecision.RoutingAction action) |
void |
setWildcards(java.lang.Integer wildcards) |
java.lang.String |
toString() |
protected IRoutingDecision.RoutingAction action
protected java.lang.Integer wildcards
protected SwitchPort srcPort
protected IDevice srcDevice
protected java.util.List<IDevice> destDevices
protected java.util.List<SwitchPort> broadcastIntertfaces
public RoutingDecision(long swDipd, short inPort, IDevice srcDevice, IRoutingDecision.RoutingAction action)
public IRoutingDecision.RoutingAction getRoutingAction()
getRoutingAction
in interface IRoutingDecision
public void setRoutingAction(IRoutingDecision.RoutingAction action)
setRoutingAction
in interface IRoutingDecision
public SwitchPort getSourcePort()
getSourcePort
in interface IRoutingDecision
public IDevice getSourceDevice()
getSourceDevice
in interface IRoutingDecision
public java.util.List<IDevice> getDestinationDevices()
getDestinationDevices
in interface IRoutingDecision
public void addDestinationDevice(IDevice d)
addDestinationDevice
in interface IRoutingDecision
public void setMulticastInterfaces(java.util.List<SwitchPort> lspt)
setMulticastInterfaces
in interface IRoutingDecision
public java.util.List<SwitchPort> getMulticastInterfaces()
getMulticastInterfaces
in interface IRoutingDecision
public java.lang.Integer getWildcards()
getWildcards
in interface IRoutingDecision
public void setWildcards(java.lang.Integer wildcards)
setWildcards
in interface IRoutingDecision
public void addToContext(MessageContext cntx)
addToContext
in interface IRoutingDecision
public java.lang.String toString()
toString
in class java.lang.Object