public MIGService()
 {
     _webgateway = new WebServiceGateway();
     _tcpgateway = new TcpSocketGateway();
     //
     Interfaces = new Dictionary <string, MIGInterface>();
     //
     _webserviceconfig = new WebServiceGatewayConfiguration()
     {
         Port     = 80,
         SslPort  = 443,
         HomePath = System.IO.Path.Combine(AppDomain.CurrentDomain.BaseDirectory, "html"),
         BaseUrl  = "hg/html",
         Password = ""
     };
 }
Beispiel #2
0
 public MIGService()
 {
     Interfaces = new Dictionary <string, MIGInterface>();
     //
     //tcpGateway = new TcpSocketGateway();
     //tcpGateway.ProcessRequest += tcpGateway_ProcessRequest;
     //
     webGateway = new WebServiceGateway();
     webGateway.ProcessRequest += webGateway_ProcessRequest;
     webServiceConfig           = new WebServiceGatewayConfiguration()
     {
         Port     = 80,
         HomePath = System.IO.Path.Combine(AppDomain.CurrentDomain.BaseDirectory, "html"),
         BaseUrl  = "hg/html",
         Password = ""
     };
 }