org.mobicents.slee.sipevent.server.publication
Interface PublicationClientControlSbbLocalObject

All Superinterfaces:
javax.slee.SbbLocalObject
All Known Subinterfaces:
PublicationControlSbbLocalObject

public interface PublicationClientControlSbbLocalObject
extends javax.slee.SbbLocalObject

Sbb local obejct interface for a client of the SIP Event Publication Control framework.

Author:
martins

Method Summary
 void modifyPublication(java.lang.Object requestId, java.lang.String entity, java.lang.String eventPackage, java.lang.String eTag, java.lang.String document, java.lang.String contentType, java.lang.String contentSubType, int expires)
          Modifies the publication identified by the specified Entity, SIP Event Package and ETag.
 void newPublication(java.lang.Object requestId, java.lang.String entity, java.lang.String eventPackage, java.lang.String document, java.lang.String contentType, java.lang.String contentSubType, int expires)
          Creates a new publication for the specified Entity and SIP Event Package.
 void refreshPublication(java.lang.Object requestId, java.lang.String entity, java.lang.String eventPackage, java.lang.String eTag, int expires)
          Refreshes the publication identified by the specified Entity, SIP Event Package and ETag.
 void removePublication(java.lang.Object requestId, java.lang.String entity, java.lang.String eventPackage, java.lang.String eTag)
          Removes the publication identified by the specified Entity, SIP Event Package and ETag.
 void setParentSbb(PublicationClientControlParentSbbLocalObject parentSbb)
          Used to set the call back sbb local object in the sbb implementing this interface.
 
Methods inherited from interface javax.slee.SbbLocalObject
getSbbPriority, isIdentical, remove, setSbbPriority
 

Method Detail

setParentSbb

void setParentSbb(PublicationClientControlParentSbbLocalObject parentSbb)
Used to set the call back sbb local object in the sbb implementing this interface. Must be used whenever a new object of this interface is created. An example: ChildRelation childRelation = getChildRelation(); PublicationClientControlSbbLocalObject childSbb = (PublicationClientControlSbbLocalObject) childRelation.create(); childSbb.setParentSbb( (PublicationClientControlParentSbbLocalObject)this.getSbbContext().getSbbLocalObject());

Parameters:
parent -

newPublication

void newPublication(java.lang.Object requestId,
                    java.lang.String entity,
                    java.lang.String eventPackage,
                    java.lang.String document,
                    java.lang.String contentType,
                    java.lang.String contentSubType,
                    int expires)
Creates a new publication for the specified Entity and SIP Event Package.

Parameters:
requestId - an object that identifies the request, the child sbb will return it when providing the response
entity -
eventPackage -
document -
contentType -
contentSubType -
expires - the time in seconds, which the publication is valid

refreshPublication

void refreshPublication(java.lang.Object requestId,
                        java.lang.String entity,
                        java.lang.String eventPackage,
                        java.lang.String eTag,
                        int expires)
Refreshes the publication identified by the specified Entity, SIP Event Package and ETag.

Parameters:
requestId - an object that identifies the request, the child sbb will return it when providing the response
entity -
eventPackage -
eTag -
expires - the time in seconds, which the publication is valid

modifyPublication

void modifyPublication(java.lang.Object requestId,
                       java.lang.String entity,
                       java.lang.String eventPackage,
                       java.lang.String eTag,
                       java.lang.String document,
                       java.lang.String contentType,
                       java.lang.String contentSubType,
                       int expires)
Modifies the publication identified by the specified Entity, SIP Event Package and ETag.

Parameters:
requestId - an object that identifies the request, the child sbb will return it when providing the response
entity -
eventPackage -
eTag -
document -
contentType -
contentSubType -
expires - the time in seconds, which the publication is valid

removePublication

void removePublication(java.lang.Object requestId,
                       java.lang.String entity,
                       java.lang.String eventPackage,
                       java.lang.String eTag)
Removes the publication identified by the specified Entity, SIP Event Package and ETag.

Parameters:
requestId - an object that identifies the request, the child sbb will return it when providing the response
entity -
eventPackage -
eTag -


Copyright © 2008. All Rights Reserved.