|
|
@ -539,8 +539,7 @@ inline void InterceptClientToServerMessage( |
|
|
|
|
|
|
|
|
|
|
|
template <typename Derived> |
|
|
|
template <typename Derived> |
|
|
|
inline void InterceptClientToServerMessage( |
|
|
|
inline void InterceptClientToServerMessage( |
|
|
|
absl::StatusOr<MessageHandle> (Derived::Call::* fn)(MessageHandle, |
|
|
|
absl::StatusOr<MessageHandle> (Derived::Call::*fn)(MessageHandle, Derived*), |
|
|
|
Derived*), |
|
|
|
|
|
|
|
FilterCallData<Derived>* call_data, const CallArgs& call_args) { |
|
|
|
FilterCallData<Derived>* call_data, const CallArgs& call_args) { |
|
|
|
GPR_DEBUG_ASSERT(fn == &Derived::Call::OnClientToServerMessage); |
|
|
|
GPR_DEBUG_ASSERT(fn == &Derived::Call::OnClientToServerMessage); |
|
|
|
call_args.client_to_server_messages->InterceptAndMap( |
|
|
|
call_args.client_to_server_messages->InterceptAndMap( |
|
|
@ -601,8 +600,7 @@ inline void InterceptClientToServerMessage( |
|
|
|
|
|
|
|
|
|
|
|
template <typename Derived> |
|
|
|
template <typename Derived> |
|
|
|
inline void InterceptClientToServerMessage( |
|
|
|
inline void InterceptClientToServerMessage( |
|
|
|
absl::StatusOr<MessageHandle> (Derived::Call::* fn)(MessageHandle, |
|
|
|
absl::StatusOr<MessageHandle> (Derived::Call::*fn)(MessageHandle, Derived*), |
|
|
|
Derived*), |
|
|
|
|
|
|
|
typename Derived::Call* call, Derived* channel, |
|
|
|
typename Derived::Call* call, Derived* channel, |
|
|
|
PipeBasedCallSpine* call_spine) { |
|
|
|
PipeBasedCallSpine* call_spine) { |
|
|
|
GPR_DEBUG_ASSERT(fn == &Derived::Call::OnClientToServerMessage); |
|
|
|
GPR_DEBUG_ASSERT(fn == &Derived::Call::OnClientToServerMessage); |
|
|
@ -622,8 +620,8 @@ inline void InterceptClientInitialMetadata(const NoInterceptor*, void*, void*, |
|
|
|
|
|
|
|
|
|
|
|
template <typename Derived> |
|
|
|
template <typename Derived> |
|
|
|
inline void InterceptClientInitialMetadata( |
|
|
|
inline void InterceptClientInitialMetadata( |
|
|
|
void (Derived::Call::* fn)(ClientMetadata& md), |
|
|
|
void (Derived::Call::*fn)(ClientMetadata& md), typename Derived::Call* call, |
|
|
|
typename Derived::Call* call, Derived*, PipeBasedCallSpine* call_spine) { |
|
|
|
Derived*, PipeBasedCallSpine* call_spine) { |
|
|
|
GPR_DEBUG_ASSERT(fn == &Derived::Call::OnClientInitialMetadata); |
|
|
|
GPR_DEBUG_ASSERT(fn == &Derived::Call::OnClientInitialMetadata); |
|
|
|
call_spine->client_initial_metadata().receiver.InterceptAndMap( |
|
|
|
call_spine->client_initial_metadata().receiver.InterceptAndMap( |
|
|
|
[call](ClientMetadataHandle md) { |
|
|
|
[call](ClientMetadataHandle md) { |
|
|
@ -907,8 +905,7 @@ inline void InterceptServerToClientMessage( |
|
|
|
|
|
|
|
|
|
|
|
template <typename Derived> |
|
|
|
template <typename Derived> |
|
|
|
inline void InterceptServerToClientMessage( |
|
|
|
inline void InterceptServerToClientMessage( |
|
|
|
absl::StatusOr<MessageHandle> (Derived::Call::* fn)(MessageHandle, |
|
|
|
absl::StatusOr<MessageHandle> (Derived::Call::*fn)(MessageHandle, Derived*), |
|
|
|
Derived*), |
|
|
|
|
|
|
|
FilterCallData<Derived>* call_data, const CallArgs& call_args) { |
|
|
|
FilterCallData<Derived>* call_data, const CallArgs& call_args) { |
|
|
|
GPR_DEBUG_ASSERT(fn == &Derived::Call::OnServerToClientMessage); |
|
|
|
GPR_DEBUG_ASSERT(fn == &Derived::Call::OnServerToClientMessage); |
|
|
|
call_args.server_to_client_messages->InterceptAndMap( |
|
|
|
call_args.server_to_client_messages->InterceptAndMap( |
|
|
@ -969,8 +966,7 @@ inline void InterceptServerToClientMessage( |
|
|
|
|
|
|
|
|
|
|
|
template <typename Derived> |
|
|
|
template <typename Derived> |
|
|
|
inline void InterceptServerToClientMessage( |
|
|
|
inline void InterceptServerToClientMessage( |
|
|
|
absl::StatusOr<MessageHandle> (Derived::Call::* fn)(MessageHandle, |
|
|
|
absl::StatusOr<MessageHandle> (Derived::Call::*fn)(MessageHandle, Derived*), |
|
|
|
Derived*), |
|
|
|
|
|
|
|
typename Derived::Call* call, Derived* channel, |
|
|
|
typename Derived::Call* call, Derived* channel, |
|
|
|
PipeBasedCallSpine* call_spine) { |
|
|
|
PipeBasedCallSpine* call_spine) { |
|
|
|
GPR_DEBUG_ASSERT(fn == &Derived::Call::OnServerToClientMessage); |
|
|
|
GPR_DEBUG_ASSERT(fn == &Derived::Call::OnServerToClientMessage); |
|
|
|