summaryrefslogtreecommitdiff
path: root/TAO/DevGuideExamples/BiDirectionalGIOP/README
blob: b3b4aca800e2ad01dc3fd721fea0fea65b20192c (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
This example is a copy of the $TAO_ROOT/test/BiDirectional test.

This example exercises the bidirectional GIOP connection
implementation in TAO.

Start like this:

$ server -o <file.ior> -i <no_iterations>
$ client -k file://<file.ior>

The server starts up writing the IOR to the file. The client then
starts up, creates its own object and passes the reference to the
server. Then it invokes a method on the server to indicate that it is
ready for callback. The server then callsback the client on the same
connection <no_iterations> times. If the server creates a new
connection the server will crash itself.

Each time the client recieves a callback, it outputs:
Callback method called.