Edit

Share via


NWConnection Class

Definition

[ObjCRuntime.TV(12, 0)]
public class NWConnection : CoreFoundation.NativeObject
type NWConnection = class
    inherit NativeObject
Inheritance
NWConnection
Attributes

Constructors

NWConnection(IntPtr, Boolean)
NWConnection(NWEndpoint, NWParameters)

Properties

CurrentPath
Description
Endpoint
Handle (Inherited from NativeObject)
MaximumDatagramSize
Parameters

Methods

Batch(Action)
Cancel()
CancelCurrentEndpoint()
Dispose() (Inherited from NativeObject)
Dispose(Boolean) (Inherited from NativeObject)
ForceCancel()
GetProtocolMetadata(NWProtocolDefinition)
InitializeHandle(IntPtr) (Inherited from NativeObject)
Receive(UInt32, UInt32, NWConnectionReceiveCompletion)
ReceiveData(UInt32, UInt32, NWConnectionReceiveDispatchDataCompletion)
ReceiveMessage(NWConnectionReceiveCompletion)
ReceiveMessageData(NWConnectionReceiveDispatchDataCompletion)
Release() (Inherited from NativeObject)
Restart()
Retain() (Inherited from NativeObject)
Send(Byte[], Int32, Int32, NWContentContext, Boolean, Action<NWError>)
Send(Byte[], NWContentContext, Boolean, Action<NWError>)
Send(DispatchData, NWContentContext, Boolean, Action<NWError>)
SendIdempotent(Byte[], NWContentContext, Boolean)
SendIdempotent(DispatchData, NWContentContext, Boolean)
SetBetterPathAvailableHandler(Action<Boolean>)
SetBooleanChangeHandler(Action<Boolean>)
SetPathChangedHandler(Action<NWPath>)
SetQueue(DispatchQueue)
SetStateChangeHandler(Action<NWConnectionState,NWError>)
Start()

Applies to