Interface InboundPacket

  • All Known Implementing Classes:
    DefaultInboundPacket

    public interface InboundPacket
    Represents a data packet intercepted from an infrastructure device.
    • Method Detail

      • receivedFrom

        ConnectPoint receivedFrom()
        Returns the device and port from where the packet was received.
        Returns:
        connection point where received
      • parsed

        Ethernet parsed()
        Returns the parsed form of the packet.
        Returns:
        parsed Ethernet frame; null if the packet is not an Ethernet frame or one for which there is no parser
      • unparsed

        ByteBuffer unparsed()
        Unparsed packet data.
        Returns:
        raw packet bytes
      • cookie

        Optional<Long> cookie()
        Returns the cookie in the packet in message.
        Returns:
        optional flow cookie