Inheritance: IEndPointClient
Beispiel #1
0
        public IEndPointClient Connect(string endPoint)
        {
            EndPointClient nsClient = new EndPointClient(this, endPoint);

            this.Connect();
            this.Send(new ConnectMessage(endPoint));
            return(nsClient);
        }
Beispiel #2
0
        public IEndPointClient Connect(string endPoint)
        {
            EndPointClient nsClient = null;

            try
            {
                nsClient = new EndPointClient(this, endPoint);
                this.Connect();
                this.Send(new ConnectMessage(endPoint));
            }
            catch (Exception ex)
            {
                Logger.Logger.LogException(ex);
            }

            return(nsClient);
        }
Beispiel #3
0
		public IEndPointClient Connect(string endPoint)
		{
			EndPointClient nsClient = new EndPointClient(this, endPoint);
			this.Connect();
			this.Send(new ConnectMessage(endPoint));
			return nsClient;
		}