struct Gio::ThreadedSocketService::RunSignal

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.cr

Instance Method Summary

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 #

[View source]
def connect(handler : Proc(Gio::SocketConnection, GObject::Object | Nil, Bool), *, after : Bool = false) : GObject::SignalConnection #

[View source]
def connect(handler : Proc(Gio::ThreadedSocketService, Gio::SocketConnection, GObject::Object | Nil, Bool), *, after : Bool = false) : GObject::SignalConnection #

[View source]
def emit(connection : Gio::SocketConnection, source_object : GObject::Object | Nil) : Nil #

[View source]
def name : String #
Description copied from struct GObject::Signal

The signal name


[View source]