Public Member Functions

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::getDispatchType (  ) const [inline]

returns the dispatching type

Returns:
Type of dispatching
Uint zeus::TCCTPRequest::getMethod (  ) const [inline]

Returns the method of the CCTP

Retval TCCTPRequest::parse ( const TByteArray rIn )

This Method parses a incomming request

Parameters:
rIn: Input data
Return values:
RET_NOERROR: Parsing ok
RET_REQUEST_FAILED: wrong format
void zeus::TCCTPRequest::setData ( const TByteArray data ) [inline]

Sets the data body

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

Sets the dispatching type

Parameters:
uiDispType: Type of dispatching
void zeus::TCCTPRequest::setMethod ( Uint  uiMethod ) [inline]

Sets a method of the CCTP

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:
 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