public NestResult Start(IEggParameters parameters) { host = parameters?.Host; InitializeLogging(); ryu = new RyuFactory().Create(); var clusteringConfiguration = new ClusteringConfigurationImpl(IPAddress.Loopback, kZileanServicePort, ClusteringRole.HostOnly); ryu.Set <ClusteringConfiguration>(clusteringConfiguration); ryu.Setup(); ryu.Touch <ItzWartyProxiesRyuPackage>(); ryu.Touch <ServicesRyuPackage>(); ryu.Touch <ZileanImplRyuPackage>(); return(NestResult.Success); }
public NestResult Start(IEggParameters parameters) { this.host = parameters?.Host; ryu.Touch <ItzWartyCommonsRyuPackage>(); ryu.Touch <ItzWartyProxiesRyuPackage>(); // Dargon.management var managementServerEndpoint = ryu.Get <INetworkingProxy>().CreateAnyEndPoint(kClientManagementPort); ryu.Set <IManagementServerConfiguration>(new ManagementServerConfiguration(managementServerEndpoint)); ((RyuContainerImpl)ryu).Setup(true); var userInterfaceThread = new Thread(UserInterfaceThreadStart); userInterfaceThread.SetApartmentState(ApartmentState.STA); userInterfaceThread.Start(); return(NestResult.Success); }
public NestResult Start(IEggParameters parameters) { InitializeLogging(); LogIfDebugBuild(); ryu.Set <IEggHost>(parameters?.Host); ryu.Touch <ItzWartyCommonsRyuPackage>(); ryu.Touch <ItzWartyProxiesRyuPackage>(); // Dargon.management var managementServerEndpoint = ryu.Get <INetworkingProxy>().CreateAnyEndPoint(kDaemonManagementPort); ryu.Set <IManagementServerConfiguration>(new ManagementServerConfiguration(managementServerEndpoint)); ((RyuContainerImpl)ryu).Setup(true); logger.Info("Initialized."); return(NestResult.Success); }