Class Rice::Syndicator::Syndicator |
|
Methods |
Public Class methods |
new() |
Public Instance methods |
newSubscriber(subscriber_id) |
Creates a new subscriber (generating a new id) and returns it.
newSubscriptionFor(subscriber, subscriptionName) |
Returns a new subscription identifier.
fetchSubscriber(subscriber_id) |
Returns the subscriber with the specified subscriber_id, or nil if the subscriber is not known.
serviceRequest(xml) |
Replies with XML that is either the reply we want to send or an error message.
response(requestId, subscriber, subscription_id) |
Returns the XML string that we want to send back to the subscriber.
generateItems(subscription_id, packageNode) |
Generate the ice item(s) and/or item ref(s) that satisfy the specified subscription id. Add them under a package node.
generateRefTag(url) |
Gerenate an ice-item-ref for the specified URL. The URL can be either a string or a Rice::URL object.
generateInline(name, data, parentNode) |
Generate an inline ice-item and add it to a parent node.