public class PacketInEvent extends Event
Modifier and Type | Field and Description |
---|---|
protected PacketEventType |
packetEventType |
Constructor and Description |
---|
PacketInEvent(PacketEventType packetEventType,
org.projectfloodlight.openflow.protocol.OFPacketIn ofPacketIn,
byte[] dpid,
byte[] inPort) |
Modifier and Type | Method and Description |
---|---|
long |
getDpidNum() |
int |
getInPortNum() |
org.projectfloodlight.openflow.protocol.OFPacketIn |
getOfPacketIn() |
PacketEventType |
getPacketEventType() |
org.onlab.packet.Ethernet |
parsed() |
TopoSwitch |
receivedFrom() |
protected PacketEventType packetEventType
public PacketInEvent(PacketEventType packetEventType, org.projectfloodlight.openflow.protocol.OFPacketIn ofPacketIn, byte[] dpid, byte[] inPort)
public int getInPortNum()
public long getDpidNum()
public PacketEventType getPacketEventType()
public org.projectfloodlight.openflow.protocol.OFPacketIn getOfPacketIn()
public org.onlab.packet.Ethernet parsed()
public TopoSwitch receivedFrom()