| |
|
| java.lang.Object org.datashare.objects.DefaultObjectInfo org.datashare.ConsumerInfo
ConsumerInfo | public class ConsumerInfo extends DefaultObjectInfo implements PersistDataCallbackInterface(Code) | | Holds information about a Consumer.
For a consumer, the active boolean value represents whether or not the
channel a consumer is in has been activated (so the server will send real-time data to it)
author: Charles Wood version: 1.0 |
clientInfo | protected ClientInfo clientInfo(Code) | | the ClientInfo for this Consumer
|
getClientInfo | public ClientInfo getClientInfo()(Code) | | used to return the ClientInfo that corresponds to this Consumer
|
getDatabaseID | public String getDatabaseID()(Code) | | Retrieves the ADSKey String for this instance. Should always be checked for null.
Also realize that this method may block until the ADSKey value is available.
the ADSKey String that was previously set for this instance. |
getInfo | public String getInfo()(Code) | | Retrieves a description of this instance.
client info |
getKeyValue | public String getKeyValue()(Code) | | the value to use for the key for this instance in the Hashtable of
the Channel's ConsumerInfo instances
|
getType | public String getType()(Code) | | Retrieves a string containing 'Consumer'.
fixed value of 'Consumer' for all instances |
setDatabaseID | public void setDatabaseID(String ak)(Code) | | Sets the ADSKey String for this instance to the provided parameter value.
The ADSKey String is the value provided when the EJB was created for this instance.
Parameters: ak - the value to save as the ID for this instance |
|
|
|