Package com.opencloud.sip.biggroup
Interface BigGroupProvider
-
public interface BigGroupProvider
Big Group Provider interface. Provides APIs for efficiently forking a call to many users or notifying many subscribers
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description SubscriptionActivity
getSubscriptionActivity(String resource, boolean create)
Get theSubscriptionActivity
for a subscribed resource, optionally creating the activity if it did not already exist.ForkActivity
newForkActivity(javax.sip.ServerTransaction initialTransaction)
Creates a newForkActivity
and starts it in the SLEE.
-
-
-
Method Detail
-
newForkActivity
ForkActivity newForkActivity(javax.sip.ServerTransaction initialTransaction) throws javax.sip.SipException
Creates a newForkActivity
and starts it in the SLEE. Does not send any messages.- Parameters:
initialTransaction
- the server transaction for an initial incoming INVITE request. This request will be forwarded to the targets supplied toForkActivity.forkTo(java.util.List)
.Note: Additional calls to this method with the same
ServerTransaction
instance will create new activities.- Returns:
- a new
ForkActivity
object. - Throws:
javax.sip.SipException
- if unable to start the activity
-
getSubscriptionActivity
SubscriptionActivity getSubscriptionActivity(String resource, boolean create)
Get theSubscriptionActivity
for a subscribed resource, optionally creating the activity if it did not already exist.- Parameters:
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
- iftrue
, a newSubscriptionActivity
will be created if one did not already exist for the given resource. Otherwise, return the existing activity ornull
if the activity does not exist.- Returns:
- a
SubscriptionActivity
, ornull
if an activity for the resource does not exist and create was false.
-
-