|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.echomine.jabber.JabberMessage
com.echomine.jabber.JabberJDOMMessage
com.echomine.jabber.msg.DelayXMessage
public class DelayXMessage
This method add support for the jabber:x:delay message type. Normally this message extension is contained within some other message. Currently you cannot send delay message along with the presence message, so this object will only parse incoming data.
Current Implementation: JEP-0091 Version 1.0
Field Summary |
---|
Fields inherited from class com.echomine.jabber.JabberMessage |
---|
messageID |
Constructor Summary | |
---|---|
DelayXMessage()
constructs a default Delay message (with the x element) |
Method Summary | |
---|---|
java.lang.String |
getFrom()
|
int |
getMessageType()
the default message type is unknown. |
java.lang.String |
getText()
the text that is optionally associated with the message. |
java.lang.String |
getTime()
The time stamp string as returned by the remote server. |
java.util.Date |
getTimeInLocal()
The time when the message was sent by the sender, NOT the time received. |
JabberMessage |
parse(JabberMessageParser parser,
Element msgTree)
parses the message. |
Methods inherited from class com.echomine.jabber.JabberJDOMMessage |
---|
encode, getDOM, getXMLOutputter, setMessageID, toString |
Methods inherited from class com.echomine.jabber.JabberMessage |
---|
getMessageID, getReplyMessage, getTimeout, getXMessage, getXMessages, interrupt, isReplyRequired, isSendXMessages, isSynchronized, replyReceived, setReplyRequired, setSendXMessages, setSynchronized, setTimeout, setXMessage, setXMessages |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public DelayXMessage()
Method Detail |
---|
public JabberMessage parse(JabberMessageParser parser, Element msgTree) throws ParseException
parse
in interface JabberMessageParsable
parse
in class JabberJDOMMessage
ParseException
public java.util.Date getTimeInLocal()
public java.lang.String getTime()
public java.lang.String getFrom()
public java.lang.String getText()
public int getMessageType()
JabberJDOMMessage
getMessageType
in class JabberJDOMMessage
JabberCode
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |