Projektdateien hinzufügen.
This commit is contained in:
22
ECM.JobRunner.Web/Data/WcfService.cs
Normal file
22
ECM.JobRunner.Web/Data/WcfService.cs
Normal file
@@ -0,0 +1,22 @@
|
||||
using DigitalData.Modules.Messaging.WCF;
|
||||
using System.Net;
|
||||
|
||||
namespace ECM.JobRunner.Web.Data
|
||||
{
|
||||
public class WcfService
|
||||
{
|
||||
private readonly Channel<Common.JobRunnerReference.IEDMIServiceChannel> channelManager;
|
||||
private ServerAddress address;
|
||||
|
||||
public readonly Common.JobRunnerReference.IEDMIServiceChannel Channel;
|
||||
|
||||
public WcfService(LoggingService Logging)
|
||||
{
|
||||
address.Host = "172.24.12.39";
|
||||
address.Port = 9001;
|
||||
|
||||
channelManager = new Channel<Common.JobRunnerReference.IEDMIServiceChannel>(Logging.LogConfig, address, "JobRunner");
|
||||
Channel = channelManager.GetChannel();
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user