help with subscription to a process

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • elrondrules@gmail.com

    #1

    help with subscription to a process

    Hi

    I am new to python and hence need some help

    i have a process A that posts events as XML docs.
    I need to create a listener to this process that subscribes to the
    process A and as and when a XML doc is posted parse it.
    I have creted an interface where if I specify the port number on which
    the listener is running the process A will automatically start posting
    events.

    The place I need help is to create a listener and a way of parsing the
    XML docs. If you can give me some starting points or docs/resources
    that will be great..

    Thanks

  • Paul Hummer

    #2
    Re: help with subscription to a process

    The Python socket module, although lightweight, can be used to quickly
    establish a socket between client and server for the purpose of feeding
    data. I've done this once or twice with XML. If you are looking for
    something a bit more robust, might I suggest reading up on the Twisted
    libraries?

    Paul

    elrondrules@gma il.com wrote:
    Hi
    >
    I am new to python and hence need some help
    >
    i have a process A that posts events as XML docs.
    I need to create a listener to this process that subscribes to the
    process A and as and when a XML doc is posted parse it.
    I have creted an interface where if I specify the port number on which
    the listener is running the process A will automatically start posting
    events.
    >
    The place I need help is to create a listener and a way of parsing the
    XML docs. If you can give me some starting points or docs/resources
    that will be great..
    >
    Thanks
    >
    >

    Comment

    Working...