Class NEPacket

All Implemented Interfaces:
NSCoding, NSObjectProtocol, NSSecureCoding, ObjCProtocol

public class NEPacket
extends NSObject
implements NSSecureCoding
Since:
Available in iOS 10.0 and later.
  • Constructor Details

    • NEPacket

      public NEPacket()
    • NEPacket

      protected NEPacket​(NSObject.Handle h, long handle)
    • NEPacket

      protected NEPacket​(NSObject.SkipInit skipInit)
    • NEPacket

      public NEPacket​(NSData data, byte protocolFamily)
      Since:
      Available in iOS 10.0 and later.
    • NEPacket

      public NEPacket​(NSCoder coder)
  • Method Details

    • getData

      public NSData getData()
      Since:
      Available in iOS 10.0 and later.
    • getProtocolFamily

      public byte getProtocolFamily()
      Since:
      Available in iOS 10.0 and later.
    • getMetadata

      public NEFlowMetaData getMetadata()
      Since:
      Available in iOS 10.0 and later.
    • supportsSecureCoding

      public static boolean supportsSecureCoding()
    • init

      protected long init​(NSData data, byte protocolFamily)
      Since:
      Available in iOS 10.0 and later.
    • encode

      public void encode​(NSCoder coder)
      Specified by:
      encode in interface NSCoding
    • init

      protected long init​(NSCoder coder)