Package ch.bailu.gtk.gio
Schnittstelle ThreadedSocketService.OnRun
- Umschließende Klasse:
ThreadedSocketService
- Funktionsschnittstelle:
- Dies ist eine funktionale Schnittstelle, die somit als Zuweisungsziel für einen Lambdaausdruck oder eine Methodenreferenz verwendet werden kann.
-
Methodenübersicht
Modifizierer und TypMethodeBeschreibungboolean
onRun
(SocketConnection connection, Object source_object) The ::run signal is emitted in a worker thread in response to an
incoming connection.
-
Methodendetails
-
onRun
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.- Parameter:
connection
- a new #GSocketConnection object.source_object
- the source_object passed to g_socket_listener_add_address().- Gibt zurück:
- %TRUE to stop further signal handlers from being called
-