|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface ImplementedPublicationControl
| 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,
java.lang.String eventPackage,
org.w3c.dom.Document content)
verifies if entity is authorized to publish the content |
javax.sip.header.Header |
getAcceptsHeader(java.lang.String eventPackage)
Retrieves the accepted content types for the specified event package. |
Publication |
getAlternativeValueForExpiredPublication(Publication publication)
Through this method the event package implementation sbb has a chance to define an alternative publication value for the one expired, this can allow a behavior such as defining offline status in a presence resource. |
java.lang.String[] |
getEventPackages()
the impl class SIP event packages supported |
javax.xml.validation.Schema |
getSchema(java.lang.String eventPackage)
Retrieves the schema needed to validate a publication content. |
StateComposer |
getStateComposer(java.lang.String eventPackage)
Retrieves the StateComposer concrete impl, used to combine publications. |
boolean |
isResponsibleForResource(javax.sip.address.URI uri,
java.lang.String eventPackage)
Checks if this server is responsible for the resource publishing state. |
void |
notifySubscribers(ComposedPublication composedPublication)
Notifies subscribers about a publication update for the specified entity regarding the specified event package. |
| Method Detail |
|---|
java.lang.String[] getEventPackages()
boolean acceptsContentType(java.lang.String eventPackage,
javax.sip.header.ContentTypeHeader contentTypeHeader)
eventPackage - contentTypeHeader -
javax.sip.header.Header getAcceptsHeader(java.lang.String eventPackage)
eventPackage -
void notifySubscribers(ComposedPublication composedPublication)
composedPublication - javax.xml.validation.Schema getSchema(java.lang.String eventPackage)
StateComposer getStateComposer(java.lang.String eventPackage)
StateComposer concrete impl, used to combine publications.
boolean isResponsibleForResource(javax.sip.address.URI uri,
java.lang.String eventPackage)
boolean authorizePublication(java.lang.String entity,
java.lang.String eventPackage,
org.w3c.dom.Document content)
entity - content -
Publication getAlternativeValueForExpiredPublication(Publication publication)
publication -
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||