Gordon Sim wrote:
Alan Conway wrote:
    // Pull style:
    LocalQueue lq;
    queue.subscribe(lq);
    while (...) { Message m = lq.get(); ... }

    // Push style
    MyListener l;
    queue.subscribe(l);
    sessoin.run();
}

How does any of this integrate into a single-threaded application's main loop?

James


---------------------------------------------------------------------
Apache Qpid - AMQP Messaging Implementation
Project:      http://qpid.apache.org
Use/Interact: mailto:dev-subscr...@qpid.apache.org

Reply via email to