AuroraRPC/Source/AuRPCChannel.hpp

17 lines
373 B
C++
Raw Normal View History

2022-07-02 22:08:52 +00:00
/***
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;
};