32 if ( msg->isSelfMessage() ) {
38 Enter_Method(
"afterOnStart()");
70 ping->setByteLength(
size);
86 EV <<
"Received M_Read with object '" <<
object.
objectName
87 <<
"' of class '" <<
object.objectClass <<
"'" << endl;
90 if ( strstr(
object.objectName.c_str(),
"ping_time") ) {
96 EV <<
"PING sent at " << ts->
t1
97 <<
"s, received at " << ts->
t2
98 <<
"s, OWT1: " << (ts->
t2 - ts->
t1) <<
"s" << endl;
110 pong->setByteLength(msg1->getByteLength());
122 EV <<
"Received M_Read with object '" <<
object.
objectName
123 <<
"' of class '" <<
object.objectClass <<
"'" << endl;
126 if ( strstr(
object.objectName.c_str(),
"pong_time") ) {
132 EV <<
"PING sent at " << ts->
t1
133 <<
"s, received at " << ts->
t2
134 <<
"s, responded at " << ts->
t3
135 <<
"s, OWT1: " << (ts->
t2 - ts->
t1)
136 <<
"s, OWT2: " << (ts->
t3 - ts->
t2)
137 <<
"s, RTT: " << (ts->
t3 - ts->
t1) <<
"s" << endl;
Class representing flow object with attributes from specs.
void setQosRequirements(const QoSReq &qosReqs)
Sets QoS parameters wanted by flow initiator.
void handleSelfMessage(cMessage *msg)
::omnetpp::opp_string objectClass
virtual object_t & getObjectItem()
std::string dstApInstance
Application Process Name class.
const APNamingInfo & getApni() const
virtual void setObjectItem(const object_t &objectItem)
APNamingInfo holds complete naming info for particular application process.
virtual void initialize()
virtual void processMReadR(CDAPMessage *msg)
void sendDeallocationRequest(Flow *flow)
virtual void afterOnStart()
const QoSReq & getQoSRequirements() const
virtual void handleMessage(cMessage *msg)
virtual void processMRead(CDAPMessage *msg)
::omnetpp::opp_string objectName
void sendData(Flow *flow, CDAPMessage *msg)
virtual object_t & getObjectItem()
void sendAllocationRequest(Flow *flow)
virtual void setObjectItem(const object_t &objectItem)
std::string dstAeInstance