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.

Detailed Description

Definition at line 238 of file I3Session.cc.


Member Function Documentation

void I3SessionClientStarter::initializeI3 (  )  [virtual]

Application I3 initialize - should be overwritten by application.

Reimplemented from I3SessionClient.

Definition at line 246 of file I3Session.cc.

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


The documentation for this class was generated from the following file:
Generated on Wed May 26 16:21:17 2010 for OverSim by  doxygen 1.6.3