Gio.TcpWrapperConnection¶
| Subclasses: | None | 
|---|
Methods¶
| Inherited: | Gio.TcpConnection (2), Gio.SocketConnection (9), Gio.IOStream (11), GObject.Object (37) | 
|---|---|
| Structs: | GObject.ObjectClass (5) | 
| class | new(base_io_stream, socket) | 
| get_base_io_stream() | 
Virtual Methods¶
| Inherited: | Gio.IOStream (5), GObject.Object (7) | 
|---|
Properties¶
| Inherited: | Gio.TcpConnection (1), Gio.SocketConnection (1), Gio.IOStream (3) | 
|---|
| Name | Type | Flags | Short Description | 
|---|---|---|---|
| base-io-stream | Gio.IOStream | r/w/co | The wrapped Gio.IOStream | 
Signals¶
| Inherited: | GObject.Object (1) | 
|---|
Fields¶
| Inherited: | GObject.Object (1) | 
|---|
| Name | Type | Access | Description | 
|---|---|---|---|
| parent_instance | Gio.TcpConnection | r | 
Class Details¶
- 
class Gio.TcpWrapperConnection(**kwargs)¶
- Bases: - Gio.TcpConnection- Abstract: - No - Structure: - Gio.TcpWrapperConnectionClass- A - Gio.TcpWrapperConnectioncan be used to wrap a- Gio.IOStreamthat is based on a- Gio.Socket, but which is not actually a- Gio.SocketConnection. This is used by- Gio.SocketClientso that it can always return a- Gio.SocketConnection, even when the connection it has actually created is not directly a- Gio.SocketConnection.- New in version 2.28. - 
classmethod new(base_io_stream, socket)[source]¶
- Parameters: - base_io_stream (Gio.IOStream) – theGio.IOStreamto wrap
- socket (Gio.Socket) – theGio.Socketassociated with base_io_stream
 - Returns: - the new - Gio.SocketConnection.- Return type: - Wraps base_io_stream and socket together as a - Gio.SocketConnection.- New in version 2.28. 
- base_io_stream (
 - 
get_base_io_stream()[source]¶
- Returns: - self’s base - Gio.IOStream- Return type: - Gio.IOStream- Gets self’s base - Gio.IOStream
 
- 
classmethod 
Property Details¶
- 
Gio.TcpWrapperConnection.props.base_io_stream¶
- Name: - base-io-stream- Type: - Gio.IOStream- Default Value: - None- Flags: - READABLE,- WRITABLE,- CONSTRUCT_ONLY- The wrapped - Gio.IOStream