ForwardingClientCall.getAttributes should call delegate

This commit is contained in:
dapengzhang0 2017-01-24 08:35:20 -08:00 committed by ZHANG Dapeng
parent 5bae984a88
commit 7d85e73b23
1 changed files with 5 additions and 0 deletions

View File

@ -77,6 +77,11 @@ public abstract class ForwardingClientCall<ReqT, RespT> extends ClientCall<ReqT,
return delegate().isReady();
}
@Override
public Attributes getAttributes() {
return delegate().getAttributes();
}
/**
* A simplified version of {@link ForwardingClientCall} where subclasses can pass in a {@link
* ClientCall} as the delegate.