source: trunk/ETSI-Testsuites/ETSI_auto_IOT/codec/validation/LoopbackTests/EchoPort.cpp @ 61

Last change on this file since 61 was 22, checked in by rings, 14 years ago
  • Property svn:executable set to *
File size: 389 bytes
Line 
1#include "EchoPort.h"
2using namespace t3devlib;
3
4EchoPort::EchoPort (PortId& id) :
5        Port (id)
6{
7}
8
9EchoPort::~EchoPort()
10{
11}
12
13bool EchoPort::Map (const PortId& connected_port_id)
14{
15  return true;
16}
17 
18bool EchoPort::Unmap (const PortId& connected_port_id)
19{
20  return true;
21}
22
23bool EchoPort::Send (const ComponentId& from,const Bitstring& msg) {
24  return EnqueueMsg (from, msg);
25}
Note: See TracBrowser for help on using the repository browser.