de.sagd.u4etx.cis
Class AbstractServiceResponse

java.lang.Object
  |
  +--de.sagd.u4etx.cis.AbstractServiceResponse
All Implemented Interfaces:
IServiceResponse
Direct Known Subclasses:
CmdServiceResponse, InfoServiceResponse

public abstract class AbstractServiceResponse
extends java.lang.Object
implements IServiceResponse

This class encapsulates the response of an any service request. It implements the interface IServiceResponse.


Field Summary
protected  byte[] abResponse
           
 
Constructor Summary
AbstractServiceResponse(byte[] abResponse)
          Default constructor.
 
Method Summary
 ICommonHeader getCommonHeader()
           
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface de.sagd.u4etx.cis.IServiceResponse
getServiceResponseObject
 

Field Detail

abResponse

protected byte[] abResponse
Constructor Detail

AbstractServiceResponse

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

getCommonHeader

public ICommonHeader getCommonHeader()
Specified by:
getCommonHeader in interface IServiceResponse
Returns:
The common header of the response.