Sets our main struct and passes it to the parent class.
Wraps base_io_stream and socket together as a gio.SocketConnection
Get's conn's base gio.IOStream
the main Gtk struct as a void*
Get the main Gtk struct
the main Gtk struct
the main Gtk struct
Get the main Gtk struct
the main Gtk struct as a void*
Checks if graceful disconnects are used. See TcpConnection.setGracefulDisconnect.
This enables graceful disconnects on close. A graceful disconnect means that we signal the receiving end that the connection is terminated and wait for it to close the connection before closing the connection.
A gio.TcpWrapperConnection can be used to wrap a gio.IOStream that is based on a atk.Socket, but which is not actually a gio.SocketConnection This is used by gio.SocketClient so that it can always return a gio.SocketConnection, even when the connection it has actually created is not directly a gio.SocketConnection