org.objectweb.david.libs.stub_factories.std
Class Skeleton
java.lang.Object
|
+--org.omg.CORBA.portable.ObjectImpl
|
+--org.objectweb.david.libs.stub_factories.std.Skeleton
- All Implemented Interfaces:
- Constants, InvokeHandler, Object
- public abstract class Skeleton
- extends ObjectImpl
- implements Constants, InvokeHandler
Base class for Jonathan skeletons.
|
Constructor Summary |
Skeleton()
Constructs a new skeleton. |
| Methods inherited from class org.omg.CORBA.portable.ObjectImpl |
_create_request, _create_request, _duplicate, _get_delegate, _get_domain_managers, _get_interface_def, _get_interface, _get_policy, _hash, _ids, _invoke, _is_a, _is_equivalent, _is_local, _non_existent, _orb, _release, _releaseReply, _request, _request, _servant_postinvoke, _servant_preinvoke, _set_delegate, _set_policy_override, equals, hashCode, toString |
Skeleton
public Skeleton()
- Constructs a new skeleton.
_setContinuation
public abstract void _setContinuation(Object continuation)
- Sets this object's continuation, i.e., the servant bearing the service
methods.
- Parameters:
continuation - the servant bearing the service methods.
_invoke
public OutputStream _invoke(String method,
InputStream input,
ResponseHandler handler)
throws BAD_OPERATION
- This method must be redefined by subclasses.
- Specified by:
_invoke in interface InvokeHandler
- Parameters:
method - a method nameinput - a CORBA input streamhandler - a response handler- Returns:
- a reply message
- Throws:
BAD_OPERATION - always thrown.
_getOperationSwitchKey
protected int _getOperationSwitchKey(String op_name)
throws BAD_OPERATION
- This method must be redefined by subclasses.
- Parameters:
op_name - an method name.- Returns:
- a unique integer key for op_name.
- Throws:
BAD_OPERATION - always thrown.