Ark
Loading...
Searching...
No Matches
comm_handler.service Namespace Reference

Classes

class  Service

Functions

Any send_service_request (registry_host, registry_port, str service_name, object request, type response_type, int timeout=1)
 Send a request to a service discovered from a registry.

Function Documentation

◆ send_service_request()

Any comm_handler.service.send_service_request ( registry_host,
registry_port,
str service_name,
object request,
type response_type,
int timeout = 1 )

Send a request to a service discovered from a registry.

Parameters
registry_hostHost address of the service registry.
registry_portPort of the service registry.
service_nameName of the service to discover.
requestRequest object to send.
response_typeExpected response type.
timeoutTimeout in seconds.
Returns
: The response from the service.