63 EV <<
"Destination AEName is set to default which is AeErr. AeErr is for special testing purposes. Are you sure that it is right?" << endl;
89 if ( msg->isSelfMessage() )
124 if ( !strcmp(msg->getName(),
TIM_START) ) {
127 else if ( !strcmp(msg->getName(),
TIM_STOP) ) {
130 else if ( strstr(msg->getName(),
MSG_STDATA) ) {
135 obj.objectClass =
"string";
136 obj.objectInstance = -1;
137 obj.objectVal = (cObject*)(
"0123456789abcdef");
139 data->setByteLength(
size);
145 EV << this->getFullPath() <<
" received unknown self-message " << msg->getName();
159 std::ostringstream ss;
161 cMessage* m2 =
new cMessage(ss.str().c_str());
168 cMessage* m3 =
new cMessage(
TIM_STOP);
175 EV <<
"Received data M_DATA";
177 EV <<
" with object '" <<
object.
objectClass <<
"' and value '" <<
object.objectVal <<
"'" << endl;
Class representing flow object with attributes from specs.
void setQosRequirements(const QoSReq &qosReqs)
Sets QoS parameters wanted by flow initiator.
::omnetpp::opp_string objectClass
std::string dstApInstance
virtual void initialize()
simsignal_t sigAEEnrolled
Application Process Name class.
const APNamingInfo & getApni() const
const char * PAR_DSTAENAME
void prepareDeallocateRequest()
std::string srcAeInstance
std::string dstAeInstance
virtual void setObjectItem(const object_t &objectItem)
APNamingInfo holds complete naming info for particular application process.
void initQoSRequiremets()
void prepareAllocateRequest()
const char * PAR_DSTAEINSTANCE
void sendDeallocationRequest(Flow *flow)
virtual void processMRead(CDAPMessage *msg)
void handleSelfMessage(cMessage *msg)
const QoSReq & getQoSRequirements() const
void initSignalsAndListeners()
virtual void handleMessage(cMessage *msg)
std::string srcApInstance
::omnetpp::opp_string objectName
const char * PAR_DSTAPINSTANCE
void sendData(Flow *flow, CDAPMessage *msg)
virtual object_t & getObjectItem()
void sendAllocationRequest(Flow *flow)
const char * PAR_INTERVAL
const char * PAR_DSTAPNAME