SocketService.connectIncoming

gulong connectIncoming(T)(T callback, Flag!"After" after = No.After) if (isCallable!T && is(ReturnType!T == bool) && (Parameters!T.length < 1 || (ParameterStorageClassTuple!T[0] == ParameterStorageClass.none && is(Parameters!T[0] : gio.socket_connection.SocketConnection))) && (Parameters!T.length < 2 || (ParameterStorageClassTuple!T[1] == ParameterStorageClass.none && is(Parameters!T[1] : gobject.object.ObjectWrap))) && (Parameters!T.length < 3 || (ParameterStorageClassTuple!T[2] == ParameterStorageClass.none && is(Parameters!T[2] : gio.socket_service.SocketService))) && Parameters!T.length < 4)

Connect to Incoming signal.

The ::incoming signal is emitted when a new incoming connection to service needs to be handled. The handler must initiate the handling of connection, but may not block; in essence, asynchronous operations must be used.

connection will be unreffed once the signal handler returns, so you need to ref it yourself if you are planning to use it.

Parameters

callbacksignal callback delegate or function to connect bool callback(gio.socket_connection.SocketConnection connection, gobject.object.ObjectWrap sourceObject, gio.socket_service.SocketService socketService) connection a new #GSocketConnection object (optional) sourceObject the source_object passed to [gio.socket_listener.SocketListener.addAddress] (optional) socketService the instance the signal is connected to (optional) Returns true to stop other handlers from being called
afterYes.After to execute callback after default handler, No.After to execute before (default)

Returns

Signal ID