public interface VirtualNetworkPacketStore extends VirtualStore<PacketEvent,PacketStoreDelegate>
| Modifier and Type | Method and Description |
|---|---|
void |
cancelPackets(NetworkId networkId,
PacketRequest request)
Cancels intercept of packets that match the given selector.
|
void |
emit(NetworkId networkId,
OutboundPacket packet)
Decides which instance should emit the packet and forwards the packet to
that instance.
|
java.util.List<PacketRequest> |
existingRequests(NetworkId networkId)
Obtains all existing requests in the system.
|
void |
requestPackets(NetworkId networkId,
PacketRequest request)
Requests intercept of packets that match the given selector.
|
hasDelegate, setDelegate, unsetDelegatevoid emit(NetworkId networkId, OutboundPacket packet)
networkId - a virtual network identifierpacket - the packet to emitvoid requestPackets(NetworkId networkId, PacketRequest request)
networkId - a virtual network identifierrequest - a packet requestvoid cancelPackets(NetworkId networkId, PacketRequest request)
networkId - a virtual network identifierrequest - a packet requestjava.util.List<PacketRequest> existingRequests(NetworkId networkId)
networkId - a virtual network identifier