|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.media.mn8.protocol.jabber.JabberDataBlock | +--org.media.mn8.protocol.jabber.datablocks.Presence
Class representing the presence message block.
Fields inherited from class org.media.mn8.protocol.jabber.JabberDataBlock |
attributes, childBlocks, parent, textData |
Constructor Summary | |
Presence()
Default constructor for outgoing presence messages. |
|
Presence(JabberDataBlock _parent,
java.util.Hashtable _attributes)
Constructor. |
Method Summary | |
Presence |
constructReply()
Construct a reply message |
java.lang.String |
getTagName()
Method to get the name of the tag |
void |
setAvailable()
Method to fill this presence object with the information neccessary to indicate the client is available. |
void |
setProbe()
Method to fill this presence object with the information neccessary to do a probe. |
void |
setSubscribe()
Method to fill this presence object with the information neccessary to do a probe. |
void |
setType(java.lang.String type)
Method to set the presence type |
void |
setUnavailable()
Method to fill this presence object with the information neccessary to indicate the client is available. |
Methods inherited from class org.media.mn8.protocol.jabber.JabberDataBlock |
addAttributeToStringBuffer, addChild, addText, constructReply, getAttribute, getBytes, getChildBlocks, getParent, getTagEnd, getTagStart, getText, setAttribute, toString |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public Presence(JabberDataBlock _parent, java.util.Hashtable _attributes)
_parent
- The parent of this datablock_attributes
- The list of element attributespublic Presence()
Method Detail |
public void setAvailable()
public void setUnavailable()
public void setProbe()
public void setSubscribe()
public void setType(java.lang.String type)
public java.lang.String getTagName()
getTagName
in class JabberDataBlock
org.media.mn8.protocol.jabber.JabberDataBlock
public Presence constructReply()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |