I3SessionClientStarter Class Reference

Inheritance diagram for I3SessionClientStarter:

I3SessionClient I3BaseApp

List of all members.

Public Member Functions

void initializeI3 ()
 Application I3 initialize - should be overwritten by application.


Member Function Documentation

void I3SessionClientStarter::initializeI3 (  )  [virtual]

Application I3 initialize - should be overwritten by application.

Reimplemented from I3SessionClient.

00243                                           {
00244     I3SessionClient::initializeI3();
00245 
00246     /* start session */
00247     insertTrigger(clientIdentifier, int(par("sessionMobilityType")) != DONT_REMOVE); // renew only if type != DONT_REMOVE
00248     holdsSession = true;
00249 
00250     SessionMsg *newMsg = new SessionMsg();
00251     newMsg->setType(PAYLOAD);
00252     newMsg->setValue(0);
00253     sendPacket(serverIdentifier, newMsg);
00254 
00255     cMessage *msg = new cMessage();
00256     msg->setKind(TYPE_CHANGE_SESSION);
00257 
00258     std::cout << "Started starts" << endl;
00259     scheduleAt(simulation.simTime() + int(par("sessionTime")), msg);
00260 }


The documentation for this class was generated from the following file:

Generated on Fri Sep 19 13:05:07 2008 for ITM OverSim by  doxygen 1.5.5