public interface PacketStore extends Store<PacketEvent,PacketStoreDelegate>
| Modifier and Type | Method and Description |
|---|---|
void |
emit(OutboundPacket packet)
Decides which instance should emit the packet and forwards the packet to
that instance.
|
Set<PacketRequest> |
existingRequests()
Obtains all existing requests in the system.
|
boolean |
requestPackets(PacketRequest request)
Register a request for packets.
|
hasDelegate, setDelegate, unsetDelegatevoid emit(OutboundPacket packet)
packet - the packet to emitboolean requestPackets(PacketRequest request)
request - a packet requestSet<PacketRequest> existingRequests()
Copyright © 2015. All rights reserved.