edu.uci.isr.yancees
Interface MessageInterface
- All Superinterfaces:
- java.io.Serializable
- All Known Subinterfaces:
- EventInterface, SubscriptionInterface
- All Known Implementing Classes:
- ElvinEvent, ElvinSubscription, GenericEvent, GenericMessage, GenericSubscription, OldElvinEvent, OldSienaEvent, SienaEvent, SienaSubscription, SwitcherSubscription
- public interface MessageInterface
- extends java.io.Serializable
setDOM
public void setDOM(org.w3c.dom.Node n)
throws ParsingException
- Throws:
ParsingException
getDOM
public org.w3c.dom.Node getDOM()
getId
public long getId()
setXMLTextContent
public void setXMLTextContent(java.lang.String content)
- Changes the content of this message. Replaces it with the XML content
provided in the String provided
- Parameters:
content
- is the new XML format contnet in the form of a String
getXMLTextContent
public java.lang.String getXMLTextContent()
- Returns:
- the content of this message in the text form, as a string.
getDateCreated
public java.util.Date getDateCreated()
- Returns:
- the date the object was first created
getDateReceivedInServer
public java.util.Date getDateReceivedInServer()
- Returns:
- the date this object arrived in the server