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 Details

    • setDelegate

      void setDelegate(Delegate delegate)
      Similar to ObjectImpl._set_delegate
      Parameters:
      delegate - delegate to set
      See Also:
    • getDelegate

      Delegate getDelegate()
      Similar to ObjectImpl._get_delegate
      Returns:
      Delegate contained
      See Also:
    • getORB

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

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

      void connect(ORB orb) throws 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:
      RemoteException - if unable to connect
    • isLocal

      boolean isLocal()
    • request

      OutputStream request(String operation, boolean responseExpected)