Author Topic: Connector and Protocol  (Read 6424 times)

s.kulku

  • Guest
Connector and Protocol
« on: May 01, 2007, 12:08:13 AM »
A quick question to all you pros:

how do I connect t-server?

I have defined my connection like this:

ClientChannel connector = new TServerProtocol(new Endpoint(uri,name));

but I do not see any trace of connection in t-server logs. Is it possible to turn on the logging for client's side of this connection?

Thank you and have a good day!

Sanja Kulku
Product Development Manager
Xafa

Offline victor

  • Administrator
  • Hero Member
  • *****
  • Posts: 1416
  • Karma: 18
Re: Connector and Protocol
« Reply #1 on: May 01, 2007, 03:01:16 AM »
  • Best Answer
  • Sanja,

    try:

    ClientChannel connector = new TServerProtocol(new Endpoint(name,uri));

    you got name, uri in the wrong order :)

    I am still surprised you could compile it!!!

    Did it work?