ecorm / cppwamp

C++ client library for the WAMP protocol.
Boost Software License 1.0
35 stars 9 forks source link

Implement pattern-based subscriptions #15

Closed ecorm closed 9 years ago

ecorm commented 9 years ago

Implement pattern-based subscriptions, as per the advanced spec.

ecorm commented 9 years ago

Requirements on client:

From spec:

When a single event matches more than one of a Subscriber's subscriptions, the event will be delivered for each subscription. The Subscriber can detect the delivery of that same event on multiple subscriptions via EVENT.PUBLISHED.Publication, which will be identical.

There should therefore be no special handling involved when the client dispatches events to handlers, nor when it comes to subscription management.