Line | |
---|
1 | using HeuristicLab.Clients.Common;
|
---|
2 | using HeuristicLab.Services.Hive.Common.ServiceContracts;
|
---|
3 |
|
---|
4 | namespace HeuristicLab.Clients.Hive.LifecycleClient {
|
---|
5 | class Program {
|
---|
6 | private static void Main(string[] args) {
|
---|
7 | using (var factory = ClientFactory.CreateChannelFactory<IHiveService>("wsHttpBinding_IHiveService", null, "hiveslave", "hiveslave")) {
|
---|
8 | IHiveService client = factory.CreateChannel();
|
---|
9 | client.TriggerLifecycle(true);
|
---|
10 | }
|
---|
11 | }
|
---|
12 | }
|
---|
13 | }
|
---|
Note: See
TracBrowser
for help on using the repository browser.