Package org.robovm.apple.network
Class NWParameters
java.lang.Object
org.robovm.rt.bro.NativeObject
org.robovm.objc.ObjCObject
org.robovm.apple.foundation.NSObject
org.robovm.apple.network.NWObject
org.robovm.apple.network.NWParameters
- All Implemented Interfaces:
NSObjectProtocol,ObjCProtocol
public final class NWParameters extends NWObject implements NSObjectProtocol
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classNWParameters.NWParametersPtrNested classes/interfaces inherited from class org.robovm.apple.foundation.NSObject
NSObject.Handle, NSObject.Marshaler, NSObject.NoRetainMarshaler, NSObject.NSKeyValueObserver, NSObject.NSObjectPtr, NSObject.SkipInitNested classes/interfaces inherited from class org.robovm.objc.ObjCObject
ObjCObject.ObjCObjectPtr, ObjCObject.Super -
Field Summary
-
Constructor Summary
Constructors Constructor Description NWParameters() -
Method Summary
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, willChangeValuesMethods inherited from class org.robovm.objc.ObjCObject
addStrongRef, dispose, dispose, finalize, getAssociatedObject, getObjCClass, getPeerObject, getSuper, initObject, logRetainRelease, removeStrongRef, retainCustomObjectFromCb, setAssociatedObject, toObjCObject, toObjCObject, updateStrongRef
-
Constructor Details
-
NWParameters
public NWParameters()- Since:
- Available in iOS 12.0 and later.
-
-
Method Details
-
DEFAULT_CONFIGURATION
- Since:
- Available in iOS 12.0 and later.
-
DISABLE
- Since:
- Available in iOS 12.0 and later.
-
createSecureTcp
public static NWParameters createSecureTcp(VoidBlock1<NWProtocolOptions> configure_tls, VoidBlock1<NWProtocolOptions> configure_tcp)- Since:
- Available in iOS 12.0 and later.
-
createSecureUdp
public static NWParameters createSecureUdp(VoidBlock1<NWProtocolOptions> configure_dtls, VoidBlock1<NWProtocolOptions> configure_udp)- Since:
- Available in iOS 12.0 and later.
-
createQuic
- Since:
- Available in iOS 15.0 and later.
-
copyParameters
- Since:
- Available in iOS 12.0 and later.
-
setPrivacyContext
- Since:
- Available in iOS 14.0 and later.
-
setAttribution
- Since:
- Available in iOS 15.0 and later.
-
getAttribution
- Since:
- Available in iOS 15.0 and later.
-
requireInterface
- Since:
- Available in iOS 12.0 and later.
-
copyRequiredInterface
- Since:
- Available in iOS 12.0 and later.
-
prohibitInterface
- Since:
- Available in iOS 12.0 and later.
-
clearProhibitedInterfaces
public void clearProhibitedInterfaces()- Since:
- Available in iOS 12.0 and later.
-
iterateProhibitedInterfaces
- Since:
- Available in iOS 12.0 and later.
-
setRequiredInterfaceType
- Since:
- Available in iOS 12.0 and later.
-
getRequiredInterfaceType
- Since:
- Available in iOS 12.0 and later.
-
prohibitInterfaceType
- Since:
- Available in iOS 12.0 and later.
-
clearProhibitedInterfaceTypes
public void clearProhibitedInterfaceTypes()- Since:
- Available in iOS 12.0 and later.
-
iterateProhibitedInterfaceTypes
- Since:
- Available in iOS 12.0 and later.
-
setProhibitExpensive
public void setProhibitExpensive(boolean prohibit_expensive)- Since:
- Available in iOS 12.0 and later.
-
getProhibitExpensive
public boolean getProhibitExpensive()- Since:
- Available in iOS 12.0 and later.
-
setProhibitConstrained
public void setProhibitConstrained(boolean prohibit_constrained)- Since:
- Available in iOS 13.0 and later.
-
getProhibitConstrained
public boolean getProhibitConstrained()- Since:
- Available in iOS 13.0 and later.
-
setReuseLocalAddress
public void setReuseLocalAddress(boolean reuse_local_address)- Since:
- Available in iOS 12.0 and later.
-
getReuseLocalAddress
public boolean getReuseLocalAddress()- Since:
- Available in iOS 12.0 and later.
-
setLocalEndpoint
- Since:
- Available in iOS 12.0 and later.
-
copyLocalEndpoint
- Since:
- Available in iOS 12.0 and later.
-
setIncludePeerToPeer
public void setIncludePeerToPeer(boolean include_peer_to_peer)- Since:
- Available in iOS 12.0 and later.
-
getIncludePeerToPeer
public boolean getIncludePeerToPeer()- Since:
- Available in iOS 12.0 and later.
-
setFastOpenEnabled
public void setFastOpenEnabled(boolean fast_open_enabled)- Since:
- Available in iOS 12.0 and later.
-
getFastOpenEnabled
public boolean getFastOpenEnabled()- Since:
- Available in iOS 12.0 and later.
-
setServiceClass
- Since:
- Available in iOS 12.0 and later.
-
getServiceClass
- Since:
- Available in iOS 12.0 and later.
-
setMultipathService
- Since:
- Available in iOS 12.0 and later.
-
getMultipathService
- Since:
- Available in iOS 12.0 and later.
-
copyDefaultProtocolStack
- Since:
- Available in iOS 12.0 and later.
-
setLocalOnly
public void setLocalOnly(boolean local_only)- Since:
- Available in iOS 12.0 and later.
-
getLocalOnly
public boolean getLocalOnly()- Since:
- Available in iOS 12.0 and later.
-
setPreferNoProxy
public void setPreferNoProxy(boolean prefer_no_proxy)- Since:
- Available in iOS 12.0 and later.
-
getPreferNoProxy
public boolean getPreferNoProxy()- Since:
- Available in iOS 12.0 and later.
-
setExpiredDnsBehavior
- Since:
- Available in iOS 12.0 and later.
-
getExpiredDnsBehavior
- Since:
- Available in iOS 12.0 and later.
-