mirror of
https://github.com/oxen-io/lokinet.git
synced 2024-11-15 12:13:24 +00:00
18 lines
305 B
C++
18 lines
305 B
C++
#ifndef LLARP_ENDPOINT_HANDLER_HPP
|
|
#define LLARP_ENDPOINT_HANDLER_HPP
|
|
|
|
#include <llarp/buffer.h>
|
|
|
|
namespace llarp
|
|
{
|
|
// hidden service endpoint handler
|
|
struct IEndpointHandler
|
|
{
|
|
~IEndpointHandler(){};
|
|
|
|
virtual void
|
|
HandleMessage(llarp_buffer_t buf) = 0;
|
|
};
|
|
} // namespace llarp
|
|
|
|
#endif |