public interface BigGroupProvider
Modifier and Type | Method and Description |
---|---|
SubscriptionActivity |
getSubscriptionActivity(String resource,
boolean create)
Get the
SubscriptionActivity for a subscribed resource, optionally creating the activity if
it did not already exist. |
ForkActivity |
newForkActivity(ServerTransaction initialTransaction)
Creates a new
ForkActivity and starts it in the SLEE. |
ForkActivity newForkActivity(ServerTransaction initialTransaction) throws SipException
ForkActivity
and starts it in the SLEE. Does not send any messages.initialTransaction
- the server transaction for an initial incoming INVITE request. This request
will be forwarded to the targets supplied to ForkActivity.forkTo(java.util.List)
.
Note: Additional calls to this method with the same ServerTransaction
instance will create new activities.
ForkActivity
object.SipException
- if unable to start the activitySubscriptionActivity getSubscriptionActivity(String resource, boolean create)
SubscriptionActivity
for a subscribed resource, optionally creating the activity if
it did not already exist.resource
- the unique identifier of the subscribed resource. This is up to the application to
define, but would typically be a combination of the Request-URI and Event header, as per
RFC 3265.create
- if true
, a new SubscriptionActivity
will be created if one did
not already exist for the given resource. Otherwise, return the existing activity or null
if the activity does not exist.SubscriptionActivity
, or null
if an activity for the resource does not exist
and create was false.