Public Member Functions

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:
rIn: Input data
Return values:
RET_NOERROR: Parsing ok
RET_REQUEST_FAILED: wrong format
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

Retval TCCTPResponse::toStream ( IByteArray rArray ) const

Returns a string which contains the CCTP Request


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines


Written by Benjamin Hadorn http://www.xatlantis.ch.
Last change made on Sun Jan 22 2012 15:28:28