public static Props ReaderProps(
Address localAddress,
Address remoteAddress,
AkkaProtocolTransport transport,
RemoteSettings settings,
AkkaPduCodec codec,
IInboundMessageDispatcher dispatcher,
bool inbound,
int uid,
ConcurrentDictionary<EndpointManager.Link, EndpointManager.ResendState> receiveBuffers,
IActorRef reliableDeliverySupervisor = null)
{
return
Props.Create(
() =>
new EndpointReader(localAddress, remoteAddress, transport, settings, codec, dispatcher, inbound,
uid, receiveBuffers, reliableDeliverySupervisor))
.WithDispatcher(settings.Dispatcher);
}