libsolace.SolaceCommandQueue module¶
-
class
libsolace.SolaceCommandQueue.
SolaceCommandQueue
(version='soltr/6_0')[source]¶ Solace Command Queue Class
A simple queue which validates SEMP XML against correct version of xsd, and then puts returns the commands list object.
-
enqueue
(command, **kwargs)[source]¶ Validate and append a command onto the command list.
Parameters: command (SolaceXMLBuilder) – SEMP command to validate Returns: None
-
enqueueV2
(command, **kwargs)[source]¶ Validate and append a command onto the command list.
Parameters: - command (SolaceXMLBuilder) – SEMP command to validate
- kwargs (kwargs) – primaryOnly = True, backupOnly = True
Returns: None
-
schema_files
= {'soltr/6_2': '/Users/keghol/Development/python-libsolace/libsolace/data/semp-rpc-soltr_6_2.xsd', None: '/Users/keghol/Development/python-libsolace/libsolace/data/semp-rpc-soltr_6_0.xsd', 'soltr/6_0': '/Users/keghol/Development/python-libsolace/libsolace/data/semp-rpc-soltr_6_0.xsd', 'soltr/7_0': '/Users/keghol/Development/python-libsolace/libsolace/data/semp-rpc-soltr_7_0.xsd', 'soltr/7_1_1': '/Users/keghol/Development/python-libsolace/libsolace/data/semp-rpc-soltr_7_1.xsd'}¶
-