Interface DynamicStub

  • All Superinterfaces:
    Object
    All Known Implementing Classes:
    DynamicStubImpl, StubWrapper

    public interface DynamicStub
    extends Object
    Interface used to support dynamically generated stubs. This supplies some methods that are found in org.omg.CORBA.portable.ObjectImpl that are not available in org.omg.CORBA.Object.
    • Method Detail

      • getORB

        ORB getORB()
        Similar to ObjectImpl._orb()
        Returns:
        the ORB instance that created the Delegat
        See Also:
        ObjectImpl._orb()
      • getTypeIds

        java.lang.String[] getTypeIds()
        Similar to ObjectImpl._ids
        Returns:
        the array of all repository identifiers
        See Also:
        ObjectImpl._ids()
      • connect

        void connect​(ORB orb)
              throws java.rmi.RemoteException
        Connect this dynamic stub to an ORB. Just as in standard RMI-IIOP, this is required after a dynamic stub is deserialized from an ObjectInputStream. It is not needed when unmarshalling from a org.omg.CORBA.portable.InputStream.
        Parameters:
        orb - ORB to connect to
        Throws:
        java.rmi.RemoteException - if unable to connect
      • isLocal

        boolean isLocal()
      • request

        OutputStream request​(java.lang.String operation,
                             boolean responseExpected)