Interface Channel
public interface Channel
A channel is an abstraction of a transport layer (e.g., HTTP) that is consumed by server and client stubs.
Threading Model
Implementations ofexecute(Endpoint, Request) must return immediately, and must not perform
blocking operations. Channel implementations using blocking constructs must internally leverage an executor
to expose only a non-blocking API.
Behavior
Implementations ofexecute(Endpoint, Request) must never throw. A failed ListenableFuture
must be returned instead.
See also EndpointChannelFactory and EndpointChannel.-
Method Summary
-
Method Details
-
execute
-