|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objecthr.tis.mgw.client.message.Message
hr.tis.mgw.client.message.AbstractBinaryMessage
hr.tis.mgw.client.message.wap.PushSIMessage
Service Indication (SI) push message, as per WAP Service Indication specification.
It gets split into multiple binary messages, exposed as array of attachments
(getAttachments() method). Number of these messages can vary, though in most
cases it will be only one.
| Constructor Summary | |
PushSIMessage(java.lang.String id)
Convenient constructor for deleting an old SI message, specified by ID. |
|
PushSIMessage(java.lang.String text,
java.net.URI uri)
Convenient constructor for creating simple SI message, containing only service URI and textual description. |
|
PushSIMessage(java.lang.String text,
java.net.URI uri,
Action action,
java.util.Date creationTime,
java.util.Date expirationTime,
java.lang.String id,
InfoItem[] items)
All mighty constructor, exposing whole set of parameters. |
|
| Method Summary | |
Action |
getAction()
|
Attachment[] |
getAttachments()
Returns array of Attachment objects, that are to be sent as ParlayX SOAP attachments. |
java.util.List |
getBinaryAttachmentsList()
|
java.lang.String |
getContentType()
|
java.util.Date |
getCreationTime()
|
java.util.Date |
getExpirationTime()
|
java.lang.String |
getId()
|
InfoItem[] |
getInfoItems()
|
java.lang.String |
getText()
|
java.net.URI |
getURI()
|
java.lang.String |
toString()
|
| Methods inherited from class hr.tis.mgw.client.message.Message |
getSubject |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public PushSIMessage(java.lang.String id)
new PushSIMessage(null, null, Action.DELETE, null, null, id, null);
id - SI message ID
public PushSIMessage(java.lang.String text,
java.net.URI uri)
new PushSIMessage(text, uri, null, null, null, null, null);
text - uri -
public PushSIMessage(java.lang.String text,
java.net.URI uri,
Action action,
java.util.Date creationTime,
java.util.Date expirationTime,
java.lang.String id,
InfoItem[] items)
text - textual service (URI) descriptionuri - specifies the URI that is used to access the service. If it is empty, or omitted, the message corresponds to a notification (no service can be initiated)action - specifies the action to be taken when the SI is receivedcreationTime - specifies the time associated with the creation or last modification of the content indicated by URI, which may differ from the time when the SI was createdexpirationTime - specifies the time when the SI expires and thereby be automatically deleted or marked as 'expired'. If this argument is not specified, the SI never expires and is thus not subject to automatic deletionid - provides identity in order to make it possible to distinguish between different SIs. If this argument is not specified, its value is considered to be the same as the value of the URI argumentitems - these specify additional arguments, specially interpreted by client| Method Detail |
public Action getAction()
public java.util.Date getCreationTime()
public java.util.Date getExpirationTime()
public java.lang.String getId()
public InfoItem[] getInfoItems()
public java.lang.String getText()
public java.net.URI getURI()
public java.util.List getBinaryAttachmentsList()
getBinaryAttachmentsList in class AbstractBinaryMessagepublic java.lang.String getContentType()
getContentType in class AbstractBinaryMessagepublic Attachment[] getAttachments()
Message
getAttachments in class MessageMmsMessage,
MmsPartpublic java.lang.String toString()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||