blob: 6f7a41e48b38aa2a6b32a42617055ab2410c4f13 (
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
45
46
47
48
49
|
// $Id$
This example is very similar to the Explicit_Activation example except
that the POAs are deleted once the object references have been
created. After this, an adapter activator is install in the RootPOA to
reactivate the POAs on demand.
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 three output files: output_1, output_2, and output_3
Run the client as follows:
% cd $TAO_ROOT/examples/POA/Generic_Servant
% ./client -f ../Explicit_Activation/output_1
% ./client -f ../Explicit_Activation/output_2
% ./client -f ../Explicit_Activation/output_3
________________________________________
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.
________________________________________
|