zeus::TCCTPRequest Class Reference

#include <CCTPRequest.h>

Inheritance diagram for zeus::TCCTPRequest:

zeus::TZObject zeus::IZUnknown

List of all members.

Public Member Functions

 TCCTPRequest ()
virtual ~TCCTPRequest ()
const TByteArraygetData () const
Uint getMethod () const
Uint getDispatchType () const
void setData (const TByteArray &rData)
void setMethod (Uint uiMethod)
void setDispatchType (Uint uiDispType)
Retval parse (const TByteArray &rIn)
Retval toStream (TByteArray &rArray) const


Detailed Description

This class wrapps a HTTP Request object

Constructor & Destructor Documentation

TCCTPRequest::TCCTPRequest (  ) 

Creates a CCTP Request Object

TCCTPRequest::~TCCTPRequest (  )  [virtual]

Destroys the CCTP Request Object


Member Function Documentation

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

Returns the data body

Uint zeus::TCCTPRequest::getMethod (  )  const [inline]

Returns the method of the CCTP

Uint zeus::TCCTPRequest::getDispatchType (  )  const [inline]

returns the dispatching type

Returns:
Type of dispatching

void zeus::TCCTPRequest::setData ( const TByteArray data  )  [inline]

Sets the data body

void zeus::TCCTPRequest::setMethod ( Uint  uiMethod  )  [inline]

Sets a method of the CCTP

void zeus::TCCTPRequest::setDispatchType ( Uint  uiDispType  )  [inline]

Sets the dispatching type

Parameters:
uiDispType : Type of dispatching

Retval TCCTPRequest::parse ( const TByteArray rIn  ) 

This Method parses a incomming request

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

Retval TCCTPRequest::toStream ( TByteArray rArray  )  const

Returns a stream which contains the CCTP Request


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