RPCBackend
template<class ServiceType, typename RequestType, typename ResponseType>class RPCBackend
Template Parameters
class ServiceType
typename RequestType
typename ResponseType
Subclassed by: ExchangeRPCBackend<ServiceType, RequestType, ResponseType>, PollingRPCBackend<ServiceType, RequestType, ResponseType>, ProducerRPCBackend<ServiceType, RequestType, ResponseType>
Public Interface
Constructor:
RPCBackend
inline RPCBackend(AsyncRPCHandle TargetRPC, std::shared_ptr<ServiceType> Service, std::unique_ptr<ServerCompletionQueue> CQueue)
Parameters:
Name | Type | Default |
---|---|---|
TargetRPC | AsyncRPCHandle | “ |
Service | std::shared_ptr<ServiceType> | “ |
CQueue | std::unique_ptr<ServerCompletionQueue> | “ |
Attributes: inline
Source: Schola/Source/Schola/Public/Communicator/AbstractRPCBackend.h
(line 31, column 1)
Public Functions:
SetCompletionQueue
inline void SetCompletionQueue(std::unique_ptr<ServerCompletionQueue> CQueue)
Parameters:
Name | Type | Default |
---|---|---|
CQueue | std::unique_ptr<ServerCompletionQueue> | “ |
Attributes: inline
Source: Schola/Source/Schola/Public/Communicator/AbstractRPCBackend.h
(line 38, column 6)
Protected Interface
Protected Members:
std::unique_ptr<ServerCompletionQueue> _CQueue
std::unique_ptr<ServerCompletionQueue> _CQueue
Attributes: protected
Source: Schola/Source/Schola/Public/Communicator/AbstractRPCBackend.h
(line 16, column 17)
std::shared_ptr<ServiceType> Service
std::shared_ptr<ServiceType> Service
Attributes: protected
Source: Schola/Source/Schola/Public/Communicator/AbstractRPCBackend.h
(line 17, column 19)
std::unique_ptr<Server> Server
std::unique_ptr<Server> Server
Attributes: protected
Source: Schola/Source/Schola/Public/Communicator/AbstractRPCBackend.h
(line 18, column 19)
AsyncRPCHandle TargetRPC
AsyncRPCHandle TargetRPC
Attributes: protected
Source: Schola/Source/Schola/Public/Communicator/AbstractRPCBackend.h
(line 28, column 16)
Used By: ExchangeRPCBackend, PollingRPCBackend, ProducerRPCBackend
Source: Schola/Source/Schola/Public/Communicator/AbstractRPCBackend.h
(line 10, column 1)