jacinle.comm.distrib.controller#
Classes
BroadcastMessage(from_identifier, payload) |
|
ControlMessage(sock, identifier, payload, countdown) |
|
ControllerPeer(info, csock) |
|
PipePeer(addr, port, dsock, pipes, ids) |
|
UnicastMessage(from_identifier, to_identifier, payload) |
Functions
|
Class BroadcastMessage
- class BroadcastMessage#
Bases:
tuple
BroadcastMessage(from_identifier, payload)
- __add__(value, /)#
Return self+value.
- __init__()#
- __mul__(value, /)#
Return self*value.
- static __new__(_cls, from_identifier, payload)#
Create new instance of BroadcastMessage(from_identifier, payload)
- count(value, /)#
Return number of occurrences of value.
- index(value, start=0, stop=9223372036854775807, /)#
Return first index of value.
Raises ValueError if the value is not present.
- from_identifier#
Alias for field number 0
- payload#
Alias for field number 1
Class ControlMessage
- class ControlMessage#
Bases:
tuple
ControlMessage(sock, identifier, payload, countdown)
- __add__(value, /)#
Return self+value.
- __init__()#
- __mul__(value, /)#
Return self*value.
- static __new__(_cls, sock, identifier, payload, countdown)#
Create new instance of ControlMessage(sock, identifier, payload, countdown)
- count(value, /)#
Return number of occurrences of value.
- index(value, start=0, stop=9223372036854775807, /)#
Return first index of value.
Raises ValueError if the value is not present.
- countdown#
Alias for field number 3
- identifier#
Alias for field number 1
- payload#
Alias for field number 2
- sock#
Alias for field number 0
Class Controller
Class ControllerPeer
- class ControllerPeer#
Bases:
tuple
ControllerPeer(info, csock)
- __add__(value, /)#
Return self+value.
- __init__()#
- __mul__(value, /)#
Return self*value.
- static __new__(_cls, info, csock)#
Create new instance of ControllerPeer(info, csock)
- count(value, /)#
Return number of occurrences of value.
- index(value, start=0, stop=9223372036854775807, /)#
Return first index of value.
Raises ValueError if the value is not present.
- csock#
Alias for field number 1
- info#
Alias for field number 0
Class ControllerPipeStorage
- class ControllerPipeStorage[source]#
Bases:
defaultdict
- copy() a shallow copy of D. #
- default_factory#
Factory for default value called by __missing__().
Class PipePeer
- class PipePeer#
Bases:
tuple
PipePeer(addr, port, dsock, pipes, ids)
- __add__(value, /)#
Return self+value.
- __init__()#
- __mul__(value, /)#
Return self*value.
- static __new__(_cls, addr, port, dsock, pipes, ids)#
Create new instance of PipePeer(addr, port, dsock, pipes, ids)
- count(value, /)#
Return number of occurrences of value.
- index(value, start=0, stop=9223372036854775807, /)#
Return first index of value.
Raises ValueError if the value is not present.
- addr#
Alias for field number 0
- dsock#
Alias for field number 2
- ids#
Alias for field number 4
- pipes#
Alias for field number 3
- port#
Alias for field number 1
Class UnicastMessage
- class UnicastMessage#
Bases:
tuple
UnicastMessage(from_identifier, to_identifier, payload)
- __add__(value, /)#
Return self+value.
- __init__()#
- __mul__(value, /)#
Return self*value.
- static __new__(_cls, from_identifier, to_identifier, payload)#
Create new instance of UnicastMessage(from_identifier, to_identifier, payload)
- count(value, /)#
Return number of occurrences of value.
- index(value, start=0, stop=9223372036854775807, /)#
Return first index of value.
Raises ValueError if the value is not present.
- from_identifier#
Alias for field number 0
- payload#
Alias for field number 2
- to_identifier#
Alias for field number 1
Functions