Package spade :: Module RPC :: Class RPCClientBehaviour
[hide private]
[frames] | no frames]

Class RPCClientBehaviour

source code


Instance Methods [hide private]
 
__init__(self, service, inputs, num)
This behaviour makes the Remote Procedure Call to the server Usage: service - DF.Service to be called inputs - dictionary of inputs where key=input name, value=input value num - a numeric id
source code
 
_process(self)
main loop must be overridden
source code

Inherited from Behaviour.OneShotBehaviour: done

Inherited from Behaviour.Behaviour: exitCode, getAgent, getParent, kill, managePresence, onEnd, onStart, registerPresenceHandler, root, run, setAgent, setParent, setTemplate

Inherited from MessageReceiver.MessageReceiver: postMessage

Inherited from MessageReceiver.MessageReceiver (private): _receive

Inherited from threading.Thread: __repr__, getName, isAlive, isDaemon, is_alive, join, setDaemon, setName, start

Inherited from threading.Thread (private): _reset_internal_locks, _set_daemon, _set_ident

Inherited from threading._Verbose (private): _note

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __setattr__, __sizeof__, __str__, __subclasshook__

Instance Variables [hide private]

Inherited from Behaviour.Behaviour (private): _exitcode

Properties [hide private]

Inherited from threading.Thread: daemon, ident, name

Inherited from threading.Thread (private): _block

Inherited from object: __class__

Method Details [hide private]

__init__(self, service, inputs, num)
(Constructor)

source code 

This behaviour makes the Remote Procedure Call to the server Usage: service - DF.Service to be called inputs - dictionary of inputs where key=input name, value=input value num - a numeric id

Overrides: object.__init__

_process(self)

source code 

main loop must be overridden

Overrides: Behaviour.Behaviour._process
(inherited documentation)