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.NWParameters
-
- All Implemented Interfaces:
NSObjectProtocol
,org.robovm.objc.ObjCProtocol
public final class NWParameters extends NSObject implements NSObjectProtocol
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
NWParameters.NWParametersPtr
-
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 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, willChangeValues
-
-
-
-
Method Detail
-
DEFAULT_CONFIGURATION
public static org.robovm.objc.block.VoidBlock1<NWProtocolOptions> DEFAULT_CONFIGURATION()
- Since:
- Available in iOS 12.0 and later.
-
DISABLE
public static org.robovm.objc.block.VoidBlock1<NWProtocolOptions> DISABLE()
- Since:
- Available in iOS 12.0 and later.
-
createSecureTcp
public static NWParameters createSecureTcp(org.robovm.objc.block.VoidBlock1<NWProtocolOptions> configure_tls, org.robovm.objc.block.VoidBlock1<NWProtocolOptions> configure_tcp)
- Since:
- Available in iOS 12.0 and later.
-
createSecureUdp
public static NWParameters createSecureUdp(org.robovm.objc.block.VoidBlock1<NWProtocolOptions> configure_dtls, org.robovm.objc.block.VoidBlock1<NWProtocolOptions> configure_udp)
- Since:
- Available in iOS 12.0 and later.
-
create
public static NWParameters create()
- Since:
- Available in iOS 12.0 and later.
-
copyParameters
public NWParameters copyParameters()
- Since:
- Available in iOS 12.0 and later.
-
requireInterface
public void requireInterface(NWInterface inf)
- Since:
- Available in iOS 12.0 and later.
-
copyRequiredInterface
public NWInterface copyRequiredInterface()
- Since:
- Available in iOS 12.0 and later.
-
prohibitInterface
public void prohibitInterface(NWInterface inf)
- Since:
- Available in iOS 12.0 and later.
-
clearProhibitedInterfaces
public void clearProhibitedInterfaces()
- Since:
- Available in iOS 12.0 and later.
-
iterateProhibitedInterfaces
public void iterateProhibitedInterfaces(org.robovm.objc.block.Block1<NWInterface,java.lang.Boolean> iterate_block)
- Since:
- Available in iOS 12.0 and later.
-
setRequiredInterfaceType
public void setRequiredInterfaceType(NWInterfaceType interface_type)
- Since:
- Available in iOS 12.0 and later.
-
getRequiredInterfaceType
public NWInterfaceType getRequiredInterfaceType()
- Since:
- Available in iOS 12.0 and later.
-
prohibitInterfaceType
public void prohibitInterfaceType(NWInterfaceType interface_type)
- Since:
- Available in iOS 12.0 and later.
-
clearProhibitedInterfaceTypes
public void clearProhibitedInterfaceTypes()
- Since:
- Available in iOS 12.0 and later.
-
iterateProhibitedInterfaceTypes
public void iterateProhibitedInterfaceTypes(org.robovm.objc.block.Block1<NWInterfaceType,java.lang.Boolean> iterate_block)
- 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.
-
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
public void setLocalEndpoint(NWEndpoint local_endpoint)
- Since:
- Available in iOS 12.0 and later.
-
copyLocalEndpoint
public NWEndpoint 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
public void setServiceClass(NWServiceClass service_class)
- Since:
- Available in iOS 12.0 and later.
-
getServiceClass
public NWServiceClass getServiceClass()
- Since:
- Available in iOS 12.0 and later.
-
setMultipathService
public void setMultipathService(NWMultipathService multipath_service)
- Since:
- Available in iOS 12.0 and later.
-
getMultipathService
public NWMultipathService getMultipathService()
- Since:
- Available in iOS 12.0 and later.
-
copyDefaultProtocolStack
public NWProtocolStack 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
public void setExpiredDnsBehavior(NWParametersExpiredDnsBehavior expired_dns_behavior)
- Since:
- Available in iOS 12.0 and later.
-
getExpiredDnsBehavior
public NWParametersExpiredDnsBehavior getExpiredDnsBehavior()
- Since:
- Available in iOS 12.0 and later.
-
nwArcRetain
public void nwArcRetain()
-
nwArcRelease
public void nwArcRelease()
-
-