de.sagd.u4etx.cis
Class CmdServiceResponse

java.lang.Object
  |
  +--de.sagd.u4etx.cis.AbstractServiceResponse
        |
        +--de.sagd.u4etx.cis.CmdServiceResponse
All Implemented Interfaces:
IServiceResponse

public class CmdServiceResponse
extends AbstractServiceResponse

This class encapsulates the response of an CmdService request. It inherits from AbstractServiceResponse and thus implements the interface IServiceResponse. The class provides you 2 methods to access the information of the response (see method documentation).


Fields inherited from class de.sagd.u4etx.cis.AbstractServiceResponse
abResponse
 
Constructor Summary
CmdServiceResponse(byte[] abResponse)
          Default constructor.
 
Method Summary
 IServiceResponseObject getServiceResponseObject(int i)
          Always return null as the response of a CmdService request only contains the common header.
 
Methods inherited from class de.sagd.u4etx.cis.AbstractServiceResponse
getCommonHeader
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CmdServiceResponse

public CmdServiceResponse(byte[] abResponse)
                   throws ServiceResponseException
Default constructor.
Parameters:
abResponse - The response of the request.
Throws:
ServiceResponseException - If the response is malformed.
Method Detail

getServiceResponseObject

public IServiceResponseObject getServiceResponseObject(int i)
Always return null as the response of a CmdService request only contains the common header.
Parameters:
i -  
Returns:
null.