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