Condividi tramite


NWConnection Classe

Definizione

[ObjCRuntime.TV(12, 0)]
public class NWConnection : CoreFoundation.NativeObject
type NWConnection = class
    inherit NativeObject
Ereditarietà
NWConnection
Attributi

Costruttori

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

Proprietà

CurrentPath
Description
Endpoint
Handle (Ereditato da NativeObject)
MaximumDatagramSize
Parameters

Metodi

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

Si applica a