Package org.jacorb.test.orb.rmi

Examples of org.jacorb.test.orb.rmi.Foo


    }

    public Foo[] vectorToValueArray(java.util.Vector v)
        throws java.rmi.RemoteException
    {
        Foo a[] = new Foo[v.size()];

        for (int i = 0; i < a.length; i++)
        {
            a[i] = RMITestUtil.echoFoo((Foo)v.elementAt(i));
        }
View Full Code Here


        return s + " (echoed back)";
    }

    public static Foo echoFoo(Foo f)
    {
        Foo newFoo = new Foo(f.i, f.s);
        newFoo.i++;
        newFoo.s += " <";
        return newFoo;
    }
View Full Code Here

    }

    public Foo[] vectorToValueArray(java.util.Vector v)
        throws java.rmi.RemoteException
    {
        Foo a[] = new Foo[v.size()];

        for (int i = 0; i < a.length; i++)
        {
            a[i] = RMITestUtil.echoFoo((Foo)v.elementAt(i));
        }
View Full Code Here

TOP

Related Classes of org.jacorb.test.orb.rmi.Foo

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.