コード例 #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);
        }
コード例 #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");
コード例 #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);
コード例 #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);
コード例 #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);