Interface PacketStore

    • Method Detail

      • emit

        void emit​(OutboundPacket packet)
        Decides which instance should emit the packet and forwards the packet to that instance. The relevant PacketManager is notified via the PacketStoreDelegate that it should emit the packet.
        Parameters:
        packet - the packet to emit
      • requestPackets

        void requestPackets​(PacketRequest request)
        Requests intercept of packets that match the given selector.
        Parameters:
        request - a packet request
      • cancelPackets

        void cancelPackets​(PacketRequest request)
        Cancels intercept of packets that match the given selector.
        Parameters:
        request - a packet request
      • existingRequests

        java.util.List<PacketRequest> existingRequests()
        Obtains all existing requests in the system.
        Returns:
        list of packet requests in order of priority