|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.vhosting.netconf.messages.NotificationMsg
public class NotificationMsg
This class represents the Notification message in the Netconf protocol.
Method Summary | |
---|---|
static NotificationMsg |
createNotification(byte[] message)
Create the server Notification message from a byte array as source. |
java.util.Date |
getEventTime()
Returns the time when the event was actually generated by the server. |
boolean |
load(Notification notification)
Load into a notification structure the values for it if exist. |
boolean |
validate()
Validate the message. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static final NotificationMsg createNotification(byte[] message) throws org.xml.sax.SAXException, java.io.IOException
message
- The byte array.
org.xml.sax.SAXException
- Throw this exception if there are parsing troubles.
java.io.IOException
- Throw this exception if there are reading troubles.public java.util.Date getEventTime()
NotificationEvent
getEventTime
in interface NotificationEvent
public boolean load(Notification notification)
NotificationEvent
load
in interface NotificationEvent
notification
- The notification structure.
public boolean validate()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |