Ejemplo n.º 1
0
        public static IServer StartWith(Stage stage, Resources resources, Filters filters, int port, Configuration.SizingConf sizing, Configuration.TimingConf timing, string severMailboxTypeName, string channelMailboxTypeName)
        {
            var server = stage.ActorFor <IServer>(
                () => new ServerActor(resources, filters, port, sizing, timing, channelMailboxTypeName),
                severMailboxTypeName, ServerActor.ServerName, stage.World.AddressFactory.WithHighId(),
                stage.World.DefaultLogger);

            server.StartUp();

            return(server);
        }
Ejemplo n.º 2
0
 public static IServer StartWith(Stage stage, Resources resources, Filters filters, int port, Configuration.SizingConf sizing, Configuration.TimingConf timing)
 => StartWith(stage, resources, filters, port, sizing, timing, "queueMailbox", "queueMailbox");
Ejemplo n.º 3
0
 public IServer StartWith(Stage stage, Resources resources, Filters filters, int port,
                          Configuration.SizingConf sizing, Configuration.TimingConf timing,
                          string severMailboxTypeName, string channelMailboxTypeName) =>
 ServerFactory.StartWith(stage, resources, filters, port, sizing, timing);
Ejemplo n.º 4
0
 public static IServer StartWith(Stage stage, Resources resources, int port, Configuration.SizingConf sizing, Configuration.TimingConf timing)
 => StartWith(stage, resources, Filters.None(), port, sizing, timing);
Ejemplo n.º 5
0
 public IServer StartWith(Stage stage, Resources resources, Filters filters, int port,
                          Configuration.SizingConf sizing, Configuration.TimingConf timing) =>
 ServerFactory.StartWith(stage, resources, filters, port, sizing, timing);