universal
Class Request
java.lang.Object
|
+--universal.Request
- All Implemented Interfaces:
- java.io.Serializable
- public class Request
- extends java.lang.Object
- implements java.io.Serializable
Object Request contains the retention id of the request, the client id and its expirarion time.
The retention id and the client id together permit to identify uniquely the request.
The expiration time permit to remove the request from the OutcomeStore if the time is over.
- See Also:
- Serialized Form
Field Summary |
java.lang.String |
client_id
Each client has its own client id |
long |
expiration_time
Useful to know when we can remove a request form the OutcomeStore |
int |
retention_id
Each different request from a certain client has a different id |
Constructor Summary |
Request()
|
Request(int retention_id,
java.lang.String client_id,
long expiration_time)
|
Method Summary |
void |
readObject(java.io.DataInputStream dis)
|
void |
writeObject(java.io.DataOutputStream dos)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
retention_id
public int retention_id
- Each different request from a certain client has a different id
client_id
public java.lang.String client_id
- Each client has its own client id
expiration_time
public long expiration_time
- Useful to know when we can remove a request form the OutcomeStore
Request
public Request(int retention_id,
java.lang.String client_id,
long expiration_time)
Request
public Request()
writeObject
public void writeObject(java.io.DataOutputStream dos)
readObject
public void readObject(java.io.DataInputStream dis)