zeus::TCCTPResponse Class Reference

#include <CCTPResponse.h>

Inheritance diagram for zeus::TCCTPResponse:

zeus::TZObject zeus::IZUnknown

List of all members.

Public Member Functions

 TCCTPResponse ()
virtual ~TCCTPResponse ()
const TByteArraygetData () const
Uint getState () const
Retval parse (const TByteArray &rIn)
Retval toStream (IByteArray &rArray) const
void setData (const TByteArray &rData)
void setState (Uint uiState)


Detailed Description

This class wrapps a CCTP Response object

Constructor & Destructor Documentation

TCCTPResponse::TCCTPResponse (  ) 

Creates a CCTP Request Object

TCCTPResponse::~TCCTPResponse (  )  [virtual]

Destroys the CCTP Request Object


Member Function Documentation

const TByteArray & zeus::TCCTPResponse::getData (  )  const [inline]

Gets the data body of the response

Uint zeus::TCCTPResponse::getState (  )  const [inline]

Gets the state of the response

Retval TCCTPResponse::parse ( const TByteArray rIn  ) 

This Method parses a incomming response

Parameters:
in : Input data
Return values:
RET_NOERROR : Parsing ok
RET_REQUEST_FAILED : wrong format

Retval TCCTPResponse::toStream ( IByteArray rArray  )  const

Returns a string which contains the CCTP Request

void zeus::TCCTPResponse::setData ( const TByteArray rData  )  [inline]

Sets the data body of the response

void zeus::TCCTPResponse::setState ( Uint  uiState  )  [inline]

Sets the status of the response


The documentation for this class was generated from the following files:


Written by Benjamin Hadorn http://www.xatlantis.ch.
Last change made on Wed Oct 28 21:42:33 2009