org.hyperic.hq.product
Class TrackEvent
java.lang.Object
org.hyperic.hq.product.TrackEvent
- All Implemented Interfaces:
- Serializable
public class TrackEvent
- extends Object
- implements Serializable
Simple data class for sending config and log track events back to the
server. Eventually these may need to be seperated out.
- See Also:
- Serialized Form
MESSAGE_MAXLEN
public static final int MESSAGE_MAXLEN
- See Also:
- Constant Field Values
SOURCE_MAXLEN
public static final int SOURCE_MAXLEN
- See Also:
- Constant Field Values
TrackEvent
public TrackEvent(org.hyperic.hq.appdef.shared.AppdefEntityID id,
long time,
int level,
String source,
String message)
TrackEvent
public TrackEvent(String id,
long time,
int level,
String source,
String message)
getAppdefId
public org.hyperic.hq.appdef.shared.AppdefEntityID getAppdefId()
getSource
public String getSource()
getMessage
public String getMessage()
getTime
public long getTime()
getLevel
public int getLevel()
encode
public String encode()
throws IOException
- Throws:
IOException
decode
public static TrackEvent decode(String data)
throws IOException
- Throws:
IOException
toString
public String toString()
- Overrides:
toString
in class Object
Copyright © 2004-2010 Hyperic, Inc. support@hyperic.net, All Rights Reserved.