Package org.jacorb.test

Examples of org.jacorb.test.ClientCallback



    @Test
    public void test_callback() throws Exception
    {
        ClientCallback c = ClientCallbackHelper.narrow (((BiDirSetup)setup).
                        getBiDirPOA().servant_to_reference(new ClientCallbackImpl()));

        server.register_callback (c);
        server.callback_hello ("This is a test");
        String result = waitForCallback (10000);
View Full Code Here


                    result.notifyAll();
                }
            }
        };

        ClientCallback callback = ClientCallbackHelper.narrow(((BiDirSetup)setup).getBiDirPOA().servant_to_reference(new ClientCallbackPOATie(callbackServant)));

        server.register_callback(callback);

        server.callback_hello("Hello Callback!");
View Full Code Here

TOP

Related Classes of org.jacorb.test.ClientCallback

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.