Package org.onosproject.net.packet
Interface PacketRequest
-
- All Known Implementing Classes:
DefaultPacketRequest
public interface PacketRequest
Represents a packet request made to devices.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ApplicationId
appId()
Obtains the application id.Optional<DeviceId>
deviceId()
Obtains the optional device id.NodeId
nodeId()
Obtains the node id.PacketPriority
priority()
Obtains the priority.TrafficSelector
selector()
Obtains the traffic selector.
-
-
-
Method Detail
-
selector
TrafficSelector selector()
Obtains the traffic selector.- Returns:
- a traffic selector
-
priority
PacketPriority priority()
Obtains the priority.- Returns:
- a PacketPriority
-
appId
ApplicationId appId()
Obtains the application id.- Returns:
- an application id
-
nodeId
NodeId nodeId()
Obtains the node id.- Returns:
- an node id
-
-