com.vodafone360.people.service.io
Class ResponseQueue.Response

java.lang.Object
  extended by com.vodafone360.people.service.io.ResponseQueue.Response
Enclosing class:
ResponseQueue

public static class ResponseQueue.Response
extends java.lang.Object

Class encapsulating a decoded response from the server A Response contains; a request id which should match a request id from a request issued by the People Client (responses to non-RPG requests or non-solicited messages will not have a request id), the request data, a list of decoded BaseDataTypes generated from the response content and an engine id informing the framework which engine the response should be routed to.


Field Summary
 java.util.List<BaseDataType> mDataTypes
           
 java.lang.Integer mReqId
           
 EngineManager.EngineId mSource
           
 
Constructor Summary
ResponseQueue.Response(java.lang.Integer reqId, java.util.List<BaseDataType> data, EngineManager.EngineId source)
          Constructs a response object with request ID, the data and the engine ID the response belongs to.
 
Method Summary
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

mReqId

public java.lang.Integer mReqId

mDataTypes

public java.util.List<BaseDataType> mDataTypes

mSource

public EngineManager.EngineId mSource
Constructor Detail

ResponseQueue.Response

public ResponseQueue.Response(java.lang.Integer reqId,
                              java.util.List<BaseDataType> data,
                              EngineManager.EngineId source)
Constructs a response object with request ID, the data and the engine ID the response belongs to.

Parameters:
reqId - The corresponding request ID for the response.
data - The data of the response.
source - The originating engine ID.


JavaDoc