mirror of
https://github.com/oxen-io/lokinet.git
synced 2024-10-29 11:05:43 +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 |