mirror of
https://github.com/oxen-io/lokinet.git
synced 2024-11-05 21:20:38 +00:00
60 lines
1.0 KiB
C++
60 lines
1.0 KiB
C++
#include <llarp/messages/relay.hpp>
|
|
|
|
namespace llarp
|
|
{
|
|
RelayUpstreamMessage::RelayUpstreamMessage(const RouterID &from)
|
|
: ILinkMessage(from)
|
|
{
|
|
}
|
|
|
|
RelayUpstreamMessage::~RelayUpstreamMessage()
|
|
{
|
|
}
|
|
|
|
bool
|
|
RelayUpstreamMessage::BEncode(llarp_buffer_t *buf) const
|
|
{
|
|
// TODO: implement me
|
|
return false;
|
|
}
|
|
|
|
bool
|
|
RelayUpstreamMessage::DecodeKey(llarp_buffer_t key, llarp_buffer_t *buf)
|
|
{
|
|
return false;
|
|
}
|
|
|
|
bool
|
|
RelayUpstreamMessage::HandleMessage(llarp_router *router) const
|
|
{
|
|
return false;
|
|
}
|
|
|
|
RelayDownstreamMessage::RelayDownstreamMessage(const RouterID &from)
|
|
: ILinkMessage(from)
|
|
{
|
|
}
|
|
|
|
RelayDownstreamMessage::~RelayDownstreamMessage()
|
|
{
|
|
}
|
|
bool
|
|
RelayDownstreamMessage::BEncode(llarp_buffer_t *buf) const
|
|
{
|
|
// TODO: implement me
|
|
return false;
|
|
}
|
|
|
|
bool
|
|
RelayDownstreamMessage::DecodeKey(llarp_buffer_t key, llarp_buffer_t *buf)
|
|
{
|
|
return false;
|
|
}
|
|
|
|
bool
|
|
RelayDownstreamMessage::HandleMessage(llarp_router *router) const
|
|
{
|
|
return false;
|
|
}
|
|
}
|