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?, Bool)) : GObject::SignalConnection
- #connect(handler : Proc(Gio::SocketConnection, GObject::Object?, Bool), *, after : Bool = false) : GObject::SignalConnection
- #connect(handler : Proc(Gio::ThreadedSocketService, Gio::SocketConnection, GObject::Object?, Bool), *, after : Bool = false) : GObject::SignalConnection
- #emit(connection : Gio::SocketConnection, source_object : GObject::Object?) : 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 : String? = nil)
new
Instance Method Detail
def connect(*, after : Bool = false, &block : Proc(Gio::SocketConnection, GObject::Object?, Bool)) : GObject::SignalConnection
#
def connect(handler : Proc(Gio::SocketConnection, GObject::Object?, Bool), *, after : Bool = false) : GObject::SignalConnection
#
def connect(handler : Proc(Gio::ThreadedSocketService, Gio::SocketConnection, GObject::Object?, Bool), *, after : Bool = false) : GObject::SignalConnection
#