Skip to content

Template Class ProducerRPCWorker

Template Class ProducerRPCWorker

  • Defined in File ProducerRPCBackend.h

Inheritance Relationships

Base Type

  • public FRunnable
template <class ServiceType, typename RequestType, typename ResponseType>
class ProducerRPCWorker : public FRunnable

Source: Source/Schola/Protobuf/Public/ProtobufBackends/gRPC/ProducerRPCBackend.h

Dependencies: TCallData


Public Functions

SymbolDetails
ProducerRPCWorker
~ProducerRPCWorker
InitInitialize the worker.
RunThis workers main method.
StartStart the worker.
StopShutdown the worker and it’s associated completion queue.
ExitUnused.

ProducerRPCWorker

inline ProducerRPCWorker(ServerCompletionQueue *CQueue, int ID)
#DirectionNameTypeDescription
1CQueueServerCompletionQueue *
2IDint

Attributes: inline

Source: Source/Schola/Protobuf/Public/ProtobufBackends/gRPC/ProducerRPCBackend.h


~ProducerRPCWorker

inline ~ProducerRPCWorker()

Attributes: inline

Source: Source/Schola/Protobuf/Public/ProtobufBackends/gRPC/ProducerRPCBackend.h

Init

inline virtual bool Init()

Initialize the worker.

Returns:

True. Since initialization cannot fail

Attributes: inline, virtual

Source: Source/Schola/Protobuf/Public/ProtobufBackends/gRPC/ProducerRPCBackend.h

Run

inline virtual uint32 Run()

This workers main method.

Returns:

A status code representing the result

Attributes: inline, virtual

Source: Source/Schola/Protobuf/Public/ProtobufBackends/gRPC/ProducerRPCBackend.h

Start

inline void Start()

Start the worker.

Attributes: inline

Source: Source/Schola/Protobuf/Public/ProtobufBackends/gRPC/ProducerRPCBackend.h

Stop

inline virtual void Stop()

Shutdown the worker and it’s associated completion queue.

Attributes: inline, virtual

Source: Source/Schola/Protobuf/Public/ProtobufBackends/gRPC/ProducerRPCBackend.h

Exit

inline virtual void Exit()

Unused.

Called when the thread completes

Attributes: inline, virtual

Source: Source/Schola/Protobuf/Public/ProtobufBackends/gRPC/ProducerRPCBackend.h


Public Members

SymbolDetails
Thread

Thread

FRunnableThread *Thread = nullptr