jacinle.comm.service#

Classes

Class Service

class Service[source]#

Bases: object

__init__(configs=None, spec=None)[source]#
__new__(**kwargs)#
call(*args, **kwargs)[source]#
finalize()[source]#
initialize()[source]#
serve_socket(name=None, tcp_port=None)[source]#

Class ServiceException

class ServiceException[source]#

Bases: object

__init__(remote_message)[source]#
__new__(**kwargs)#

Class SocketClient

class SocketClient[source]#

Bases: object

__init__(name, conn_info, echo=True)[source]#
__new__(**kwargs)#
activate()[source]#
call(*args, echo=None, **kwargs)[source]#
finalize()[source]#
get_client_identifier()[source]#
get_configs()[source]#
get_server_conn_info()[source]#
get_server_identifier()[source]#
get_server_name()[source]#
get_signature()[source]#
get_spec()[source]#
initialize()[source]#
property initialized#

Class SocketServer

class SocketServer[source]#

Bases: object

__init__(service, name, tcp_port=None, ipc_port=None)[source]#
__new__(**kwargs)#
activate()[source]#
call_get_configs(pipe, identifier, inp)[source]#
call_get_conn_info(pipe, identifier, inp)[source]#
call_get_identifier(pipe, identifier, inp)[source]#
call_get_name(pipe, identifier, inp)[source]#
call_get_signature(pipe, identifier, inp)[source]#
call_get_spec(pipe, identifier, inp)[source]#
call_query(pipe, identifier, feed_dict)[source]#
serve()[source]#
property conn_info#