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
constructArgumentsConstructArgument[]
TcpWrapperConnection(CreationData)
[Obsolete("This constructor is a workaround to keep legacy APIs alive. Do not use it.")]
protected TcpWrapperConnection(CreationData data)
Parameters
dataCreationData
TcpWrapperConnection(TcpWrapperConnectionHandle)
protected TcpWrapperConnection(TcpWrapperConnectionHandle handle)
Parameters
handleTcpWrapperConnectionHandle
Fields
BaseIoStreamPropertyDefinition
public static readonly Property<IOStream?, TcpWrapperConnection> BaseIoStreamPropertyDefinition
Field Value
Properties
BaseIoStream
public IOStream? BaseIoStream { get; }
Property Value
Methods
GetBaseIoStream()
public IOStream GetBaseIoStream()
Returns
GetGType()
public static Type GetGType()
Returns
New(IOStream, Socket)
[Version("2.28")]
public static TcpWrapperConnection New(IOStream baseIoStream, Socket socket)
Parameters
Returns
NewFromPointer(nint, bool)
Creates a new managed TcpWrapperConnection instance for a given pointer.
public static TcpWrapperConnection NewFromPointer(nint ptr, bool ownsHandle)
Parameters
Returns
NewWithProperties(ConstructArgument[])
Creates a new TcpWrapperConnection and sets the properties specified by the construct arguments.
public static TcpWrapperConnection NewWithProperties(ConstructArgument[] constructArguments)
Parameters
constructArgumentsConstructArgument[]The properties to set.