ThreadedSocketService.connectRun
gulong connectRun(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.threaded_socket_service.ThreadedSocketService)))
&& Parameters!T.length < 4)Connect to Run signal.
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.
Parameters
callback | signal callback delegate or function to connect bool callback(gio.socket_connection.SocketConnection connection, gobject.object.ObjectWrap sourceObject, gio.threaded_socket_service.ThreadedSocketService threadedSocketService) connection a new #GSocketConnection object. (optional) sourceObject the source_object passed to [gio.socket_listener.SocketListener.addAddress]. (optional) threadedSocketService the instance the signal is connected to (optional) Returns true to stop further signal handlers from being called |
after | Yes.After to execute callback after default handler, No.After to execute before (default) |
Returns
Signal ID