Commit | Line | Data |
---|---|---|
970ed795 | 1 | /////////////////////////////////////////////////////////////////////////////// |
3abe9331 | 2 | // Copyright (c) 2000-2015 Ericsson Telecom AB |
970ed795 EL |
3 | // All rights reserved. This program and the accompanying materials |
4 | // are made available under the terms of the Eclipse Public License v1.0 | |
5 | // which accompanies this distribution, and is available at | |
6 | // http://www.eclipse.org/legal/epl-v10.html | |
7 | /////////////////////////////////////////////////////////////////////////////// | |
8 | // This Test Port skeleton source file was generated by the | |
9 | // TTCN-3 Compiler of the TTCN-3 Test Executor version 1.3.pl0 | |
10 | // for Matyas Forstner (tmpmfr@saussure) on Thu Apr 10 16:06:07 2003 | |
11 | ||
12 | ||
13 | // You may modify this file. Complete the body of empty functions and | |
14 | // add your member functions here. | |
15 | ||
16 | #include "MyPort1.hh" | |
17 | ||
18 | #ifndef OLD_NAMES | |
19 | using namespace X682; | |
20 | ||
21 | namespace X { | |
22 | #endif | |
23 | ||
24 | MyPort1::MyPort1(const char *par_port_name) | |
25 | : MyPort1_BASE(par_port_name) | |
26 | { | |
27 | ||
28 | } | |
29 | ||
30 | MyPort1::~MyPort1() | |
31 | { | |
32 | ||
33 | } | |
34 | ||
35 | void MyPort1::set_parameter(const char *parameter_name, | |
36 | const char *parameter_value) | |
37 | { | |
38 | ||
39 | } | |
40 | ||
41 | void MyPort1::Event_Handler(const fd_set *read_fds, | |
42 | const fd_set *write_fds, const fd_set *error_fds, | |
43 | double time_since_last_call) | |
44 | { | |
45 | ||
46 | } | |
47 | ||
48 | void MyPort1::user_map(const char *system_port) | |
49 | { | |
50 | ||
51 | } | |
52 | ||
53 | void MyPort1::user_unmap(const char *system_port) | |
54 | { | |
55 | ||
56 | } | |
57 | ||
58 | void MyPort1::user_start() | |
59 | { | |
60 | ||
61 | } | |
62 | ||
63 | void MyPort1::user_stop() | |
64 | { | |
65 | ||
66 | } | |
67 | ||
68 | void MyPort1::outgoing_send(const ErrorReturn& send_par) | |
69 | { | |
70 | TTCN_Buffer buf; | |
71 | send_par.encode(ErrorReturn_descr_, buf, | |
72 | TTCN_EncDec::CT_BER, BER_ENCODE_DER); | |
73 | OCTETSTRING os; | |
74 | buf.get_string(os); | |
75 | incoming_message(os); | |
76 | } | |
77 | ||
78 | #ifndef OLD_NAMES | |
79 | } | |
80 | #endif |