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

All Superinterfaces:
javax.slee.SbbLocalObject

public interface ImplementedPublicationControlSbbLocalObject
extends javax.slee.SbbLocalObject

Child sbb that handles the sip event publication control implementation details

Author:
martins

Method Summary
 boolean acceptsContentType(java.lang.String eventPackage, javax.sip.header.ContentTypeHeader contentTypeHeader)
          Verifies if the specified content type header can be accepted for the specified event package.
 boolean authorizePublication(java.lang.String entity, javax.xml.bind.JAXBElement unmarshalledContent)
          verifies if entity is authorized to publish the content
 org.mobicents.slee.sipevent.server.publication.pojo.ComposedPublication combinePublication(org.mobicents.slee.sipevent.server.publication.pojo.Publication publication, org.mobicents.slee.sipevent.server.publication.pojo.ComposedPublication composedPublication)
          Combines a new publication with the current composed publication.
 javax.sip.header.Header getAcceptsHeader(java.lang.String eventPackage)
          Retrieves the accepted content types for the specified event package.
 java.lang.String[] getEventPackages()
          the impl class SIP event packages supported
 javax.xml.bind.Marshaller getMarshaller()
          Retrieves a JAXB Marshaller to convert a JAXBElement to a String.
 javax.xml.bind.Unmarshaller getUnmarshaller()
          Retrieves a JAXB Unmarshaller to parse a publication content.
 boolean isResponsibleForResource(javax.sip.address.URI uri)
          Checks if this server is responsible for the resource publishing state.
 void notifySubscribers(org.mobicents.slee.sipevent.server.publication.pojo.ComposedPublication composedPublication)
          Notifies subscribers about a publication update for the specified entity regarding the specified evtnt package.
 
Methods inherited from interface javax.slee.SbbLocalObject
getSbbPriority, isIdentical, remove, setSbbPriority
 

Method Detail

getEventPackages

java.lang.String[] getEventPackages()
the impl class SIP event packages supported

Returns:

acceptsContentType

boolean acceptsContentType(java.lang.String eventPackage,
                           javax.sip.header.ContentTypeHeader contentTypeHeader)
Verifies if the specified content type header can be accepted for the specified event package.

Parameters:
eventPackage -
contentTypeHeader -
Returns:

getAcceptsHeader

javax.sip.header.Header getAcceptsHeader(java.lang.String eventPackage)
Retrieves the accepted content types for the specified event package.

Parameters:
eventPackage -
Returns:

notifySubscribers

void notifySubscribers(org.mobicents.slee.sipevent.server.publication.pojo.ComposedPublication composedPublication)
Notifies subscribers about a publication update for the specified entity regarding the specified evtnt package.

Parameters:
composedPublication -

getUnmarshaller

javax.xml.bind.Unmarshaller getUnmarshaller()
Retrieves a JAXB Unmarshaller to parse a publication content.

Returns:

getMarshaller

javax.xml.bind.Marshaller getMarshaller()
Retrieves a JAXB Marshaller to convert a JAXBElement to a String.

Returns:

combinePublication

org.mobicents.slee.sipevent.server.publication.pojo.ComposedPublication combinePublication(org.mobicents.slee.sipevent.server.publication.pojo.Publication publication,
                                                                                           org.mobicents.slee.sipevent.server.publication.pojo.ComposedPublication composedPublication)
Combines a new publication with the current composed publication.

Returns:
the updated composed publication

isResponsibleForResource

boolean isResponsibleForResource(javax.sip.address.URI uri)
Checks if this server is responsible for the resource publishing state.


authorizePublication

boolean authorizePublication(java.lang.String entity,
                             javax.xml.bind.JAXBElement unmarshalledContent)
verifies if entity is authorized to publish the content

Parameters:
entity -
unmarshalledContent -
Returns:


Copyright © 2008. All Rights Reserved.