GRPC C++  1.26.0
Public Member Functions | Protected Member Functions
grpc::internal::CallOpSendMessage Class Reference

#include <call_op_set.h>

Public Member Functions

 CallOpSendMessage ()
 
template<class M >
Status SendMessage (const M &message, WriteOptions options) GRPC_MUST_USE_RESULT
 Send message using options for the write. More...
 
template<class M >
Status SendMessage (const M &message) GRPC_MUST_USE_RESULT
 
template<class M >
Status SendMessagePtr (const M *message, WriteOptions options) GRPC_MUST_USE_RESULT
 Send message using options for the write. More...
 
template<class M >
Status SendMessagePtr (const M *message) GRPC_MUST_USE_RESULT
 This form of SendMessage allows gRPC to reference message beyond the lifetime of SendMessage. More...
 

Protected Member Functions

void AddOp (grpc_op *ops, size_t *nops)
 
void FinishOp (bool *status)
 
void SetInterceptionHookPoint (InterceptorBatchMethodsImpl *interceptor_methods)
 
void SetFinishInterceptionHookPoint (InterceptorBatchMethodsImpl *interceptor_methods)
 
void SetHijackingState (InterceptorBatchMethodsImpl *)
 

Constructor & Destructor Documentation

◆ CallOpSendMessage()

grpc::internal::CallOpSendMessage::CallOpSendMessage ( )
inline

Member Function Documentation

◆ AddOp()

void grpc::internal::CallOpSendMessage::AddOp ( grpc_op ops,
size_t *  nops 
)
inlineprotected

◆ FinishOp()

void grpc::internal::CallOpSendMessage::FinishOp ( bool *  status)
inlineprotected

◆ SendMessage() [1/2]

template<class M >
Status grpc::internal::CallOpSendMessage::SendMessage ( const M &  message,
WriteOptions  options 
)

Send message using options for the write.

The options are cleared after use.

◆ SendMessage() [2/2]

template<class M >
Status grpc::internal::CallOpSendMessage::SendMessage ( const M &  message)

◆ SendMessagePtr() [1/2]

template<class M >
Status grpc::internal::CallOpSendMessage::SendMessagePtr ( const M *  message,
WriteOptions  options 
)

Send message using options for the write.

The options are cleared after use. This form of SendMessage allows gRPC to reference message beyond the lifetime of SendMessage.

◆ SendMessagePtr() [2/2]

template<class M >
Status grpc::internal::CallOpSendMessage::SendMessagePtr ( const M *  message)

This form of SendMessage allows gRPC to reference message beyond the lifetime of SendMessage.

◆ SetFinishInterceptionHookPoint()

void grpc::internal::CallOpSendMessage::SetFinishInterceptionHookPoint ( InterceptorBatchMethodsImpl interceptor_methods)
inlineprotected

◆ SetHijackingState()

void grpc::internal::CallOpSendMessage::SetHijackingState ( InterceptorBatchMethodsImpl )
inlineprotected

◆ SetInterceptionHookPoint()

void grpc::internal::CallOpSendMessage::SetInterceptionHookPoint ( InterceptorBatchMethodsImpl interceptor_methods)
inlineprotected

The documentation for this class was generated from the following file: