-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtupleserver.h
More file actions
51 lines (38 loc) · 1.13 KB
/
tupleserver.h
File metadata and controls
51 lines (38 loc) · 1.13 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
/*******************************************************************
*
* DESCRIPTION: class CPU (processes jobs with a specified
* distribution)
*
* AUTHOR: Amir Barylko & Jorge Beyoglonian
*
* EMAIL: mailto://amir@dc.uba.ar
* mailto://jbeyoglo@dc.uba.ar
*
* DATE: 27/6/1998
*
*******************************************************************/
#ifndef __TUPLESERVER_H
#define __TUPLESERVER_H
/** include files **/
#include "atomic.h" // class Atomic
/** declarations **/
class Tupleserver: public Atomic
{
public:
Tupleserver( const string &name = "Tupleserver" ) ; // Default constructor
virtual string className() const
{return "Tupleserver";}
protected:
Model &initFunction();
Model &externalFunction( const ExternalMessage & );
Model &internalFunction( const InternalMessage & );
Model &outputFunction( const InternalMessage & );
private:
const Port &inSObject, ®isterClient;
Port &outSObject1, &outSObject2, &cRegistered;
int oid ;
int gatewayID;
int inportID;
Time transferTime;
}; // class Transceiver
#endif //__TUPLESERVER_H