17 lines
373 B
C++
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;
|
|
};
|