struct Gio::ThreadedSocketService::RunSignal
- Gio::ThreadedSocketService::RunSignal
- GObject::Signal
- Struct
- Value
- Object
Overview
The ::run signal is emitted in a worker thread in response to an incoming connection. This thread is dedicated to handling connection and may perform blocking IO. The signal handler need not return until the connection is closed.
Defined in:
lib/gi-crystal/src/auto/gio-2.0/threaded_socket_service.crInstance Method Summary
- #connect(*, after : Bool = false, &block : Proc(Gio::SocketConnection, GObject::Object | Nil, Bool)) : GObject::SignalConnection
- #connect(handler : Proc(Gio::SocketConnection, GObject::Object | Nil, Bool), *, after : Bool = false) : GObject::SignalConnection
- #connect(handler : Proc(Gio::ThreadedSocketService, Gio::SocketConnection, GObject::Object | Nil, Bool), *, after : Bool = false) : GObject::SignalConnection
- #emit(connection : Gio::SocketConnection, source_object : GObject::Object | Nil) : Nil
-
#name : String
The signal name
Instance methods inherited from struct GObject::Signal
[](detail : String) : self
[],
name : String
name
Constructor methods inherited from struct GObject::Signal
new(source : GObject::Object, detail : Nil | String = nil)
new
Instance Method Detail
def connect(*, after : Bool = false, &block : Proc(Gio::SocketConnection, GObject::Object | Nil, Bool)) : GObject::SignalConnection
#
def connect(handler : Proc(Gio::SocketConnection, GObject::Object | Nil, Bool), *, after : Bool = false) : GObject::SignalConnection
#
def connect(handler : Proc(Gio::ThreadedSocketService, Gio::SocketConnection, GObject::Object | Nil, Bool), *, after : Bool = false) : GObject::SignalConnection
#