|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.lsst.ccs.bus.ValueNotification
org.lsst.ccs.bus.DataValueNotification
public class DataValueNotification
this class is to replace ValueNotification which is temporarily kept for compatibility.
Object that are not of a "well known type" (as of ObjectNType definition) are "crystallized" for explicit deserialization by the receiving code. They are also analyzed and if they are annotated with the Trending annotation their content is split in as many key/primitiveValue as needed (this is a recursive process).
| Constructor Summary | |
|---|---|
DataValueNotification(String name,
char val)
|
|
DataValueNotification(String name,
Class classOfData,
Serializable object)
|
|
DataValueNotification(String name,
double val)
|
|
DataValueNotification(String name,
float val)
|
|
DataValueNotification(String name,
int val)
|
|
DataValueNotification(String name,
Serializable object)
|
|
DataValueNotification(String name,
Serializable object,
long tStamp)
|
|
DataValueNotification(ValueNotification notification)
|
|
| Method Summary | |
|---|---|
Object |
getData()
Deprecated. |
ObjectNType |
getObjectNType()
|
Object |
getRealData()
to be used to retrieve the contained data. |
Map<String,ObjectNType> |
getTrendingMap()
Map of Trending key/values: the values are itself of type ObjectNType so you can get the real type to be used. |
boolean |
isOfPrimitiveType()
|
boolean |
isOfWellKnownType()
|
String |
toString()
|
| Methods inherited from class org.lsst.ccs.bus.ValueNotification |
|---|
getName, gettStamp |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public DataValueNotification(String name,
Serializable object,
long tStamp)
public DataValueNotification(String name,
Serializable object)
public DataValueNotification(String name,
Class classOfData,
Serializable object)
public DataValueNotification(String name,
int val)
public DataValueNotification(String name,
double val)
public DataValueNotification(String name,
float val)
public DataValueNotification(String name,
char val)
public DataValueNotification(ValueNotification notification)
| Method Detail |
|---|
public boolean isOfWellKnownType()
public boolean isOfPrimitiveType()
public Map<String,ObjectNType> getTrendingMap()
public Object getRealData()
throws ClassNotFoundException
ClassNotFoundException@Deprecated public Object getData()
getData in class ValueNotificationpublic ObjectNType getObjectNType()
public String toString()
toString in class ValueNotification
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||