public abstract class RpcServer<DestinationType,TransportMessageType> extends Object
| Modifier and Type | Field and Description |
|---|---|
protected MessageTranscriber<TransportMessageType> |
messageTranscriber |
protected RpcServerMetricsCollector |
metricsCollector |
| Modifier | Constructor and Description |
|---|---|
protected |
RpcServer(Metrics metrics,
MessageTranscriber<TransportMessageType> messageTranscriber) |
protected |
RpcServer(String identifier,
MessageTranscriber<TransportMessageType> messageTranscriber,
Metrics metrics) |
| Modifier and Type | Method and Description |
|---|---|
abstract <T> io.reactivex.Flowable<? extends RpcInvocation<T,? extends IncomingMessageMetaData<?,?>,TransportMessageType,?>> |
requests(DestinationType destination,
Class<T> targetType) |
protected final MessageTranscriber<TransportMessageType> messageTranscriber
protected final RpcServerMetricsCollector metricsCollector
protected RpcServer(Metrics metrics, MessageTranscriber<TransportMessageType> messageTranscriber)
protected RpcServer(String identifier, MessageTranscriber<TransportMessageType> messageTranscriber, Metrics metrics)
public abstract <T> io.reactivex.Flowable<? extends RpcInvocation<T,? extends IncomingMessageMetaData<?,?>,TransportMessageType,?>> requests(DestinationType destination, Class<T> targetType)
Copyright © 2018. All rights reserved.