Plasma GitLab Archive
Projects Blog Knowledge

Class type Uq_engines.client_endpoint_connector


class type client_endpoint_connector = object .. end
This class type provides engines to connect to a service. In order to get and activate such an engine, call connect.

method connect : connect_address ->
Unixqueue.event_system -> connect_status engine
Instantiates an engine that connects to the endpoint given by the connect_address argument. If successful, the state of the engine changes to `Done(status) where status contains the socket details. The connection is established in the background.

The type of status will correspond to the type of connect address (e.g. a `Socket address will return a `Socket status).

The close-on-exec flag of the created socket descriptor is always set. The socket descriptor is always in non-blocking mode.

This web site is published by Informatikbüro Gerd Stolpmann
Powered by Caml