public abstract class SubscriptionClientChildSbb extends Object implements javax.slee.Sbb, SubscriptionClientChild
| Modifier and Type | Field and Description |
|---|---|
protected javax.sip.address.AddressFactory |
addressFactory |
protected javax.sip.address.Address |
ecsAddress |
protected int |
expiresDrift |
protected javax.sip.header.HeaderFactory |
headerFactory |
protected javax.sip.message.MessageFactory |
messageFactory |
protected org.mobicents.slee.SbbContextExt |
sbbContext |
protected SipActivityContextInterfaceFactory |
sipActivityContextInterfaceFactory |
protected SleeSipProvider |
sleeSipProvider |
| Constructor and Description |
|---|
SubscriptionClientChildSbb() |
| Modifier and Type | Method and Description |
|---|---|
protected javax.sip.message.Request |
createInitialSubscribe(DialogActivity da,
SubscriptionData subscriptionData,
SubscriptionRequestContent subscriptionContent) |
protected javax.sip.message.Request |
createRefresh(DialogActivity da,
SubscriptionData subscriptionData) |
protected javax.sip.message.Request |
createUnSubscribe(DialogActivity da) |
abstract org.mobicents.slee.enabler.sip.SubscribeRequestType |
getSubscribeRequestTypeCMP() |
SubscriptionData |
getSubscriptionData()
Retrieves the subscription data.
|
abstract SubscriptionData |
getSubscriptionDataCMP() |
protected void |
handleFailure(int errorCode,
javax.slee.ActivityContextInterface ac) |
void |
onClientErrorRespEvent(javax.sip.ResponseEvent event,
javax.slee.ActivityContextInterface ac) |
void |
onDialogForked(DialogForkedEvent event,
javax.slee.ActivityContextInterface aci) |
void |
onGlobalFailureRespEvent(javax.sip.ResponseEvent event,
javax.slee.ActivityContextInterface ac) |
void |
onNotify(javax.sip.RequestEvent event,
javax.slee.ActivityContextInterface aci) |
void |
onRedirRespEvent(javax.sip.ResponseEvent event,
javax.slee.ActivityContextInterface ac) |
void |
onServerErrorRespEvent(javax.sip.ResponseEvent event,
javax.slee.ActivityContextInterface ac) |
void |
onTimerEvent(javax.slee.facilities.TimerEvent event,
javax.slee.ActivityContextInterface aci) |
void |
onTransactionTimeoutEvent(javax.sip.TimeoutEvent event,
javax.slee.ActivityContextInterface ac) |
void |
sbbActivate() |
void |
sbbCreate() |
void |
sbbExceptionThrown(Exception arg0,
Object arg1,
javax.slee.ActivityContextInterface arg2) |
void |
sbbLoad() |
void |
sbbPassivate() |
void |
sbbPostCreate() |
void |
sbbRemove() |
void |
sbbRolledBack(javax.slee.RolledBackContext arg0) |
void |
sbbStore() |
void |
setSbbContext(javax.slee.SbbContext sbbContext) |
abstract void |
setSubscribeRequestTypeCMP(org.mobicents.slee.enabler.sip.SubscribeRequestType s) |
abstract void |
setSubscriptionDataCMP(SubscriptionData sd) |
void |
subscribe(SubscriptionData subscriptionData)
Requests the creation of a new SIP subscription.
|
void |
subscribe(SubscriptionData subscriptionData,
SubscriptionRequestContent initialSubscribeContent)
Requests the creation of a new SIP subscription.
|
void |
unsetSbbContext() |
void |
unsubscribe()
Requests the termination of an internal subscription.
|
protected org.mobicents.slee.SbbContextExt sbbContext
protected SipActivityContextInterfaceFactory sipActivityContextInterfaceFactory
protected SleeSipProvider sleeSipProvider
protected javax.sip.message.MessageFactory messageFactory
protected javax.sip.address.AddressFactory addressFactory
protected javax.sip.header.HeaderFactory headerFactory
protected int expiresDrift
protected javax.sip.address.Address ecsAddress
public SubscriptionData getSubscriptionData()
SubscriptionClientChildgetSubscriptionData in interface SubscriptionClientChildpublic void subscribe(SubscriptionData subscriptionData) throws SubscriptionException
SubscriptionClientChildsubscribe in interface SubscriptionClientChildsubscriptionData - the data for the subscriptionSubscriptionExceptionpublic void subscribe(SubscriptionData subscriptionData, SubscriptionRequestContent initialSubscribeContent) throws SubscriptionException
SubscriptionClientChildsubscribe in interface SubscriptionClientChildsubscriptionData - the data for the subscriptioninitialSubscribeContent - content to be sent in the initial subscribe.SubscriptionExceptionpublic void unsubscribe()
throws SubscriptionException
SubscriptionClientChildunsubscribe in interface SubscriptionClientChildSubscriptionExceptionpublic abstract SubscriptionData getSubscriptionDataCMP()
public abstract void setSubscriptionDataCMP(SubscriptionData sd)
public abstract org.mobicents.slee.enabler.sip.SubscribeRequestType getSubscribeRequestTypeCMP()
public abstract void setSubscribeRequestTypeCMP(org.mobicents.slee.enabler.sip.SubscribeRequestType s)
public void onRedirRespEvent(javax.sip.ResponseEvent event,
javax.slee.ActivityContextInterface ac)
public void onClientErrorRespEvent(javax.sip.ResponseEvent event,
javax.slee.ActivityContextInterface ac)
public void onServerErrorRespEvent(javax.sip.ResponseEvent event,
javax.slee.ActivityContextInterface ac)
public void onGlobalFailureRespEvent(javax.sip.ResponseEvent event,
javax.slee.ActivityContextInterface ac)
public void onNotify(javax.sip.RequestEvent event,
javax.slee.ActivityContextInterface aci)
public void onDialogForked(DialogForkedEvent event, javax.slee.ActivityContextInterface aci)
public void onTimerEvent(javax.slee.facilities.TimerEvent event,
javax.slee.ActivityContextInterface aci)
public void onTransactionTimeoutEvent(javax.sip.TimeoutEvent event,
javax.slee.ActivityContextInterface ac)
protected void handleFailure(int errorCode,
javax.slee.ActivityContextInterface ac)
event - ac - protected javax.sip.message.Request createInitialSubscribe(DialogActivity da, SubscriptionData subscriptionData, SubscriptionRequestContent subscriptionContent) throws ParseException, javax.sip.InvalidArgumentException, javax.sip.SipException
content - contentSubType - contentType - subscriber - subscriberdisplayName - notifier - content - ParseExceptionjavax.sip.InvalidArgumentExceptionjavax.sip.SipExceptionprotected javax.sip.message.Request createUnSubscribe(DialogActivity da) throws javax.sip.SipException, javax.sip.InvalidArgumentException, ParseException
da - eventId - javax.sip.SipExceptionjavax.sip.InvalidArgumentExceptionParseExceptionprotected javax.sip.message.Request createRefresh(DialogActivity da, SubscriptionData subscriptionData) throws javax.sip.SipException, javax.sip.InvalidArgumentException, ParseException
javax.sip.SipExceptionjavax.sip.InvalidArgumentExceptionParseExceptionpublic void sbbActivate()
sbbActivate in interface javax.slee.Sbbpublic void sbbCreate()
throws javax.slee.CreateException
sbbCreate in interface javax.slee.Sbbjavax.slee.CreateExceptionpublic void sbbExceptionThrown(Exception arg0, Object arg1, javax.slee.ActivityContextInterface arg2)
sbbExceptionThrown in interface javax.slee.Sbbpublic void sbbLoad()
sbbLoad in interface javax.slee.Sbbpublic void sbbPassivate()
sbbPassivate in interface javax.slee.Sbbpublic void sbbPostCreate()
throws javax.slee.CreateException
sbbPostCreate in interface javax.slee.Sbbjavax.slee.CreateExceptionpublic void sbbRemove()
sbbRemove in interface javax.slee.Sbbpublic void sbbRolledBack(javax.slee.RolledBackContext arg0)
sbbRolledBack in interface javax.slee.Sbbpublic void sbbStore()
sbbStore in interface javax.slee.Sbbpublic void setSbbContext(javax.slee.SbbContext sbbContext)
setSbbContext in interface javax.slee.Sbbpublic void unsetSbbContext()
unsetSbbContext in interface javax.slee.SbbCopyright © 2015. All Rights Reserved.