101 cXMLElement* mainTag = NULL;
105 EV <<
"configData parameter not initialized!" << endl;
110 for (cXMLElementList::const_iterator it = enrll.begin(); it != enrll.end(); ++it) {
111 cXMLElement* m = *it;
116 EV <<
"\nError when parsing DAFEnrollmentState record" << endl;
128 if (!statstr.compare(
"CON_ERROR"))
130 else if (!statstr.compare(
"CON_NIL"))
132 else if (!statstr.compare(
"CON_FLOWPENDING"))
134 else if (!statstr.compare(
"CON_CONNECTPENDING"))
136 else if (!statstr.compare(
"CON_AUTHENTICATING"))
138 else if (!statstr.compare(
"CON_ESTABLISHED"))
140 else if (!statstr.compare(
"CON_RELEASING"))
147 if (!enrlstr.compare(
"ENROLL_ERROR"))
149 else if (!enrlstr.compare(
"ENROLL_NIL"))
151 else if (!enrlstr.compare(
"ENROLL_WAIT_START_ENROLLMENT"))
153 else if (!enrlstr.compare(
"ENROLL_WAIT_START_RESPONSE_ENROLLMENT"))
155 else if (!enrlstr.compare(
"ENROLL_WAIT_STOP_ENROLLMENT"))
157 else if (!enrlstr.compare(
"ENROLL_WAIT_STOP_RESPONSE_ENROLLMENT"))
159 else if (!enrlstr.compare(
"ENROLL_WAIT_READ_RESPONSE"))
161 else if (!enrlstr.compare(
"ENROLL_WAIT_START_OPERATION"))
163 else if (!enrlstr.compare(
"ENROLL_CREATING_OBJ"))
165 else if (!enrlstr.compare(
"ENROLL_ENROLLED"))
const APNamingInfo & getRemote() const
const char * DAF_ATTR_CACE
DAFEnrollmentStateTableEntry * findEntryByDstAPNI(const APNamingInfo &apni)
Define_Module(DAFEnrollmentStateTable)
Application Process Name class.
DAFEnrollmentStateTableEntry * findEntryByDstAPN(const APN &apn)
const char * DAF_DAF_ELEM_ENSTATETAB
const char * DAF_ELEM_ENSTATE
const char * PAR_CONFIGDATA
const std::string & getAename() const
Getter of AE name.
const APN & getApn() const
Getter of APN.
void insert(DAFEnrollmentStateTableEntry entry)
bool isEnrolled(const APN &myApn)
APNamingInfo holds complete naming info for particular application process.
DAFEnrollStateTable StateTable
const char * DAF_ATTR_ENROLL
virtual void initialize()
DAFEnrollment state table .
const APNamingInfo & getLocal() const
const std::string & getAeinstance() const
Getter of AE-instance attribute.
const std::string & getApinstance() const
Getter of AP-instance id.
void parseConfig(cXMLElement *config)
virtual void handleMessage(cMessage *msg)
DAFEnrollmentStateTableEntry::DAFEnrollmentStatus getDAFEnrollmentStatus() const