TrackEvent (Hyperic HQ Plugin API)
Keywords: org.hyperic.hq.product.TrackEvent class

Overview | Package | Class | Tree | Deprecated | Index | Help
| Hyperic HQ Plugin API v. 4.4.0.2
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.hyperic.hq.product
Class TrackEvent

    java.lang.Object
      org.hyperic.hq.product.TrackEvent

All Implemented Interfaces:
  java.io.Serializable

    public class TrackEvent

extends java.lang.Object
implements java.io.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

Field Summary
`static int` | `MESSAGE_MAXLEN`
`static int` | `SOURCE_MAXLEN`

Constructor Summary
`TrackEvent(AppdefEntityID id, long time, int level, java.lang.String source, java.lang.String message)`
`TrackEvent(java.lang.String id, long time, int level, java.lang.String source, java.lang.String message)`

Method Summary
`static TrackEvent` | `decode(java.lang.String data)`
`java.lang.String` | `encode()`
`AppdefEntityID` | `getAppdefId()`
`int` | `getLevel()`
`java.lang.String` | `getMessage()`
`java.lang.String` | `getSource()`
`long` | `getTime()`
`java.lang.String` | `toString()`

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait`

Field Detail

### 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

Constructor Detail

### TrackEvent

    public TrackEvent(AppdefEntityID id,
                      long time,
                      int level,
                      java.lang.String source,
                      java.lang.String message)

### TrackEvent

    public TrackEvent(java.lang.String id,
                      long time,
                      int level,
                      java.lang.String source,
                      java.lang.String message)

Method Detail

### getAppdefId

    public AppdefEntityID getAppdefId()

### getSource

    public java.lang.String getSource()

### getMessage

    public java.lang.String getMessage()

### getTime

    public long getTime()

### getLevel

    public int getLevel()

### encode

    public java.lang.String encode()
                            throws java.io.IOException

  Throws:
    `java.io.IOException`

### decode

    public static TrackEvent decode(java.lang.String data)
                             throws java.io.IOException

  Throws:
    `java.io.IOException`

### toString

    public java.lang.String toString()

  Overrides:
    `toString` in class `java.lang.Object`

Overview | Package | Class | Tree | Deprecated | Index | Help
| Hyperic HQ Plugin API v. 4.4.0.2
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2004-2006 Hyperic, Inc. support@hyperic.net, All Rights Reserved.