struct Gio::SocketListener::EventSignal
- Gio::SocketListener::EventSignal
- GObject::Signal
- Struct
- Value
- Object
Overview
Emitted when listener's activity on socket changes state. Note that when listener is used to listen on both IPv4 and IPv6, a separate set of signals will be emitted for each, and the order they happen in is undefined.
Defined in:
lib/gi-crystal/src/auto/gio-2.0/socket_listener.crInstance Method Summary
- #connect(*, after : Bool = false, &block : Proc(Gio::SocketListenerEvent, Gio::Socket, Nil)) : GObject::SignalConnection
- #connect(handler : Proc(Gio::SocketListenerEvent, Gio::Socket, Nil), *, after : Bool = false) : GObject::SignalConnection
- #connect(handler : Proc(Gio::SocketListener, Gio::SocketListenerEvent, Gio::Socket, Nil), *, after : Bool = false) : GObject::SignalConnection
- #emit(event : Gio::SocketListenerEvent, socket : Gio::Socket) : 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::SocketListenerEvent, Gio::Socket, Nil)) : GObject::SignalConnection
#
def connect(handler : Proc(Gio::SocketListenerEvent, Gio::Socket, Nil), *, after : Bool = false) : GObject::SignalConnection
#
def connect(handler : Proc(Gio::SocketListener, Gio::SocketListenerEvent, Gio::Socket, Nil), *, after : Bool = false) : GObject::SignalConnection
#