public SocketChannelSelectionProcessorActor( IRequestChannelConsumerProvider provider, string name, int maxBufferPoolSize, int messageBufferSize, long probeInterval) { _provider = provider; _name = name; _messageBufferSize = messageBufferSize; _responder = SelfAs <IResponseSenderChannel <Socket> >(); _cancellable = Stage.Scheduler.Schedule(SelfAs <IScheduled <object> >(), null, TimeSpan.FromMilliseconds(100), TimeSpan.FromMilliseconds(probeInterval)); }
public SocketChannelSelectionProcessorActor( IRequestChannelConsumerProvider provider, string name, IResourcePool <IConsumerByteBuffer, string> requestBufferPool, long probeInterval, long probeTimeout) { _provider = provider; _name = name; _requestBufferPool = requestBufferPool; _probeTimeout = probeTimeout; _contexts = new List <Context>(); _responder = SelfAs <IResponseSenderChannel>(); _cancellable = Stage.Scheduler.Schedule(SelfAs <IScheduled <object?> >(), null, TimeSpan.FromMilliseconds(100), TimeSpan.FromMilliseconds(probeInterval)); }