blob: effa3c1cdd2677c4c5372934a5662a0a49743cb9 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
|
// $Id$
This application demostrates reference counted servants.
The server program is available here. Use the Generic_Servant/client
program to test this.
________________________________________
To test this example, type run_test.pl
________________________________________
Or
________________________________________
Run the server as follows:
% ./server -f output
This will produce a file named output which will contain the ior.
Run the client as follows:
% cd $TAO_ROOT/examples/POA/Generic_Servant
% ./client -f ../Reference_Counted_Servant/output
________________________________________
Or
________________________________________
Run the server as follows:
% ./server -ORBobjrefstyle URL &
Run the client as follows:
% cd $TAO_ROOT/examples/POA/Generic_Servant
% ./client -k <IOR>
Comments :
=========
- As soon as, the server prints out the IOR, cut it and use it for
running the client.
________________________________________
|