fixed trace bug
[lcr.git] / endpointapp.cpp
1 /*****************************************************************************\
2 **                                                                           **
3 ** Linux Call Router                                                         **
4 **                                                                           **
5 **---------------------------------------------------------------------------**
6 ** Copyright: Andreas Eversberg                                              **
7 **                                                                           **
8 ** The EndpointApp represents the application for the Endpoint.              **
9 **                                                                           **
10 \*****************************************************************************/ 
11
12 #include "main.h"
13
14 /*
15  * EndpointApp constructor
16  */
17 EndpointApp::EndpointApp(class Endpoint *epoint, int origin)
18 {
19         ea_endpoint = epoint;
20         classuse++;
21 }
22
23 /*
24  * endpoint destructor
25  */
26 EndpointApp::~EndpointApp(void)
27 {
28         classuse--;
29 }
30
31 int EndpointApp::handler(void)
32 {
33         return(0);
34 }
35
36 /* mini application for test purpose only */
37
38 void EndpointApp::ea_message_port(unsigned int port_id, int message_type, union parameter *param)
39 {
40         PDEBUG(DEBUG_EPOINT, "%s: Spare function.\n", __FUNCTION__);
41 }
42
43 void EndpointApp::ea_message_join(unsigned int join_id, int message_type, union parameter *param)
44 {
45         PDEBUG(DEBUG_EPOINT, "%s: Spare function.\n", __FUNCTION__);
46 }
47