Trees | Indices | Help |
|
---|
|
asyncore.dispatcher --+ | asynchat.async_chat --+ | client
one command -> response exchange between the client and vmd:: c = client(host,port=5555) c.cmd(tcl, tcl,...) asyncore.loop() Starting VMD as ``vmd -e remote_ctl.tcl`` opens port 5555 for connection. The client only becomes active in the ``asyncore.loop()`` and exits after sending the commands and receiving the response. The response is available as :meth:`client.response` :Parameters: host currently remote_ctl.tcl only allows 'localhost' port port to connect to (typically 5555) :Methods: :meth:`client.cmd` commands (with embedded newlines!) scheduled for sending and execution in VMD :meth:`client.response` response from VMD :Bugs: Somehow it doesnt like many commands...
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
Inherited from Inherited from |
|
|||
Inherited from Inherited from |
|
|
|
|
|
Submits the commands to be executed in VMD: c.cmd(tcl, tcl, ...) Commands (with embedded newlines!) scheduled for sending and execution in VMD. All strings will be executed sequentially. |
Trees | Indices | Help |
|
---|
Generated by Epydoc 3.0.1 on Sat Jun 12 15:59:39 2010 | http://epydoc.sourceforge.net |