Class NWHostEndpoint
- java.lang.Object
-
- org.robovm.rt.bro.NativeObject
-
- org.robovm.objc.ObjCObject
-
- org.robovm.apple.foundation.NSObject
-
- org.robovm.apple.networkextension.NWEndpoint
-
- org.robovm.apple.networkextension.NWHostEndpoint
-
- All Implemented Interfaces:
NSCoding
,NSObjectProtocol
,NSSecureCoding
,org.robovm.objc.ObjCProtocol
public class NWHostEndpoint extends NWEndpoint
- Since:
- Available in iOS 9.0 and later.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
NWHostEndpoint.NWHostEndpointPtr
-
Nested classes/interfaces inherited from class org.robovm.apple.networkextension.NWEndpoint
NWEndpoint.NWEndpointPtr
-
Nested classes/interfaces inherited from class org.robovm.apple.foundation.NSObject
NSObject.Handle, NSObject.Marshaler, NSObject.NoRetainMarshaler, NSObject.NSKeyValueObserver, NSObject.NSObjectPtr, NSObject.SkipInit
-
-
Field Summary
-
Fields inherited from class org.robovm.apple.foundation.NSObject
FLAG_NO_RETAIN
-
-
Constructor Summary
Constructors Modifier Constructor Description NWHostEndpoint()
protected
NWHostEndpoint(NSObject.Handle h, long handle)
protected
NWHostEndpoint(NSObject.SkipInit skipInit)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static NWHostEndpoint
create(java.lang.String hostname, java.lang.String port)
java.lang.String
getHostname()
java.lang.String
getPort()
-
Methods inherited from class org.robovm.apple.networkextension.NWEndpoint
encode, init, supportsSecureCoding
-
Methods inherited from class org.robovm.apple.foundation.NSObject
addKeyValueObserver, addKeyValueObserver, afterMarshaled, alloc, autorelease, autorelease, awakeFromNib, conformsToProtocol, copy, description, didChangeValue, didChangeValue, didChangeValues, doDispose, equals, forceSkipInit, getAutoContentAccessingProxy, getClassForCoder, getClassForKeyedArchiver, getKeyValueCoder, getObservationInfo, hash, hashCode, init, isEqual, isKindOfClass, isMemberOfClass, mutableCopy, performSelector, performSelector, performSelector, performSelector, performSelector, performSelector, performSelector, performSelectorInBackground, performSelectorOnMainThread, performSelectorOnMainThread, performSelectorV, performSelectorV, performSelectorV, release, release, removeKeyValueObserver, removeKeyValueObservers, respondsToSelector, retain, retain, retainCount, setObservationInfo, toString, willChangeValue, willChangeValue, willChangeValues
-
-
-
-
Constructor Detail
-
NWHostEndpoint
public NWHostEndpoint()
-
NWHostEndpoint
protected NWHostEndpoint(NSObject.Handle h, long handle)
-
NWHostEndpoint
protected NWHostEndpoint(NSObject.SkipInit skipInit)
-
-
Method Detail
-
getHostname
public java.lang.String getHostname()
- Since:
- Available in iOS 9.0 and later.
-
getPort
public java.lang.String getPort()
- Since:
- Available in iOS 9.0 and later.
-
create
public static NWHostEndpoint create(java.lang.String hostname, java.lang.String port)
- Since:
- Available in iOS 9.0 and later.
-
-