Class NWHostEndpoint

All Implemented Interfaces:
NSCoding, NSObjectProtocol, NSSecureCoding, ObjCProtocol

public class NWHostEndpoint
extends NWEndpoint
Since:
Available in iOS 9.0 and later.
  • Constructor Details

    • NWHostEndpoint

      public NWHostEndpoint()
    • NWHostEndpoint

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

      protected NWHostEndpoint​(NSObject.SkipInit skipInit)
  • Method Details

    • getHostname

      public String getHostname()
      Since:
      Available in iOS 9.0 and later.
    • getPort

      public String getPort()
      Since:
      Available in iOS 9.0 and later.
    • supportsSecureCoding

      public static boolean supportsSecureCoding()
    • create

      public static NWHostEndpoint create​(String hostname, String port)
      Since:
      Available in iOS 9.0 and later.