Exemple #1
0
        protected bool Connect(IPEndPoint endPoint)
        {
            _transport = new TSocket(endPoint.Address.ToString(), endPoint.Port);
            var proto = new TBinaryProtocol(_transport);
            _client = new Idaas.Database.Client(proto);
            Enumerations = new Enumerations(_client);
            Structures = new Structures(_client);
            Strings = new Strings(_client);
            Functions = new Functions(_client);
            Instructions = new Instructions(_client);
            Names = new Names(_client);
            TypeLibraries = new TypeLibraries(_client);

            _transport.Open();
            return true;
        }