| java.lang.Object org.datashare.objects.RequestHistory
RequestHistory | public class RequestHistory implements java.io.Serializable(Code) | | This class is used when a client wishes to request EJBs (or a count of EJBs)
for a particular Session and Channel. The client sends this object to the server
who then responds in one of two ways. If this RequestHistory object is requesting
a COUNT, then a HistoryCountObject is sent over the commandStatusChannel. If this
RequestHistory object is requesting DATA, then the DataShareObjects are sent down
the Channel connection, as they would be normally. Note that COUNT requests are
sent to the server on the commandStatus channel while DATA and CANCEL requests
are sent in the Data channel for the function;
|
CANCEL | final public static int CANCEL(Code) | | Use this for typeOfRequest if you want to cancel a previous DATA request
|
COUNT | final public static int COUNT(Code) | | Use this for typeOfRequest if you want to know only the number of DataShareObjects available
|
DATA | final public static int DATA(Code) | | Use this for typeOfRequest if you want the DataShareObjects
|
channelDatabaseKey | public String channelDatabaseKey(Code) | | The ADSKey string for the channel for which EJBs are desired (required for COUNT request)
|
channelName | public String channelName(Code) | | The channel name for which EJBs are desired (required for COUNT request)
|
serialVersionUID | final static long serialVersionUID(Code) | | this allows us to serialize this class without 'marshalling' errors.
|
sessionName | public String sessionName(Code) | | The sessionName for which EJBs are desired (required for COUNT request)
|
typeOfRequest | public int typeOfRequest(Code) | | This defines the type of history request, use COUNT, CANCEL, or DATA
|
userName | public String userName(Code) | | the user who is requesting the history, used to put a name with the request because
the activate command has not been issued at the time history is requested
|
RequestHistory | public RequestHistory()(Code) | | Constructor, normally not used
|
RequestHistory | public RequestHistory(String userName, int typeOfRequest, String sessionName, String channelDatabaseKey, String channelName)(Code) | | Constructor
|
|
|