Class MulticastRoutingEntry
java.lang.Object
uk.ac.manchester.spinnaker.machine.RoutingEntry
uk.ac.manchester.spinnaker.machine.MulticastRoutingEntry
A multicast packet routing table entry.
-
Constructor Summary
ConstructorsConstructorDescriptionMulticastRoutingEntry(int key, int mask, int route, boolean defaultable) Create a multicast routing table entry.MulticastRoutingEntry(int key, int mask, Iterable<Integer> processorIDs, Iterable<Direction> linkIDs, boolean defaultable) Create a multicast routing table entry. -
Method Summary
Methods inherited from class uk.ac.manchester.spinnaker.machine.RoutingEntry
encode, getLinkIDs, getProcessorIDs
-
Constructor Details
-
MulticastRoutingEntry
public MulticastRoutingEntry(int key, int mask, int route, boolean defaultable) Create a multicast routing table entry.- Parameters:
key- The key of the entry.mask- The mask of the entry.route- The route descriptor.defaultable- Whether this entry is default routable.
-
MulticastRoutingEntry
public MulticastRoutingEntry(int key, int mask, Iterable<Integer> processorIDs, Iterable<Direction> linkIDs, boolean defaultable) Create a multicast routing table entry.- Parameters:
key- The key of the entry.mask- The mask of the entry.processorIDs- The IDs of the processors that this entry routes to. The Duplicate IDs are ignored.linkIDs- The IDs of the links that this entry routes to. The duplicate IDs are ignored.defaultable- Whether this entry is default routable.
-
-
Method Details
-
getKey
public int getKey()- Returns:
- the key of this entry
-
getMask
public int getMask()- Returns:
- the mask of this entry
-
isDefaultable
public boolean isDefaultable()- Returns:
- whether this entry is default routable
-