using System.Configuration; using System; namespace PlutoServer.MSL { partial class PlutoService { /// /// Required designer variable. /// private System.ComponentModel.IContainer components = null; /// /// Clean up any resources being used. /// /// true if managed resources should be disposed; otherwise, false. protected override void Dispose(bool disposing) { if(disposing && (components != null)) { components.Dispose(); } base.Dispose(disposing); } /// /// Set the Internal Port to use for the internal Channel /// /// Port To use private void SetInternalPort(int Port) { if (Port > 0 && this.MSLTcpServerChannelInternal.Port != Port) { this.MSLTcpServerChannelInternal.Port = Port; this.MSLTcpServerChannelInternal.TcpServer.Port = Port; } } /// /// Set the External Port to use for the external Channel /// /// Port To use private void SetExternalPort(int Port) { if (Port > 0 && this.MSLTcpServerChannelExternal.Port != Port) { this.MSLTcpServerChannelExternal.Port = Port; this.MSLTcpServerChannelExternal.TcpServer.Port = Port; } } #region Component Designer generated code /// /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// private void InitializeComponent() { this.components = new System.ComponentModel.Container(); this.MSLBinMessage = new RemObjects.SDK.BinMessage(); this.MSLTcpServerChannelInternal = new RemObjects.SDK.Server.IpTcpServerChannel(this.components); this.MSLTcpServerChannelExternal = new RemObjects.SDK.Server.IpTcpServerChannel(this.components); this.aesEncryptionEnvelope = new RemObjects.SDK.AesEncryptionEnvelope(); ((System.ComponentModel.ISupportInitialize)(this.MSLTcpServerChannelInternal)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.MSLTcpServerChannelExternal)).BeginInit(); // // MSLBinMessage // this.MSLBinMessage.ContentType = "application/octet-stream"; this.MSLBinMessage.Envelopes.Add(new RemObjects.SDK.MessageEnvelopeItem(this.aesEncryptionEnvelope)); this.MSLBinMessage.SerializerInstance = null; // // MSLTcpServerChannelInternal // this.MSLTcpServerChannelInternal.Dispatchers.Add(new RemObjects.SDK.Server.MessageDispatcher("bin", this.MSLBinMessage)); this.MSLTcpServerChannelInternal.Port = 1945; // // // this.MSLTcpServerChannelInternal.TcpServer.Port = 1945; // // MSLTcpServerChannelExternal // this.MSLTcpServerChannelExternal.Dispatchers.Add(new RemObjects.SDK.Server.MessageDispatcher("bin", this.MSLBinMessage)); this.MSLTcpServerChannelExternal.Port = 0; // // aesEncryptionEnvelope // this.aesEncryptionEnvelope.EnvelopeMarker = "AES"; this.aesEncryptionEnvelope.Password = "KxHWkkE5PAp4tuTzmPKQF7RUyylMk7VOV8zfYln2w6NZJMOvT3yrXofIJWxJYRSQwAkm8DysTG9k7"; // // PlutoService // this.ServiceName = "PlutoServer.MSL"; ((System.ComponentModel.ISupportInitialize)(this.MSLTcpServerChannelInternal)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.MSLTcpServerChannelExternal)).EndInit(); } #endregion private RemObjects.SDK.BinMessage MSLBinMessage; private RemObjects.SDK.Server.IpTcpServerChannel MSLTcpServerChannelInternal; private RemObjects.SDK.Server.IpTcpServerChannel MSLTcpServerChannelExternal; private RemObjects.SDK.AesEncryptionEnvelope aesEncryptionEnvelope; } }