Top Description Inners Constructors Methods
io.grpc

public abstract Class ForwardingClientCallListener<RespT>

extends PartialForwardingClientCallListener<RespT>
Class Inheritance
Known Direct Subclasses
io.grpc.ForwardingClientCallListener.SimpleForwardingClientCallListener

A ClientCall.Listener which forwards all of its methods to another ClientCall.Listener.

Nested and Inner Type Summary

Modifier and TypeClass and Description
public abstract static class
ForwardingClientCallListener.SimpleForwardingClientCallListener<RespT>

A simplified version of ForwardingClientCallListener where subclasses can pass in a ClientCall.Listener as the delegate.

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
protected abstract ClientCall.Listener<RespT>
delegate()

Implements abstract io.grpc.PartialForwardingClientCallListener.delegate.

Returns the delegated ClientCall.Listener.
public void
onMessage(RespT
returned by the server
message
)

Overrides io.grpc.ClientCall.Listener.onMessage.

A response message has been received.
Inherited from io.grpc.PartialForwardingClientCallListener:
onCloseonHeadersonReadytoString

Constructor Detail

ForwardingClientCallListenerback to summary
public ForwardingClientCallListener()

Method Detail

delegateback to summary
protected abstract ClientCall.Listener<RespT> delegate()

Implements abstract io.grpc.PartialForwardingClientCallListener.delegate.

Returns the delegated ClientCall.Listener.

Annotations
@Override
onMessageback to summary
public void onMessage(RespT message)

Overrides io.grpc.ClientCall.Listener.onMessage.

Doc from io.grpc.ClientCall.Listener.onMessage.

A response message has been received. May be called zero or more times depending on whether the call response is empty, a single message or a stream of messages.

Parameters
message:RespT

returned by the server

Annotations
@Override
io.grpc back to summary

public abstract Class ForwardingClientCallListener.SimpleForwardingClientCallListener<RespT>

extends ForwardingClientCallListener<RespT>
Class Inheritance

A simplified version of ForwardingClientCallListener where subclasses can pass in a ClientCall.Listener as the delegate.

Field Summary

Modifier and TypeField and Description
private final ClientCall.Listener<RespT>

Constructor Summary

AccessConstructor and Description
protected

Method Summary

Modifier and TypeMethod and Description
protected ClientCall.Listener<RespT>
delegate()

Implements abstract io.grpc.ForwardingClientCallListener.delegate.

Returns the delegated ClientCall.Listener.
Inherited from io.grpc.ForwardingClientCallListener:
onMessage

Field Detail

delegateback to summary
private final ClientCall.Listener<RespT> delegate

Constructor Detail

SimpleForwardingClientCallListenerback to summary
protected SimpleForwardingClientCallListener(ClientCall.Listener<RespT> delegate)

Method Detail

delegateback to summary
protected ClientCall.Listener<RespT> delegate()

Implements abstract io.grpc.ForwardingClientCallListener.delegate.

Doc from io.grpc.ForwardingClientCallListener.delegate.

Returns the delegated ClientCall.Listener.

Annotations
@Override