GObject.Object
Gio.IOStream
Gio.SocketConnection
Import line: | Gio = imports.gi.Gio; |
GIR File: | Gio-2.0.gir |
C documentation: | GSocketConnection |
Class : | SocketConnection |
Extends: | Gio.IOStream |
Show / Hide Inherited methods, properties and signals |
Properties | Defined By | |
---|---|---|
closed : Boolean
|
Gio.IOStream | |
input_stream : Gio.InputStream
read only
|
Gio.IOStream | |
output_stream : Gio.OutputStream
read only
|
Gio.IOStream | |
parent_instance : Gio.IOStream
read only
|
Gio.SocketConnection | |
priv : Gio.SocketConnectionPrivate
read only
|
Gio.SocketConnection | |
socket : Gio.Socket
|
Gio.SocketConnection |
Method / Constructor | Defined By | |
---|---|---|
new Gio.SocketConnection
(Object properties)
Create a new Gio.SocketConnection
Create a new Gio.SocketConnection
|
||
Gio.SocketConnection.factory_lookup_type
(SocketFamily family, SocketType type, Number protocol_id)
:
Number
|
Gio.SocketConnection | |
Gio.SocketConnection.factory_register_type
(Number g_type, SocketFamily family, SocketType type, Number protocol)
:
none
|
Gio.SocketConnection | |
clear_pending
()
:
none
|
Gio.IOStream | |
close
(Cancellable cancellable)
:
Boolean
|
Gio.IOStream | |
close_async
(Number io_priority, Cancellable cancellable, Function callback, void* user_data)
:
none
|
Gio.IOStream | |
close_finish
(AsyncResult result)
:
Boolean
|
Gio.IOStream | |
get_input_stream
()
:
Gio.InputStream
|
Gio.IOStream | |
get_local_address
()
:
Gio.SocketAddress
|
Gio.SocketConnection | |
get_output_stream
()
:
Gio.OutputStream
|
Gio.IOStream | |
get_remote_address
()
:
Gio.SocketAddress
|
Gio.SocketConnection | |
get_socket
()
:
Gio.Socket
|
Gio.SocketConnection | |
has_pending
()
:
Boolean
|
Gio.IOStream | |
is_closed
()
:
Boolean
|
Gio.IOStream | |
set_pending
()
:
Boolean
|
Gio.IOStream |
None |
Class / Namespace | Method / Signal / Properties |
---|---|
Gio.Socket
Method |
connection_factory_create_connection
()
:
Gio.SocketConnection
|
Gio.SocketClient
Method |
|
Gio.SocketClient
Method |
connect_to_host
(String host_and_port, Number default_port, Cancellable cancellable)
:
Gio.SocketConnection
|
Gio.SocketClient
Method |
|
Gio.SocketClient
Method |
connect_finish
(AsyncResult result)
:
Gio.SocketConnection
|
Gio.SocketClient
Method |
connect_to_host_finish
(AsyncResult result)
:
Gio.SocketConnection
|
Gio.SocketClient
Method |
connect_to_service_finish
(AsyncResult result)
:
Gio.SocketConnection
|
Gio.SocketListener
Method |
|
Gio.SocketListener
Method |
|
Gio.SocketService
Signal |
|
Gio.ThreadedSocketService
Signal |
|