jacinle.comm.cs#

Classes

Functions

make_cs_pair(name[, nr_clients, mode, ...])

Class ClientPipe

class ClientPipe[source]#

Bases: object

__init__(name, conn_info)[source]#
__new__(**kwargs)#
activate()[source]#
finalize()[source]#
initialize()[source]#
query(type, inp=None, do_recv=True)[source]#
recv()[source]#
property identity#

Class ServerPipe

class ServerPipe[source]#

Bases: object

__init__(name, send_qsize=0, mode='tcp')[source]#
__new__(**kwargs)#
activate(tcp_port=None, ipc_port=None)[source]#
finalize()[source]#
initialize(tcp_port=None, ipc_port=None)[source]#
mainloop_recv()[source]#
mainloop_send()[source]#
send(identifier, msg)[source]#
property conn_info#
property dispatcher#

Functions

make_cs_pair(name, nr_clients=None, mode='tcp', send_qsize=10)[source]#