Please consider registering
guest

Log In Register

Register | Lost password?
Advanced Search:

— Forum Scope —



— Match —



— Forum Options —




Wildcard usage:
*  matches any number of characters    %  matches exactly one character

Minimum search word length is 3 characters - maximum search word length is 84 characters

Topic RSS
How does Urouter listen?
Mar 6, 4:09 pm
4:09 pm
kevinR
New Member
Forum Posts: 2
Member Since:
Mar 6, 3:56 pm
Offline

Hello All,
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

Kevin
Frown

Mar 6, 4:29 pm
4:29 pm
FiresongKt
Member
Forum Posts: 284
Member Since:
Oct 1, 8:55 am
Offline

We use the /ust switch on the command line to give each client an I.D.
You can then send messages back from the urouter to the client if you have passed the $instancepath information down to the urouter.

Mar 6, 4:57 pm
4:57 pm
kevinR
New Member
Forum Posts: 2
Member Since:
Mar 6, 3:56 pm
Offline

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.

Regards
Kevin

Mar 7, 9:31 am
9:31 am
FiresongKt
Member
Forum Posts: 284
Member Since:
Oct 1, 8:55 am
Offline

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….

Forum Timezone: UTC 0

Most Users Ever Online: 56

Currently Online:
3 Guest(s)

Currently Browsing this Page:
1 Guest(s)

Top Posters:

ulrich-merkel: 1159

FiresongKt: 284

Theo Neeskens: 197

-GHAN-: 171

lalitpct: 158

rogerw: 128

diseli: 110

uniface8: 95

istiller: 84

Thomas.Young: 81

Member Stats:

Guest Posters: 0

Members: 1737

Moderators: 0

Admins: 9

Forum Stats:

Groups: 1

Forums: 61

Topics: 989

Posts: 4415

Newest Members: hnijbacker, cube, icecracker, StephanieHall, BlackDog, paul.hewison, vissini, ballaran, curly9, worthy1

Administrators: admin (6), timblankers (0), timblankers (0), timblankers (0), timblankers (0), timblankers (0), timblankers (0), Tim Blankers (7), Adrian Gosbell (14)