| 7 | const char destination_table_path[] = "./destination_table"; |
| 8 | |
| 9 | class InInterface : public RNS::InterfaceImpl { |
| 10 | public: |
| 11 | InInterface(const char *name = "InInterface") : RNS::InterfaceImpl(name) { |
| 12 | _OUT = false; |
| 13 | _IN = true; |
| 14 | } |
| 15 | virtual ~InInterface() { |
| 16 | _name = "(deleted)"; |
| 17 | } |
| 18 | // Incoming interface only, send_outgoing not currently implemented |
| 19 | virtual bool send_outgoing(const RNS::Bytes &data) { return true; } |
| 20 | // Incoming is be handled automatically by InterfaceImpl::handle_incoming called via Interface::handle_incoming from OutInterface |
| 21 | }; |
| 22 | |
| 23 | class OutInterface : public RNS::InterfaceImpl { |
| 24 | public: |
nothing calls this directly
no outgoing calls
no test coverage detected