Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members   Related Pages  

CAClient Class Reference

#include <ca_client.h>

Inheritance diagram for CAClient:

Inheritance graph
[legend]
Collaboration diagram for CAClient:

Collaboration graph
[legend]
List of all members.

Public Methods

 CAClient (int port_no, string server)
virtual CAClient* GetTarget (const SOAPEnvelope &request)
 returns pointer to this instance of the class. More...

int createAgent (string type, int id)
 this function gets called each time a createAgent message is received. More...

void soap_actionRequest (const SOAPMethod &request, SOAPMethod &response)
 this method is called when an action is to be posted to an agent. More...


Detailed Description

Author:
Vlad Mereuta

Definition at line 35 of file ca_client.h.


Constructor & Destructor Documentation

CAClient::CAClient ( int port_no,
string server )
 

Parameters:
port_no  
server  


Member Function Documentation

CAClient * CAClient::GetTarget ( const SOAPEnvelope & request ) [inline, virtual]
 

returns pointer to this instance of the class.

Parameters:
request  

Definition at line 41 of file ca_client.h.

00041 { return this; }    

int CAClient::createAgent ( string type,
int id ) [virtual]
 

this function gets called each time a createAgent message is received.

It has to be overloaded by each simulation

Parameters:
type   the type of the agent to be created
id   the id of the agent to be created
Returns:
0 for success , other int indicating the failure code
Parameters:
type  
id  

Reimplemented from DALT_Client::DALTClient.

void CAClient::soap_actionRequest ( const SOAPMethod & request,
SOAPMethod & response ) [virtual]
 

this method is called when an action is to be posted to an agent.

The client handles the decoding and calling the executeAction method for the right agent

Parameters:
request  
response  

Reimplemented from DALT_Client::DALTClient.


The documentation for this class was generated from the following file:
Generated at Thu Jan 31 15:20:20 2002 for DALT Client by doxygen1.2.8 written by Dimitri van Heesch, © 1997-2001