All Packages Class Hierarchy This Package Previous Next Index
Class magician.PerfTools.NetLoggerEvent
java.lang.Object
|
+----magician.PerfTools.NetEvent
|
+----magician.PerfTools.NetLoggerEvent
- public class NetLoggerEvent
- extends NetEvent
Class NetLoggerEvent is an event information class derived from NetEvent which records the type of the
event, the event id and the time the event occurred in NetLogger output format. All these fields are user assigned.
- See Also:
- NetEvent
-
extraFields
-
-
HostName
-
-
PacketID
-
-
timeStampSec
-
-
timeStampUsec
-
-
NetLoggerEvent()
- constructor initializes public fields
-
print(DataOutputStream)
- prints the fields to the given output stream in NetLogger format
-
updateEventFields(String, long, String, long)
- updates the fields with the passed parameter values.
-
updateEventFields(String, long, String, long, String)
- updates the fields with the passed parameter values.
PacketID
public long PacketID
timeStampSec
public long timeStampSec
timeStampUsec
public long timeStampUsec
HostName
public String HostName
extraFields
public String extraFields
NetLoggerEvent
public NetLoggerEvent()
- constructor initializes public fields
print
public void print(DataOutputStream out)
- prints the fields to the given output stream in NetLogger format
- Parameters:
- out - DataOutputStream to which contents are printed
updateEventFields
public void updateEventFields(String EventType,
long timeStamp,
String HostName,
long PacketID)
- updates the fields with the passed parameter values.
- Parameters:
- EventType - a string describing the event in period-separated format
- timeStamp - the time at which the event occured
- host - the host on which the event occured
- packetID - the ID of the packet for which the event is logged
updateEventFields
public void updateEventFields(String EventType,
long timeStamp,
String HostName,
long PacketID,
String otherParams)
- updates the fields with the passed parameter values. Additional fields
may be passed in the form of a String.
- Parameters:
- EventType - a string describing the event in period-separated format
- timeStamp - the time at which the event occured
- host - the host on which the event occured
- packetID - the ID of the packet for which the event is logged
- otherParams - any additional fields
All Packages Class Hierarchy This Package Previous Next Index