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 Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
connect(ORB orb)
Connect this dynamic stub to an ORB.Delegate
getDelegate()
Similar to ObjectImpl._get_delegateORB
getORB()
Similar to ObjectImpl._orb()java.lang.String[]
getTypeIds()
Similar to ObjectImpl._idsboolean
isLocal()
OutputStream
request(java.lang.String operation, boolean responseExpected)
void
setDelegate(Delegate delegate)
Similar to ObjectImpl._set_delegate-
Methods inherited from interface org.omg.CORBA.Object
_create_request, _create_request, _duplicate, _get_domain_managers, _get_interface_def, _get_policy, _hash, _is_a, _is_equivalent, _non_existent, _release, _request, _set_policy_override
-
-
-
-
Method Detail
-
setDelegate
void setDelegate(Delegate delegate)
Similar to ObjectImpl._set_delegate- Parameters:
delegate
- delegate to set- See Also:
ObjectImpl._set_delegate(org.omg.CORBA.portable.Delegate)
-
getDelegate
Delegate getDelegate()
Similar to ObjectImpl._get_delegate- Returns:
- Delegate contained
- See Also:
ObjectImpl._get_delegate()
-
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)
-
-