|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjavax.management.snmp.Timestamp
com.sun.management.snmp
in
preference to classes in this package. This class may be removed
in a future version of Java DMK.
This class is used by the SnmpVarBindList
object.
An SnmpVarBindList
time stamp object represents the time stamp when the list was updated
with the response variables.
Constructor Summary | |
Timestamp()
Deprecated. The default constructor. |
|
Timestamp(long uptime)
Deprecated. Creates a TimeStamp object using the user parameters. |
|
Timestamp(long uptime,
long when)
Deprecated. Creates a TimeStamp object using the user parameters. |
Method Summary | |
Date |
getDate()
Deprecated. Gets the current date. |
long |
getDateTime()
Deprecated. Gets the current date. |
long |
getSysUpTime()
Deprecated. Gets the time (in hundredths of a second) since the network management portion of the system was last re-initialized. |
SnmpTimeticks |
getTimeTicks()
Deprecated. Gets the SnmpTimeticks object corresponding to the TimeStamp object. |
String |
toString()
Deprecated. Returns a String representation of the TimeStamp object. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public Timestamp()
Sysuptime
is 0.
This simply indicates when this object was created.
public Timestamp(long uptime, long when)
TimeStamp
object using the user parameters.
uptime
- The time (in hundredths of a second) since the
network management portion of the system was last re-initialized.when
- The current time.public Timestamp(long uptime)
TimeStamp
object using the user parameters.
uptime
- The time (in hundredths of a second) since the
network management portion of the system was last re-initialized.Method Detail |
public final SnmpTimeticks getTimeTicks()
SnmpTimeticks
object corresponding to the TimeStamp
object.
SnmpTimeticks
object.public final long getSysUpTime()
sysUpTime
.public final Date getDate()
Date
object representing the current date.public final long getDateTime()
long
representing the current date.public final String toString()
String
representation of the TimeStamp
object.
String
representation of the TimeStamp
object.
|
FCS Release jdmk-5_1-b34.1 2005.02.10_16:46:09_MET |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |