Rev | Line | |
---|
[5593] | 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")) {
|
---|
[5708] | 8 | IHiveService client = factory.CreateChannel();
|
---|
[5636] | 9 | client.TriggerLifecycle(true);
|
---|
[5593] | 10 | }
|
---|
| 11 | }
|
---|
| 12 | }
|
---|
| 13 | }
|
---|
Note: See
TracBrowser
for help on using the repository browser.