Server Class ReferenceΒΆ
|
Sample Model
|
Server Class Reference
#include <Server.h>
Public Member Functions | |
| bool | isIdle () const |
Protected Member Functions | |
| virtual simtime_t | getServiceTime (cMessage *job) |
Detailed Description
Serves one job at a time. A long job takes twice the serviceTime parameter.
See the NED documentation for parameters and statistics.
Member Function Documentation
◆ isIdle()
|
inline |
Whether the server can take a job now.
◆ getServiceTime()
|
protectedvirtual |
The service time of the job, from its kind and the serviceTime parameter.
Generated by