org.mobicents.slee.sipevent.server.subscription.eventlist
Class NotificationData

java.lang.Object
  extended by org.mobicents.slee.sipevent.server.subscription.eventlist.NotificationData
All Implemented Interfaces:
java.io.Serializable

public class NotificationData
extends java.lang.Object
implements java.io.Serializable

See Also:
Serialized Form

Field Summary
protected static javax.xml.bind.JAXBContext rlmiJaxbContext
           
 
Constructor Summary
NotificationData(java.lang.String notifier, int version, EntryType entryType, java.lang.String rlmiCid, java.lang.String multiPartBoundary)
           
NotificationData(java.lang.String notifier, int version, RLSService rlsService, java.lang.String rlmiCid, java.lang.String multiPartBoundary)
           
 
Method Summary
 MultiPart addNotificationData(java.lang.String uri, java.lang.String cid, java.lang.String instanceId, java.lang.String content, java.lang.String contentType, java.lang.String contentSubType, java.lang.String status, java.lang.String reason)
          Adds notification data for a resource
 boolean equals(java.lang.Object obj)
           
 int hashCode()
           
 MultiPart notificationDataNotNeeded(java.lang.String uri)
          Indicates no notification data for a resource, possibly due to an error, from this invocation this resource won't count on the verification for complete notification data & multipart building
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

rlmiJaxbContext

protected static final javax.xml.bind.JAXBContext rlmiJaxbContext
Constructor Detail

NotificationData

public NotificationData(java.lang.String notifier,
                        int version,
                        RLSService rlsService,
                        java.lang.String rlmiCid,
                        java.lang.String multiPartBoundary)

NotificationData

public NotificationData(java.lang.String notifier,
                        int version,
                        EntryType entryType,
                        java.lang.String rlmiCid,
                        java.lang.String multiPartBoundary)
Method Detail

addNotificationData

public MultiPart addNotificationData(java.lang.String uri,
                                     java.lang.String cid,
                                     java.lang.String instanceId,
                                     java.lang.String content,
                                     java.lang.String contentType,
                                     java.lang.String contentSubType,
                                     java.lang.String status,
                                     java.lang.String reason)
                              throws java.lang.IllegalStateException
Adds notification data for a resource

Returns:
if all required data is added a MultiPart will be returned, otherwise null
Throws:
java.lang.IllegalStateException

notificationDataNotNeeded

public MultiPart notificationDataNotNeeded(java.lang.String uri)
                                    throws java.lang.IllegalStateException
Indicates no notification data for a resource, possibly due to an error, from this invocation this resource won't count on the verification for complete notification data & multipart building

Returns:
if all required data is added a MultiPart will be returned, otherwise null
Throws:
java.lang.IllegalStateException

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object

equals

public boolean equals(java.lang.Object obj)
Overrides:
equals in class java.lang.Object


Copyright © 2011. All Rights Reserved.