|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Objectorg.dxc.api.datatypes.DxcData
public abstract class DxcData
The root of the Dxc data definition hierarchy.
Constructor Summary | |
---|---|
DxcData()
Construct with current time as timestamp |
|
DxcData(long timestamp)
Constructor |
Method Summary | |
---|---|
boolean |
equals(Object obj)
|
static long |
getCurrentTime()
Static method to obtain current time. |
String |
getSource()
Get message source |
long |
getTimeStamp()
Get message timestamp |
int |
hashCode()
|
abstract OutputStream |
put(OutputStream out)
Prints DxcData. |
void |
setSource(String source)
Set source for DxcData Although this field can be freely manipulated by users in local instances of DxcData, they serve only for informative purposes. |
void |
setTimeStamp(long timestamp)
Set timestamp for DxcData Although timestamps can be freely manipulated by users in local instances of DxcData, they serve only for informative purposes. |
String |
toString()
Returns String representation of DxcData. |
Methods inherited from class Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public DxcData()
public DxcData(long timestamp)
timestamp
- - the desired timestamp in milliseconds since 1970-1-1
00:00:00 GMTMethod Detail |
---|
public long getTimeStamp()
public void setTimeStamp(long timestamp)
timestamp
- - The desired timestamp in milliseconds since 1970-1-1
00:00:00 GMTpublic String getSource()
public void setSource(String source)
source
- - source of messagepublic abstract OutputStream put(OutputStream out)
public String toString()
toString
in class Object
public static long getCurrentTime()
public int hashCode()
hashCode
in class Object
public boolean equals(Object obj)
equals
in class Object
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |