blob: ad32491e5ba3109667f4d4eb63dba0a1de2e95bd (
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
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
|
// $Id$
// ============================================================================
//
// = LIBRARY
// TAO/tests/Param_Test
//
// = FILENAME
// README
//
// = AUTHOR
// Aniruddha Gokhale
//
// ============================================================================
This directory contains an application that tests all the parameter
passing conventions in CORBA for a number of OMG IDL data types.
Type "make" to make the application. The server executable is called
"server" and the client executable is called "client".
You should have the TAO IDL compiler and the TAO library installed
before using this application.
To run the server, type
server [arguments to ORB_init] [-d] [-o <ior_output_file>]
arguments to ORB_init start with the letters -ORB. Please
see TAO documentattion on all the supported arguments
-d for debugging.
-o <ior_output_file> for outputting the servant IOR to a file.
To run the client, type
client [arguments to ORB_init] [options for this application]
Supported options are:
[-d] debugging
[-n loopcount] number of times to run the test
[-f servant-IOR-file] reads the servant-IOR from the specified file.
[-k Param_Test-obj-ref-key] object key of Param_Test object
[-h hostname] host to bind to
[-p port] port number of server
[-i invocation (sii/dii)] default is static invocation
interface. To use DII, type
-i dii
[-t data type]
Data types supported in this version are:
short for shorts
ubstring for unbounded string
fixed_struct for fixed sized structs
var_struct for variable structs
nested_struct for nested structs
struct_seq for sequences of structs
objref for object references
There are 2 options of giving the Param_obj-ref-key i.e IOR to the client:
1. Using the -f option to read the IOR from a file.
2. Using the -k option to read the IOR from the
command line.
run_test:
--------
There is a shell script in this directory named run_test to test all
the types for sii invocation. It starts the server first and then runs
the client with the different data type parameters.
|