Inheritance: IEndPointClient
Exemplo n.º 1
0
        public IEndPointClient Connect(string endPoint)
        {
            EndPointClient nsClient = new EndPointClient(this, endPoint);

            this.Connect();
            this.Send(new ConnectMessage(endPoint));
            return(nsClient);
        }
Exemplo n.º 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);
        }
Exemplo n.º 3
0
		public IEndPointClient Connect(string endPoint)
		{
			EndPointClient nsClient = new EndPointClient(this, endPoint);
			this.Connect();
			this.Send(new ConnectMessage(endPoint));
			return nsClient;
		}