org.mobicents.slee.sipevent.examples
Class RLSExamplePublisherSbb
java.lang.Object
org.mobicents.slee.sipevent.examples.RLSExamplePublisherSbb
- All Implemented Interfaces:
- javax.slee.Sbb, javax.slee.SbbLocalObject, RLSExamplePublisherSbbLocalObject, org.mobicents.slee.sippresence.client.PresenceClientControlParentSbbLocalObject
public abstract class RLSExamplePublisherSbb
- extends java.lang.Object
- implements javax.slee.Sbb, RLSExamplePublisherSbbLocalObject
- Author:
- Eduardo Martins
|
Method Summary |
abstract java.lang.String |
getETag()
|
abstract RLSExamplePublisherParentSbbLocalObject |
getParentSbbCMP()
|
abstract javax.slee.ChildRelation |
getPresenceClientControlSbbChildRelation()
|
abstract org.mobicents.slee.sippresence.client.PresenceClientControlSbbLocalObject |
getPresenceClientControlSbbCMP()
|
abstract java.lang.String |
getPublisher()
|
void |
newPublicationError(java.lang.Object requestId,
int error)
|
void |
newPublicationOk(java.lang.Object requestId,
java.lang.String tag,
int expires)
|
void |
onTimerEvent(javax.slee.facilities.TimerEvent event,
javax.slee.ActivityContextInterface aci)
|
void |
refreshPublicationError(java.lang.Object requestId,
int error)
|
void |
refreshPublicationOk(java.lang.Object requestId,
java.lang.String tag,
int expires)
|
void |
removePublicationError(java.lang.Object requestId,
int error)
|
void |
removePublicationOk(java.lang.Object requestId)
|
void |
sbbActivate()
|
void |
sbbCreate()
|
void |
sbbExceptionThrown(java.lang.Exception exception,
java.lang.Object event,
javax.slee.ActivityContextInterface activity)
|
void |
sbbLoad()
|
void |
sbbPassivate()
|
void |
sbbPostCreate()
|
void |
sbbRemove()
|
void |
sbbRolledBack(javax.slee.RolledBackContext sbbRolledBack)
|
void |
sbbStore()
|
abstract void |
setETag(java.lang.String eTag)
|
void |
setParentSbb(RLSExamplePublisherParentSbbLocalObject parentSbb)
Stores the parent sbb local object, to be used on callbacks |
abstract void |
setParentSbbCMP(RLSExamplePublisherParentSbbLocalObject value)
|
abstract void |
setPresenceClientControlSbbCMP(org.mobicents.slee.sippresence.client.PresenceClientControlSbbLocalObject value)
|
abstract void |
setPublisher(java.lang.String value)
|
void |
setSbbContext(javax.slee.SbbContext sbbContext)
Called when an sbb object is instantied and enters the pooled state. |
void |
start(java.lang.String publisher)
Starts publishing for the specified publisher... |
void |
stop()
stop publishing |
void |
unsetSbbContext()
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.mobicents.slee.sippresence.client.PresenceClientControlParentSbbLocalObject |
modifyPublicationError, modifyPublicationOk, newSubscriptionError, newSubscriptionOk, notifyEvent, refreshSubscriptionError, refreshSubscriptionOk, removeSubscriptionError, removeSubscriptionOk |
| Methods inherited from interface javax.slee.SbbLocalObject |
getSbbPriority, isIdentical, remove, setSbbPriority |
RLSExamplePublisherSbb
public RLSExamplePublisherSbb()
getPresenceClientControlSbbChildRelation
public abstract javax.slee.ChildRelation getPresenceClientControlSbbChildRelation()
getPresenceClientControlSbbCMP
public abstract org.mobicents.slee.sippresence.client.PresenceClientControlSbbLocalObject getPresenceClientControlSbbCMP()
setPresenceClientControlSbbCMP
public abstract void setPresenceClientControlSbbCMP(org.mobicents.slee.sippresence.client.PresenceClientControlSbbLocalObject value)
setParentSbbCMP
public abstract void setParentSbbCMP(RLSExamplePublisherParentSbbLocalObject value)
getParentSbbCMP
public abstract RLSExamplePublisherParentSbbLocalObject getParentSbbCMP()
setPublisher
public abstract void setPublisher(java.lang.String value)
getPublisher
public abstract java.lang.String getPublisher()
setETag
public abstract void setETag(java.lang.String eTag)
getETag
public abstract java.lang.String getETag()
setParentSbb
public void setParentSbb(RLSExamplePublisherParentSbbLocalObject parentSbb)
- Description copied from interface:
RLSExamplePublisherSbbLocalObject
- Stores the parent sbb local object, to be used on callbacks
- Specified by:
setParentSbb in interface RLSExamplePublisherSbbLocalObject
start
public void start(java.lang.String publisher)
- Description copied from interface:
RLSExamplePublisherSbbLocalObject
- Starts publishing for the specified publisher...
- Specified by:
start in interface RLSExamplePublisherSbbLocalObject
newPublicationError
public void newPublicationError(java.lang.Object requestId,
int error)
- Specified by:
newPublicationError in interface org.mobicents.slee.sippresence.client.PresenceClientControlParentSbbLocalObject
newPublicationOk
public void newPublicationOk(java.lang.Object requestId,
java.lang.String tag,
int expires)
throws java.lang.Exception
- Specified by:
newPublicationOk in interface org.mobicents.slee.sippresence.client.PresenceClientControlParentSbbLocalObject
- Throws:
java.lang.Exception
onTimerEvent
public void onTimerEvent(javax.slee.facilities.TimerEvent event,
javax.slee.ActivityContextInterface aci)
refreshPublicationOk
public void refreshPublicationOk(java.lang.Object requestId,
java.lang.String tag,
int expires)
throws java.lang.Exception
- Specified by:
refreshPublicationOk in interface org.mobicents.slee.sippresence.client.PresenceClientControlParentSbbLocalObject
- Throws:
java.lang.Exception
refreshPublicationError
public void refreshPublicationError(java.lang.Object requestId,
int error)
- Specified by:
refreshPublicationError in interface org.mobicents.slee.sippresence.client.PresenceClientControlParentSbbLocalObject
stop
public void stop()
- stop publishing
- Specified by:
stop in interface RLSExamplePublisherSbbLocalObject
removePublicationError
public void removePublicationError(java.lang.Object requestId,
int error)
- Specified by:
removePublicationError in interface org.mobicents.slee.sippresence.client.PresenceClientControlParentSbbLocalObject
removePublicationOk
public void removePublicationOk(java.lang.Object requestId)
throws java.lang.Exception
- Specified by:
removePublicationOk in interface org.mobicents.slee.sippresence.client.PresenceClientControlParentSbbLocalObject
- Throws:
java.lang.Exception
setSbbContext
public void setSbbContext(javax.slee.SbbContext sbbContext)
- Called when an sbb object is instantied and enters the pooled state.
- Specified by:
setSbbContext in interface javax.slee.Sbb
unsetSbbContext
public void unsetSbbContext()
- Specified by:
unsetSbbContext in interface javax.slee.Sbb
sbbCreate
public void sbbCreate()
throws javax.slee.CreateException
- Specified by:
sbbCreate in interface javax.slee.Sbb
- Throws:
javax.slee.CreateException
sbbPostCreate
public void sbbPostCreate()
throws javax.slee.CreateException
- Specified by:
sbbPostCreate in interface javax.slee.Sbb
- Throws:
javax.slee.CreateException
sbbActivate
public void sbbActivate()
- Specified by:
sbbActivate in interface javax.slee.Sbb
sbbPassivate
public void sbbPassivate()
- Specified by:
sbbPassivate in interface javax.slee.Sbb
sbbRemove
public void sbbRemove()
- Specified by:
sbbRemove in interface javax.slee.Sbb
sbbLoad
public void sbbLoad()
- Specified by:
sbbLoad in interface javax.slee.Sbb
sbbStore
public void sbbStore()
- Specified by:
sbbStore in interface javax.slee.Sbb
sbbExceptionThrown
public void sbbExceptionThrown(java.lang.Exception exception,
java.lang.Object event,
javax.slee.ActivityContextInterface activity)
- Specified by:
sbbExceptionThrown in interface javax.slee.Sbb
sbbRolledBack
public void sbbRolledBack(javax.slee.RolledBackContext sbbRolledBack)
- Specified by:
sbbRolledBack in interface javax.slee.Sbb
Copyright © 2009. All Rights Reserved.