TRequest Class Reference

List of all members.

Public Types

enum  TOperationType { EFetchTasks = 1, ETaskDone }

Static Public Member Functions

static void GetMessage (TDesC &aUsername, TDesC &aPassword, TRequest::TOperationType aOperation, TDesC &aId, TDes8 &aMessage)

Detailed Description

A parser class for handling requests to the server.

Definition at line 44 of file Request.h.

Member Enumeration Documentation

Determines which operation is in question.

Definition at line 41 of file Request.h.

Member Function Documentation

void TRequest::GetMessage ( TDesC &  aUsername,
TDesC &  aPassword,
TRequest::TOperationType  aOperation,
TDesC &  aId,
TDes8 &  aMessage 
) [static]

Function returns a valid message descriptor via reference parameter.

aUsername Client's username.
aPassword Client's password.
aOperation Type of operation.
aId Id of the task to be completed.
aMessage The descriptor to which the message is saved.

Definition at line 52 of file Request.cpp.

Generated by  doxygen 1.6.2