[Twisted-Python] Newbie:XMLRPC Server as plugin?

All: Newbie alert! I would like to implement an XML-RPC server as a plugin (using the QuoteD how-to as an example) and can't figure out how to do so. In particular I don't understand how to create the protocol created as part of the factory. Can anyone provide some clues/code? Thanks! -steve Steve Nesbitt Senior Configuration Manager The Cobalt Group snesbitt@cobaltgroup.com This e-mail transmission contains information intended only for the use of the recipient(s) named above. Further, it contains information that may be privileged and confidential. If you are not the intended recipient, you are hereby notified that any dissemination, distribution, or copying of this message (including any attachments) is strictly prohibited. If you have received this e-mail in error, please notify the sender by reply e-mail and then delete this message from your mail system. Thank you for your compliance.

On Thu, 18 Sep 2003 09:47:40 -0700 "Nesbitt, Steve" <snesbitt@cobaltgroup.com> wrote:
I would like to implement an XML-RPC server as a plugin (using the QuoteD how-to as an example) and can't figure out how to do so. In particular I don't understand how to create the protocol created as part of the factory.
Protocols are created by the factory when the port you are listening gets an incoming connection - the factory's buildProtocol is called and the resulting protocol is connected to the transport for the new connection. In any case, Twisted already has a nice XML-RPC server framework, documented at http://twistedmatrix.com/documents/howto/xmlrpc - it should support anything you might want to do with a XML-RPC server. -- Itamar Shtull-Trauring http://itamarst.org/ Available for Python & Twisted consulting
participants (2)
-
Itamar Shtull-Trauring
-
Nesbitt, Steve