AuroraRPC/Source/AuRPCChannel.hpp
2022-07-02 23:13:53 +01:00

17 lines
373 B
C++

/***
Copyright (C) 2022 J Reece Wilson (a/k/a "Reece"). All rights reserved.
File: AuRPCChannel.hpp
Date: 2022-6-29
Author: Reece
***/
#pragma once
struct AuRPCChannel
{
virtual AuSPtr<AuRPC> ToContext() = 0;
virtual bool OnConnect() = 0;
virtual void OnDisconnect(bool error) = 0;
virtual bool OnDataAvailable(AuByteBuffer& view) = 0;
};