예제 #1
0
        // - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

        #region Public methods

        public ServerAgent(string IPAddress, int PortNumber, WMSClient Client, SetConnectionStatusDelegate DrawConnectionStatus, FVoid1StringDelegate ShowPingResult)
        {
            this.Client     = Client;
            this.IPAddress  = IPAddress;
            this.PortNumber = PortNumber;
            WriteToFile("Start", true);
            DataRepresent = new DataDrawing(DrawConnectionStatus, ShowPingResult);
        }
예제 #2
0
 public ServerAgent(string IPAddress, int PortNumber, WMSClient Client, SetConnectionStatusDelegate DrawConnectionStatus, FVoid1StringDelegate ShowPingResult)
 {
     this.Client = Client;
     this.IPAddress = IPAddress;
     this.PortNumber = PortNumber;
     WriteToFile("Start", true);
     DataRepresent = new DataDrawing(DrawConnectionStatus, ShowPingResult);
 }
예제 #3
0
 public DataDrawing(SetConnectionStatusDelegate DrawConnectionStatus, FVoid1StringDelegate ShowPingResult)
 {
     this.DrawConnectionStatus = DrawConnectionStatus;
     this.ShowPingResult       = ShowPingResult;
 }
예제 #4
0
 public DataDrawing(SetConnectionStatusDelegate DrawConnectionStatus, FVoid1StringDelegate ShowPingResult)
 {
     this.DrawConnectionStatus = DrawConnectionStatus;
     this.ShowPingResult = ShowPingResult;
 }