00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017 #ifdef HAVE_CONFIG_H
00018 #include "config.h"
00019 #endif
00020
00021 #ifndef CA_CLIENT_H
00022 #define CA_CLIENT_H
00023
00024 #include <easysoap/SOAPDispatchHandler.h>
00025 #include <dalt_client/dalt_client.h>
00026 #include "sense_neighbours.h"
00027
00028 using namespace EasySoap;
00029 using namespace DALT_Client;
00030
00031 class Cell;
00035 class CAClient : public SOAPDispatchHandler<CAClient>, public DALTClient
00036 {
00037 public:
00038 CAClient(int port_no, string server);
00039
00041 virtual CAClient* GetTarget(const SOAPEnvelope& request) { return this; }
00042
00043 int createAgent(string type, int id);
00044
00045 void soap_actionRequest(const SOAPMethod& request, SOAPMethod& response);
00046 };
00047
00048 #include "cell.h"
00049
00050 #endif