public abstract class LocalClientRequestDispatcherBase extends Object implements LocalClientRequestDispatcher
| Modifier and Type | Field and Description |
|---|---|
protected ObjectAdapterFactory |
oaf |
protected ObjectAdapterId |
oaid |
protected byte[] |
objectId |
protected ORB |
orb |
protected static POASystemException |
poaWrapper |
protected boolean |
servantIsLocal |
protected static ORBUtilSystemException |
wrapper |
| Modifier | Constructor and Description |
|---|---|
protected |
LocalClientRequestDispatcherBase(ORB orb,
int scid,
IOR ior) |
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
checkForCompatibleServant(ServantObject so,
Class expectedType)
Check that the servant in info (which must not be null) is
an instance of the expectedType.
|
protected void |
cleanupAfterOADestroyed() |
byte[] |
getObjectId() |
protected ServantObject |
internalPreinvoke(Object self,
String operation,
Class expectedType) |
boolean |
is_local(Object self) |
ServantObject |
servant_preinvoke(Object self,
String operation,
Class expectedType)
Returns a Java reference to the servant which should be used for this
request.
|
boolean |
useLocalInvocation(Object self) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitservant_postinvokeprotected static final POASystemException poaWrapper
protected static final ORBUtilSystemException wrapper
protected ORB orb
protected boolean servantIsLocal
protected ObjectAdapterFactory oaf
protected ObjectAdapterId oaid
protected byte[] objectId
public byte[] getObjectId()
public boolean is_local(Object self)
is_local in interface LocalClientRequestDispatcherpublic boolean useLocalInvocation(Object self)
useLocalInvocation in interface LocalClientRequestDispatcherprotected boolean checkForCompatibleServant(ServantObject so, Class expectedType)
protected ServantObject internalPreinvoke(Object self, String operation, Class expectedType) throws OADestroyed
OADestroyedprotected void cleanupAfterOADestroyed()
public ServantObject servant_preinvoke(Object self, String operation, Class expectedType)
LocalClientRequestDispatcherservant_preinvoke in interface LocalClientRequestDispatcherself - The object reference which delegated to this delegate.operation - a string containing the operation name.
The operation name corresponds to the operation name as it would be
encoded in a GIOP request.expectedType - a Class object representing the expected type of the servant.
The expected type is the Class object associated with the operations
class of the stub's interface (e.g. A stub for an interface Foo,
would pass the Class object for the FooOperations interface).Copyright © 2017–2019 Eclipse Foundation. All rights reserved.