Table of Contents

Class TcpWrapperConnection

Namespace
Gio
Assembly
Gio-2.0.dll
public class TcpWrapperConnection : TcpConnection, IDisposable, NativeObject, GTypeProvider, InstanceFactory
Inheritance
TcpWrapperConnection
Implements
Inherited Members

Constructors

TcpWrapperConnection(params ConstructArgument[])

[Obsolete("Regular C# constructors on native classes will be removed in a future version. Please see the linked documentation for more details. It contains scenarios and possible solutions to prepare for the upcoming changes.", DiagnosticId = "GirCore1007", UrlFormat = "https://gircore.github.io/docs/integration/diagnostic/1007.html")]
public TcpWrapperConnection(params ConstructArgument[] constructArguments)

Parameters

constructArguments ConstructArgument[]

TcpWrapperConnection(CreationData)

[Obsolete("This constructor is a workaround to keep legacy APIs alive. Do not use it.")]
protected TcpWrapperConnection(CreationData data)

Parameters

data CreationData

TcpWrapperConnection(TcpWrapperConnectionHandle)

protected TcpWrapperConnection(TcpWrapperConnectionHandle handle)

Parameters

handle TcpWrapperConnectionHandle

Fields

BaseIoStreamPropertyDefinition

public static readonly Property<IOStream?, TcpWrapperConnection> BaseIoStreamPropertyDefinition

Field Value

Property<IOStream, TcpWrapperConnection>

Properties

BaseIoStream

public IOStream? BaseIoStream { get; }

Property Value

IOStream

Methods

GetBaseIoStream()

public IOStream GetBaseIoStream()

Returns

IOStream

GetGType()

public static Type GetGType()

Returns

Type

New(IOStream, Socket)

[Version("2.28")]
public static TcpWrapperConnection New(IOStream baseIoStream, Socket socket)

Parameters

baseIoStream IOStream
socket Socket

Returns

TcpWrapperConnection

NewFromPointer(nint, bool)

Creates a new managed TcpWrapperConnection instance for a given pointer.

public static TcpWrapperConnection NewFromPointer(nint ptr, bool ownsHandle)

Parameters

ptr nint
ownsHandle bool

Returns

TcpWrapperConnection

NewWithProperties(ConstructArgument[])

Creates a new TcpWrapperConnection and sets the properties specified by the construct arguments.

public static TcpWrapperConnection NewWithProperties(ConstructArgument[] constructArguments)

Parameters

constructArguments ConstructArgument[]

The properties to set.

Returns

TcpWrapperConnection