High-level client implementation.
This uses a backing Transport-like class on top of which it implements
data serialization/deserialization.
|
__init__(self,
address=None,
timeouts=None,
transport=Transport)
Constructor for the Client class. |
source code
|
|
|
_InitTransport(self)
(Re)initialize the transport if needed. |
source code
|
|
|
_CloseTransport(self)
Close the transport, ignoring errors. |
source code
|
|
|
|
|
Close(self)
Close the underlying connection. |
source code
|
|
|
CallMethod(self,
method,
args)
Send a generic request and return the response. |
source code
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
WaitForJobChange(self,
job_id,
fields,
prev_job_info,
prev_log_serial) |
source code
|
|
objects.QueryResponse
|
|
objects.QueryFieldsResponse
|
|
|
|
|
QueryInstances(self,
names,
fields,
use_locking) |
source code
|
|
|
QueryNodes(self,
names,
fields,
use_locking) |
source code
|
|
|
QueryGroups(self,
names,
fields,
use_locking) |
source code
|
|
|
QueryNetworks(self,
names,
fields,
use_locking) |
source code
|
|
|
|
|
|
|
|
|
|
Inherited from object :
__delattr__ ,
__format__ ,
__getattribute__ ,
__hash__ ,
__new__ ,
__reduce__ ,
__reduce_ex__ ,
__repr__ ,
__setattr__ ,
__sizeof__ ,
__str__ ,
__subclasshook__
|