|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.cafesip.gwtcomp.server.LiveDataSessionInfo
public class LiveDataSessionInfo
This class contains information about a live data session. The application can use this information to look for a deliver the data for rendering in charts. The userAttributes attribute allows the application to add its own attributes.
| Constructor Summary | |
|---|---|
LiveDataSessionInfo()
A constructor for this class. |
|
LiveDataSessionInfo(String context,
String instance,
String param,
ChartInfo chartInfo,
Date lastCollection,
int deliveryCount)
A constructor for this class. |
|
| Method Summary | |
|---|---|
Object |
getAttribute(String name)
Returns an user attribute. |
ChartInfo |
getChartInfo()
|
String |
getContext()
|
int |
getDeliveryCount()
|
String |
getInstance()
|
Date |
getLastCollection()
|
String |
getParam()
|
HashMap<String,Object> |
getUserAttributes()
|
void |
removeAttribute(String name)
Removes an user attribute. |
void |
setAttribute(String name,
Object value)
Sets an user attribute. |
void |
setChartInfo(ChartInfo chartInfo)
|
void |
setContext(String context)
|
void |
setDeliveryCount(int deliveryCount)
|
void |
setInstance(String instance)
|
void |
setLastCollection(Date lastCollection)
|
void |
setParam(String param)
|
void |
setUserAttributes(HashMap<String,Object> userAttributes)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public LiveDataSessionInfo(String context,
String instance,
String param,
ChartInfo chartInfo,
Date lastCollection,
int deliveryCount)
context - instance - param - chartInfo - lastCollection - deliveryCount - public LiveDataSessionInfo()
| Method Detail |
|---|
public String getContext()
public void setContext(String context)
context - The context to set.public String getInstance()
public void setInstance(String instance)
instance - The instance to set.public String getParam()
public void setParam(String param)
param - The param to set.public ChartInfo getChartInfo()
public void setChartInfo(ChartInfo chartInfo)
chartInfo - The chartInfo to set.public Date getLastCollection()
public void setLastCollection(Date lastCollection)
lastCollection - The lastCollection to set.public int getDeliveryCount()
public void setDeliveryCount(int deliveryCount)
deliveryCount - The deliveryCount to set.public HashMap<String,Object> getUserAttributes()
public void setUserAttributes(HashMap<String,Object> userAttributes)
userAttributes - The userAttributes to set.public Object getAttribute(String name)
name -
public void setAttribute(String name,
Object value)
name - value - public void removeAttribute(String name)
name -
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||