ObjectQ - Overview - simRequest.h

simRequest_h.h


#ifndef simRequest_h
#define simRequest_h

#include <List.h>
#include "cpCommon.h"
#include "cpMsgUtil.h"
#include "cpResource.h"

class Requestor: public cpObjectNotify{
public:
Requestor();
Requestor(const cpManagerResource &mRes, const String &service);
~Requestor();

void notifyComplete(cpManager *mgr);

cpStatus get(const String &className,
const List<cpAttribute> &attrList,
const cpInstanceId &id);

private:
cpManagerResource _resource;
String _service;
};

#endif