Поделиться через


NWConnection Класс

Определение

[ObjCRuntime.TV(12, 0)]
public class NWConnection : CoreFoundation.NativeObject
type NWConnection = class
    inherit NativeObject
Наследование
NWConnection
Атрибуты

Конструкторы

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

Свойства

CurrentPath
Description
Endpoint
Handle (Унаследовано от NativeObject)
MaximumDatagramSize
Parameters

Методы

Batch(Action)
Cancel()
CancelCurrentEndpoint()
Dispose() (Унаследовано от NativeObject)
Dispose(Boolean) (Унаследовано от NativeObject)
ForceCancel()
GetProtocolMetadata(NWProtocolDefinition)
InitializeHandle(IntPtr) (Унаследовано от NativeObject)
Receive(UInt32, UInt32, NWConnectionReceiveCompletion)
ReceiveData(UInt32, UInt32, NWConnectionReceiveDispatchDataCompletion)
ReceiveMessage(NWConnectionReceiveCompletion)
ReceiveMessageData(NWConnectionReceiveDispatchDataCompletion)
Release() (Унаследовано от NativeObject)
Restart()
Retain() (Унаследовано от 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()

Применяется к