6. cc_proxy
6.1. Proxy Channel
- module
cc_proxy
- synopsis
CChannel implementation for multi-auxiliary usage.
CCProxy channel was created, in order to enable the connection of multiple auxiliaries on one and only one CChannel. This CChannel has to be used with a so called proxy auxiliary.
- class pykiso.lib.connectors.cc_proxy.CCProxy(**kwargs)[source]
Proxy CChannel for multi auxiliary usage.
Initialize attributes.
- _cc_receive(timeout=0.1, raw=False)[source]
Depopulate the queue out of the proxy connector.
- Parameters
timeout (
float
) – not usedraw (
bool
) – not used
- Return type
Union
[Tuple
[bytes
,int
],Tuple
[bytes
,None
],Tuple
[Message
,None
],Tuple
[None
,None
]]- Returns
raw bytes and source when it exist. if queue timeout is reached return None