Last change
on this file since 5614 was
5593,
checked in by cneumuel, 14 years ago
|
#1233
- changed the way lifecycle methods are called. The new service method TriggerLifecycle checks when the latest cleanup was made and performs one (if necessary). This can also be called by an external program (like a windows task)
- robustified logging
|
File size:
483 bytes
|
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.Obj.CreateChannel();
|
---|
9 | client.TriggerLifecycle();
|
---|
10 | }
|
---|
11 | }
|
---|
12 | }
|
---|
13 | }
|
---|
Note: See
TracBrowser
for help on using the repository browser.