@Service public class SimpleVirtualPacketStore extends AbstractVirtualStore<org.onosproject.net.packet.PacketEvent,org.onosproject.net.packet.PacketStoreDelegate> implements VirtualNetworkPacketStore
delegateMap| Constructor and Description |
|---|
SimpleVirtualPacketStore() |
| Modifier and Type | Method and Description |
|---|---|
void |
activate() |
void |
cancelPackets(NetworkId networkId,
org.onosproject.net.packet.PacketRequest request)
Cancels intercept of packets that match the given selector.
|
void |
deactivate() |
void |
emit(NetworkId networkId,
org.onosproject.net.packet.OutboundPacket packet)
Decides which instance should emit the packet and forwards the packet to
that instance.
|
List<org.onosproject.net.packet.PacketRequest> |
existingRequests(NetworkId networkId)
Obtains all existing requests in the system.
|
void |
requestPackets(NetworkId networkId,
org.onosproject.net.packet.PacketRequest request)
Requests intercept of packets that match the given selector.
|
hasDelegate, notifyDelegate, notifyDelegate, setDelegate, unsetDelegateclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waithasDelegate, setDelegate, unsetDelegate@Activate public void activate()
@Deactivate public void deactivate()
public void emit(NetworkId networkId, org.onosproject.net.packet.OutboundPacket packet)
VirtualNetworkPacketStoreemit in interface VirtualNetworkPacketStorenetworkId - a virtual network identifierpacket - the packet to emitpublic void requestPackets(NetworkId networkId, org.onosproject.net.packet.PacketRequest request)
VirtualNetworkPacketStorerequestPackets in interface VirtualNetworkPacketStorenetworkId - a virtual network identifierrequest - a packet requestpublic void cancelPackets(NetworkId networkId, org.onosproject.net.packet.PacketRequest request)
VirtualNetworkPacketStorecancelPackets in interface VirtualNetworkPacketStorenetworkId - a virtual network identifierrequest - a packet requestpublic List<org.onosproject.net.packet.PacketRequest> existingRequests(NetworkId networkId)
VirtualNetworkPacketStoreexistingRequests in interface VirtualNetworkPacketStorenetworkId - a virtual network identifier