INET Framework for OMNeT++/OMNEST
inet::httptools::HttpServerStatusUpdateMsg Class Reference

Class generated from inet/applications/httptools/common/HttpEventMessages.msg:31 by nedtool. More...

#include <HttpEventMessages_m.h>

Inheritance diagram for inet::httptools::HttpServerStatusUpdateMsg:

Public Member Functions

 HttpServerStatusUpdateMsg (const char *name=nullptr, short kind=0)
 
 HttpServerStatusUpdateMsg (const HttpServerStatusUpdateMsg &other)
 
virtual ~HttpServerStatusUpdateMsg ()
 
HttpServerStatusUpdateMsgoperator= (const HttpServerStatusUpdateMsg &other)
 
virtual HttpServerStatusUpdateMsgdup () const override
 
virtual void parsimPack (omnetpp::cCommBuffer *b) const override
 
virtual void parsimUnpack (omnetpp::cCommBuffer *b) override
 
virtual const char * www () const
 
virtual void setWww (const char *www)
 
virtual ::omnetpp::simtime_t setTime () const
 
virtual void setSetTime (::omnetpp::simtime_t setTime)
 
virtual int eventKind () const
 
virtual void setEventKind (int eventKind)
 
virtual double pvalue () const
 
virtual void setPvalue (double pvalue)
 
virtual double pamortize () const
 
virtual void setPamortize (double pamortize)
 

Protected Member Functions

bool operator== (const HttpServerStatusUpdateMsg &)
 

Protected Attributes

::omnetpp::opp_string www_var
 
::omnetpp::simtime_t setTime_var
 
int eventKind_var
 
double pvalue_var
 
double pamortize_var
 

Private Member Functions

void copy (const HttpServerStatusUpdateMsg &other)
 

Detailed Description

Class generated from inet/applications/httptools/common/HttpEventMessages.msg:31 by nedtool.

//
// Server status update event
//
// Used by the controller to trigger popularity modifications for web sites.
//
// NEW: The definition has been migrated to OMNeT++ 4.0 and the latest INET version.
//
// @author  Kristjan V. Jonsson
//
packet HttpServerStatusUpdateMsg
{
    @omitGetVerb(true);
    @fieldNameSuffix("_var");
    string www;             // Name of the WWW site.
    simtime_t setTime;      // The event set time.
    int eventKind;          // The event kind, e.g. ss_special.
    double pvalue;          // The initial elevated probability.
    double pamortize;       // The amortization factor – i.e. how much the pvalue is decreased on each hit.
}

Constructor & Destructor Documentation

inet::httptools::HttpServerStatusUpdateMsg::HttpServerStatusUpdateMsg ( const char *  name = nullptr,
short  kind = 0 
)
inet::httptools::HttpServerStatusUpdateMsg::HttpServerStatusUpdateMsg ( const HttpServerStatusUpdateMsg other)
virtual inet::httptools::HttpServerStatusUpdateMsg::~HttpServerStatusUpdateMsg ( )
virtual

Member Function Documentation

void inet::httptools::HttpServerStatusUpdateMsg::copy ( const HttpServerStatusUpdateMsg other)
private
virtual HttpServerStatusUpdateMsg* inet::httptools::HttpServerStatusUpdateMsg::dup ( ) const
inlineoverridevirtual
79 {return new HttpServerStatusUpdateMsg(*this);}
HttpServerStatusUpdateMsg(const char *name=nullptr, short kind=0)
virtual int inet::httptools::HttpServerStatusUpdateMsg::eventKind ( ) const
virtual
HttpServerStatusUpdateMsg& inet::httptools::HttpServerStatusUpdateMsg::operator= ( const HttpServerStatusUpdateMsg other)
bool inet::httptools::HttpServerStatusUpdateMsg::operator== ( const HttpServerStatusUpdateMsg )
protected
virtual double inet::httptools::HttpServerStatusUpdateMsg::pamortize ( ) const
virtual
virtual void inet::httptools::HttpServerStatusUpdateMsg::parsimPack ( omnetpp::cCommBuffer *  b) const
overridevirtual
virtual void inet::httptools::HttpServerStatusUpdateMsg::parsimUnpack ( omnetpp::cCommBuffer *  b)
overridevirtual
virtual double inet::httptools::HttpServerStatusUpdateMsg::pvalue ( ) const
virtual
virtual void inet::httptools::HttpServerStatusUpdateMsg::setEventKind ( int  eventKind)
virtual
virtual void inet::httptools::HttpServerStatusUpdateMsg::setPamortize ( double  pamortize)
virtual
virtual void inet::httptools::HttpServerStatusUpdateMsg::setPvalue ( double  pvalue)
virtual
virtual void inet::httptools::HttpServerStatusUpdateMsg::setSetTime ( ::omnetpp::simtime_t  setTime)
virtual
virtual ::omnetpp::simtime_t inet::httptools::HttpServerStatusUpdateMsg::setTime ( ) const
virtual void inet::httptools::HttpServerStatusUpdateMsg::setWww ( const char *  www)
virtual
virtual const char* inet::httptools::HttpServerStatusUpdateMsg::www ( ) const
virtual

Member Data Documentation

int inet::httptools::HttpServerStatusUpdateMsg::eventKind_var
protected
double inet::httptools::HttpServerStatusUpdateMsg::pamortize_var
protected
double inet::httptools::HttpServerStatusUpdateMsg::pvalue_var
protected
::omnetpp::simtime_t inet::httptools::HttpServerStatusUpdateMsg::setTime_var
protected
::omnetpp::opp_string inet::httptools::HttpServerStatusUpdateMsg::www_var
protected

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