ProducerRPCWorker
template<class ServiceType, typename RequestType, typename ResponseType>class ProducerRPCWorker : public FRunnable
Template Parameters
class ServiceType
typename RequestType
typename ResponseType
Inherits from: public FRunnable
Public Interface
Constructor:
ProducerRPCWorker
inline ProducerRPCWorker(ServerCompletionQueue *CQueue, int ID)
Parameters:
Name | Type | Default |
---|---|---|
CQueue | ServerCompletionQueue * | “ |
ID | int | “ |
Attributes: inline
Source: Schola/Source/Schola/Public/Communicator/ProducerRPCBackend.h
(line 28, column 1)
Destructor:
~ProducerRPCWorker
inline ~ProducerRPCWorker()
Attributes: inline
Source: Schola/Source/Schola/Public/Communicator/ProducerRPCBackend.h
(line 34, column 1)
Public Functions:
Init
inline virtual bool Init()
Initialize the worker.
Returns: True. Since initialization cannot fail
Returns: bool
Attributes: inline
, virtual
Source: Schola/Source/Schola/Public/Communicator/ProducerRPCBackend.h
(line 42, column 14)
Run
inline virtual uint32 Run()
This workers main method.
Returns: A status code representing the result
Returns: uint32
Attributes: inline
, virtual
Source: Schola/Source/Schola/Public/Communicator/ProducerRPCBackend.h
(line 52, column 16)
Start
inline void Start()
Start the worker.
Attributes: inline
Source: Schola/Source/Schola/Public/Communicator/ProducerRPCBackend.h
(line 91, column 6)
Stop
inline virtual void Stop()
Shutdown the worker and it’s associated completion queue.
Attributes: inline
, virtual
Source: Schola/Source/Schola/Public/Communicator/ProducerRPCBackend.h
(line 100, column 14)
Exit
inline virtual void Exit()
Unused.
Called when the thread completes
Attributes: inline
, virtual
Source: Schola/Source/Schola/Public/Communicator/ProducerRPCBackend.h
(line 114, column 14)
Public Members:
FRunnableThread * Thread
FRunnableThread * Thread = = nullptr
Source: Schola/Source/Schola/Public/Communicator/ProducerRPCBackend.h
(line 26, column 17)
Private Interface
Private Members:
ServerCompletionQueue * CQueue
ServerCompletionQueue * CQueue
Attributes: private
Source: Schola/Source/Schola/Public/Communicator/ProducerRPCBackend.h
(line 20, column 23)
int LocalID
int LocalID
Attributes: private
Source: Schola/Source/Schola/Public/Communicator/ProducerRPCBackend.h
(line 22, column 5)
Used By: ProducerRPCBackend
Source: Schola/Source/Schola/Public/Communicator/ProducerRPCBackend.h
(line 15, column 1)