universal
Class RequestServiceContext

java.lang.Object
  |
  +--universal.RequestServiceContext
All Implemented Interfaces:
org.omg.CORBA.portable.IDLEntity, java.io.Serializable

public final class RequestServiceContext
extends java.lang.Object
implements org.omg.CORBA.portable.IDLEntity

Struct definition : RequestServiceContext

Add a service context to the request when it goes through the clientInterceptor in the method send_request.

See Also:
Serialized Form

Field Summary
 java.lang.String client_id
          Struct member client_id.
 long request_start_time
          Struct member request_start_time.
 int retention_id
          Struct member retention_id.
 
Constructor Summary
RequestServiceContext()
           
RequestServiceContext(long request_start_time, int retention_id, java.lang.String client_id)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

request_start_time

public long request_start_time
Struct member request_start_time. Associates to the request the current time when it is in the client Interceptor in the method send_request. It will be needed to calculate the expiration time (request_start_time + certain_duration).


retention_id

public int retention_id
Struct member retention_id. A different retention_id is associated to each request.


client_id

public java.lang.String client_id
Struct member client_id. Each client has its own client id.

Constructor Detail

RequestServiceContext

public RequestServiceContext()

RequestServiceContext

public RequestServiceContext(long request_start_time,
                             int retention_id,
                             java.lang.String client_id)