ExchangeRPCWorker
template<class ServiceType, typename RequestType, typename ResponseType>class ExchangeRPCWorker : public FRunnable
Template Parameters
class ServiceType
typename RequestType
typename ResponseType
Inherits from: public FRunnable
Public Interface
Constructor:
ExchangeRPCWorker
inline ExchangeRPCWorker(ServerCompletionQueue *CQueue, int ID)
Parameters:
Name | Type | Default |
---|---|---|
CQueue | ServerCompletionQueue * | “ |
ID | int | “ |
Attributes: inline
Source: Schola/Source/Schola/Public/Communicator/ExchangeRPCBackend.h
(line 93, column 1)
Destructor:
~ExchangeRPCWorker
inline ~ExchangeRPCWorker()
Attributes: inline
Source: Schola/Source/Schola/Public/Communicator/ExchangeRPCBackend.h
(line 99, 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/ExchangeRPCBackend.h
(line 107, 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/ExchangeRPCBackend.h
(line 117, column 16)
Start
inline void Start()
Start the worker.
Attributes: inline
Source: Schola/Source/Schola/Public/Communicator/ExchangeRPCBackend.h
(line 179, 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/ExchangeRPCBackend.h
(line 188, column 14)
Exit
inline virtual void Exit()
Unused.
Called when the thread completes
Attributes: inline
, virtual
Source: Schola/Source/Schola/Public/Communicator/ExchangeRPCBackend.h
(line 202, column 14)
Public Members:
FRunnableThread * Thread
FRunnableThread * Thread = = nullptr
Source: Schola/Source/Schola/Public/Communicator/ExchangeRPCBackend.h
(line 91, column 17)
Private Interface
Private Members:
ServerCompletionQueue * CQueue
ServerCompletionQueue * CQueue
Attributes: private
Source: Schola/Source/Schola/Public/Communicator/ExchangeRPCBackend.h
(line 85, column 23)
int LocalID
int LocalID
Attributes: private
Source: Schola/Source/Schola/Public/Communicator/ExchangeRPCBackend.h
(line 87, column 5)
Used By: ExchangeRPCBackend
Source: Schola/Source/Schola/Public/Communicator/ExchangeRPCBackend.h
(line 80, column 1)