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 : 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 emit(connection : Gio::SocketConnection, source_object : GObject::Object?) : Nil #

def name : String #
Description copied from struct GObject::Signal

The signal name