public interface PacketStore extends Store<PacketEvent,PacketStoreDelegate>
| Modifier and Type | Method and Description |
|---|---|
void |
cancelPackets(PacketRequest request)
Cancels intercept of packets that match the given selector.
|
void |
emit(OutboundPacket packet)
Decides which instance should emit the packet and forwards the packet to
that instance.
|
List<PacketRequest> |
existingRequests()
Obtains all existing requests in the system.
|
void |
requestPackets(PacketRequest request)
Requests intercept of packets that match the given selector.
|
hasDelegate, setDelegate, unsetDelegatevoid emit(OutboundPacket packet)
packet - the packet to emitvoid requestPackets(PacketRequest request)
request - a packet requestvoid cancelPackets(PacketRequest request)
request - a packet requestList<PacketRequest> existingRequests()