IServer

Package: sample.queueing

module interface IServer

Interface of the servers that a QueueingNode can use: a server takes jobs on its input and sends them on when it has served them.

Usage diagram

Inheritance diagram

Implemented by

Name

Type

Description

Server

simple module

Serves one job at a time, each for its service time, and asks its queue for the next one when it is idle.

Used in compound modules

Name

Type

Description

QueueingNode

compound module

A queue in front of a server. The server is any module that implements IServer.

Source code

//
// Interface of the servers that a ~QueueingNode can use: a server takes jobs on its input and sends them on
// when it has served them.
//
moduleinterface IServer
{
    gates:
        input in;
        output out;
}

File: src/sample/queueing/IServer.ned