struct Gio::DBusConnection::ClosedSignal

Overview

Emitted when the connection is closed.

The cause of this event can be

Upon receiving this signal, you should give up your reference to connection. You are guaranteed that this signal is emitted only once.

Defined in:

lib/gi-crystal/src/auto/gio-2.0/d_bus_connection.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(Bool, GLib::Error | Nil, Nil)) : GObject::SignalConnection #

def connect(handler : Proc(Bool, GLib::Error | Nil, Nil), *, after : Bool = false) : GObject::SignalConnection #

def connect(handler : Proc(Gio::DBusConnection, Bool, GLib::Error | Nil, Nil), *, after : Bool = false) : GObject::SignalConnection #

def emit(remote_peer_vanished : Bool, error : GLib::Error | Nil) : Nil #

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

The signal name