06 Mar 2013
I'm very new to the Uniface and Urouter world, and I've got a quick question if some one could help me please?.
I'm implementing a Urouter where the clients are all on Citrix.
Users under Citrix get the same IP address (unless you configure it to have dynsamic IP's) so when a client has registred with Urouter how does it the client listen for in-coming connections?, if it's by IP address and socket then I would think Citrix would not work.
I'm lost on this one!
MANY thanks in advance
06 Mar 2013
thanks for that but I still don't see how Urouter knows where to route to. My assumptin is some kind of listner runs on the client eaiting for a connect on its IP address. If 2 normal XP PC's register with Urouter they will both have unique IP addresses. So urouter could conect to the IP when it needed.
Under citrix you don't get a unique address so what would I pass in $instancepath
I did think about names paths but that wouldn't scale and cross platform would be difficult. An internal document from my supplier tells me that TCP is used.
Instancepath is generated for you. It is unique to the particular session of uniface running, we, however, run a windows batch file before uniface which forms the ust for the session from the logged in user name and a random number. (See below), this means that the Ust, which forms part of the instancepath is unique (and allows the user to run more than one uniface session from the same client).
start "" "C:\Program Files\Compuware\UNIFACE9\bin\uniface.exe" /asn=%1 /ust="%username:~0,8%%random%" demo tcp:
This makes my instancepath (for my current session). "TCP:+13001|i.sharp||i.sharp8549", so the UST forms part of the instancepath, and making that unique identifies your session. You can route messages from the urouter even more if you include :$instancename (So "%%$instancepath%%%:%%$instancename%%%"). Note that both of these are to handle explicit messages passed back from our services using postmessage (and we have to pass the 'reply address' in as a parameter, you can't (to my knowledge) find it out from inside the userver.
In the case of OUT parameters from the services, I think it's handled natively, but since we've had this setup for 10 years otr so now, I forget the teething troubles….
01 Oct 2012
Most Users Ever Online: 56
Currently Browsing this Page:
Theo Neeskens: 216
Guest Posters: 0