public static IOperationalOutboundStream Instance( Stage stage, Node node, IManagedOutboundChannelProvider provider, ConsumerByteBufferPool byteBufferPool) { var operationalOutboundStream = stage.ActorFor <IOperationalOutboundStream>(() => new OperationalOutboundStreamActor(node, provider, byteBufferPool), "cluster-operational-outbound-stream"); return(operationalOutboundStream); }
public static IApplicationOutboundStream Instance( Stage stage, IManagedOutboundChannelProvider provider, ConsumerByteBufferPool byteBufferPool) { var applicationOutboundStream = stage.ActorFor <IApplicationOutboundStream>( () => new ApplicationOutboundStreamActor(provider, byteBufferPool), "application-outbound-stream"); return(applicationOutboundStream); }
public static IApplicationOutboundStream Instance( Stage stage, IManagedOutboundChannelProvider provider, ConsumerByteBufferPool byteBufferPool) { var definition = Definition.Has <ApplicationOutboundStreamActor>( Definition.Parameters(provider, byteBufferPool), "application-outbound-stream"); var applicationOutboundStream = stage.ActorFor <IApplicationOutboundStream>(definition); return(applicationOutboundStream); }
public static IOperationalOutboundStream Instance( Stage stage, Node node, IManagedOutboundChannelProvider provider, ConsumerByteBufferPool byteBufferPool) { var definition = Definition.Has <OperationalOutboundStreamActor>( Definition.Parameters(node, provider, byteBufferPool), "cluster-operational-outbound-stream"); var operationalOutboundStream = stage.ActorFor <IOperationalOutboundStream>(definition); return(operationalOutboundStream); }
public Outbound(IManagedOutboundChannelProvider provider, ConsumerByteBufferPool byteBufferPool) { _provider = provider; _pool = byteBufferPool; }
public OperationalOutboundStreamActor(Node node, IManagedOutboundChannelProvider provider, ConsumerByteBufferPool byteBufferPool) { _node = node; _outbound = new Outbound(provider, byteBufferPool); _cache = new OperationalMessageCache(node); }
public ApplicationOutboundStreamActor(IManagedOutboundChannelProvider provider, ByteBufferPool byteBufferPool) { _outbound = new Outbound(provider, byteBufferPool); }