public class PiPreReplica extends Object
Each replica is uniquely identified inside a given multicast group or clone session by the pair (egress port, instance ID).
| Constructor and Description |
|---|
PiPreReplica(PortNumber egressPort,
long instanceId)
Returns a new PRE packet replica for the given egress port and instance
ID.
|
| Modifier and Type | Method and Description |
|---|---|
PortNumber |
egressPort()
Returns the egress port of this replica.
|
boolean |
equals(Object obj) |
int |
hashCode() |
long |
instanceId()
Returns the instance ID of this replica.
|
String |
toString() |
public PiPreReplica(PortNumber egressPort, long instanceId)
egressPort - egress portinstanceId - instance IDpublic PortNumber egressPort()
public long instanceId()