CORBA Programming Reference
Registers the joint client/server's listening port in IIOP Handler (ISH).
void register_callback_port(CORBA::Object_ptr objref);
This C++ member function (or Java method) is called to notify the ISH of a listening port in the joint client/server. This method should only be used for joint client/server ORBs that do not support GIOP 1.2 bidirectional capabilities (that is GIOP 1.0 and 1.1 client ORBs). For GIOP 1.0 and 1.1, the ISH supports only one listening port per joint client/server; therefore, the register_callback_port
method should only be called once per connected joint client/server.
The following information must be given consideration when using this method:
register_callback_port
method is not invoked by the joint client/server, the callback port is not registered with the ISH and the server defaults to Asymmetric Outbound IIOP. In this case, you must start the server's IIOP Listener (ISL) with the -O
option. The -O
option enables Asymmetric outbound IIOP; otherwise, server-to-client invocations will not be allowed by the ISL/ISH.register_callback_port
method, even when you are using a ISH that supports GIOP 1.2. register_callback_port
method before you pass the callback object reference to the server.