Main Page | Class Hierarchy | Class List | File List | Class Members | Related Pages

net::QueryMessage Class Reference

This class defines the type of message we can send to a server process or receive from a client process. More...

#include <QueryMessage.h>

Inheritance diagram for net::QueryMessage:

net::Message List of all members.

Public Member Functions

 QueryMessage ()
 Constructor for QueryMessage.
 QueryMessage (Message *aMsg)
 Copy constructor.
void SetCommand (string aCommand)
 Set the command.
void AppendParameter (string aParameter)
 Append a parameter to the list of parameters.
string GetCommand ()
 Gets the current command.
vector< string > GetParameters ()
 Get a vector containing all the parameters.
string getData (void)
 Get the QueryMessage as a string which can be send over the network.

Detailed Description

This class defines the type of message we can send to a server process or receive from a client process.


Constructor & Destructor Documentation

net::QueryMessage::QueryMessage Message aMsg  ) 
 

Copy constructor.

Parameters:
aMsg The Message to copy


Member Function Documentation

void net::QueryMessage::AppendParameter string  aParameter  ) 
 

Append a parameter to the list of parameters.

Parameters:
aParameter A string containing the parameter to add

string net::QueryMessage::GetCommand  ) 
 

Gets the current command.

Returns:
The current command

string net::QueryMessage::getData void   )  [virtual]
 

Get the QueryMessage as a string which can be send over the network.

Returns:
The data

Reimplemented from net::Message.

vector<string> net::QueryMessage::GetParameters  ) 
 

Get a vector containing all the parameters.

Returns:
A string vector containing the parameters

void net::QueryMessage::SetCommand string  aCommand  ) 
 

Set the command.

Parameters:
aCommand A string containing the command


The documentation for this class was generated from the following file:
Generated on Fri May 19 23:12:37 2006 for common by  doxygen 1.4.4