enum Gio::SocketListenerEvent

Overview

Describes an event occurring on a #GSocketListener. See the #GSocketListener::event signal for more details.

Additional values may be added to this type in the future.

Defined in:

lib/gi-crystal/src/auto/gio-2.0/gio.cr

Enum Members

Binding = 0_u32

The listener is about to bind a socket.

Bound = 1_u32

The listener has bound a socket.

Listening = 2_u32

The listener is about to start listening on this socket.

Listened = 3_u32

The listener is now listening on this socket.

Class Method Summary

Instance Method Summary

Class methods inherited from struct Enum

g_type : UInt64 g_type

Class Method Detail

def self.g_type : UInt64 #

Returns the type id (GType) registered in GLib type system.


[View source]

Instance Method Detail

def binding? #

[View source]
def bound? #

[View source]
def listened? #

[View source]
def listening? #

[View source]