@Beta public final 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,
            int 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()  | 
int | 
instanceId()
Returns the instance ID of this replica. 
 | 
String | 
toString()  | 
public PiPreReplica(PortNumber egressPort, int instanceId)
egressPort - egress portinstanceId - instance IDpublic PortNumber egressPort()
public int instanceId()