Class CFHost

  • All Implemented Interfaces:
    java.lang.AutoCloseable

    public class CFHost
    extends CFType
    • Constructor Detail

      • CFHost

        protected CFHost()
    • Method Detail

      • create

        public static CFHost create​(java.lang.String hostname)
        Since:
        Available in iOS 2.0 and later.
      • create

        public static CFHost create​(NSData addr)
        Since:
        Available in iOS 2.0 and later.
      • createCopy

        public static CFHost createCopy​(CFHost host)
        Since:
        Available in iOS 2.0 and later.
      • getAddressing

        public NSArray<NSData> getAddressing()
        Since:
        Available in iOS 2.0 and later.
      • getNames

        public java.util.List<java.lang.String> getNames()
        Since:
        Available in iOS 2.0 and later.
      • getReachability

        public NSData getReachability()
        Since:
        Available in iOS 2.0 and later.
      • setCallback

        public void setCallback​(CFHost.ClientCallback callback)
        Since:
        Available in iOS 2.0 and later.
      • createSocketReadStream

        public NSInputStream createSocketReadStream​(int port)
        Since:
        Available in iOS 2.0 and later.
      • createSocketWriteStream

        public NSOutputStream createSocketWriteStream​(int port)
        Since:
        Available in iOS 2.0 and later.
      • getClassTypeID

        public static long getClassTypeID()
        Since:
        Available in iOS 2.0 and later.
      • create

        protected static CFHost create​(CFAllocator allocator,
                                       java.lang.String hostname)
        Since:
        Available in iOS 2.0 and later.
      • create

        protected static CFHost create​(CFAllocator allocator,
                                       NSData addr)
        Since:
        Available in iOS 2.0 and later.
      • createCopy

        protected static CFHost createCopy​(CFAllocator alloc,
                                           CFHost host)
        Since:
        Available in iOS 2.0 and later.
      • getAddressing

        public NSArray<NSData> getAddressing​(org.robovm.rt.bro.ptr.BooleanPtr hasBeenResolved)
        Since:
        Available in iOS 2.0 and later.
      • getNames

        public java.util.List<java.lang.String> getNames​(org.robovm.rt.bro.ptr.BooleanPtr hasBeenResolved)
        Since:
        Available in iOS 2.0 and later.
      • getReachability

        public NSData getReachability​(org.robovm.rt.bro.ptr.BooleanPtr hasBeenResolved)
        Since:
        Available in iOS 2.0 and later.
      • cancelInfoResolution

        public void cancelInfoResolution​(CFHostInfoType info)
        Since:
        Available in iOS 2.0 and later.
      • scheduleInRunLoop

        public void scheduleInRunLoop​(CFRunLoop runLoop,
                                      java.lang.String runLoopMode)
        Since:
        Available in iOS 2.0 and later.
      • unscheduleFromRunLoop

        public void unscheduleFromRunLoop​(CFRunLoop runLoop,
                                          java.lang.String runLoopMode)
        Since:
        Available in iOS 2.0 and later.