Package SpecClient :: Module Spec :: Class Spec
[hide private]
[frames] | no frames]

Class Spec

source code

Spec objects provide remote Spec facilities to the connected client.

Instance Methods [hide private]
 
__init__(self, specVersion=None, timeout=None)
Constructor
source code
 
connectToSpec(self, specVersion, timeout=None)
Connect to a remote Spec
source code
 
__getattr__(self, attr) source code
 
_getMotorsMneNames(self)
Return motors mnemonics and names list.
source code
 
getMotorsMne(self)
Return motor mnemonics list.
source code
 
getMotorsNames(self)
Return motors names list.
source code
 
getVersion(self) source code
 
getName(self) source code
Properties [hide private]
  specVersion
Method Details [hide private]

__init__(self, specVersion=None, timeout=None)
(Constructor)

source code 

Constructor

Keyword arguments: connection -- either a 'host:port' string pointing to a Spec version (defaults to None) timeout -- optional connection timeout (defaults to None)

connectToSpec(self, specVersion, timeout=None)

source code 

Connect to a remote Spec

Mainly used for two-steps object creation. To be extended by derivated classes.

Arguments: specVersion -- 'host:port' string representing the Spec version to connect to timeout -- optional connection timeout (defaults to None)


Property Details [hide private]

specVersion

Get Method:
unreachable.specVersion(self)