Partager via


NWConnection Classe

Définition

[ObjCRuntime.TV(12, 0)]
public class NWConnection : CoreFoundation.NativeObject
type NWConnection = class
    inherit NativeObject
Héritage
NWConnection
Attributs

Constructeurs

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

Propriétés

CurrentPath
Description
Endpoint
Handle (Hérité de NativeObject)
MaximumDatagramSize
Parameters

Méthodes

Batch(Action)
Cancel()
CancelCurrentEndpoint()
Dispose() (Hérité de NativeObject)
Dispose(Boolean) (Hérité de NativeObject)
ForceCancel()
GetProtocolMetadata(NWProtocolDefinition)
InitializeHandle(IntPtr) (Hérité de NativeObject)
Receive(UInt32, UInt32, NWConnectionReceiveCompletion)
ReceiveData(UInt32, UInt32, NWConnectionReceiveDispatchDataCompletion)
ReceiveMessage(NWConnectionReceiveCompletion)
ReceiveMessageData(NWConnectionReceiveDispatchDataCompletion)
Release() (Hérité de NativeObject)
Restart()
Retain() (Hérité de 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()

S’applique à