org.omg.CORBA
Class ServerRequest

java.lang.Object
  extended by org.omg.CORBA.ServerRequest

public abstract class ServerRequest
extends Object

This class was expected to be part of the dynamic skeleton interface, but it is almost never used in the code, generated by IDL to java compiler. The recent tendention is to skip the request step, reading the method arguments from the CDR input stream directly. The supplementing class DynamicImplementation has already been deprecated in java 1.2 version.


Constructor Summary
ServerRequest()
           
 
Method Summary
 void arguments(NVList args)
          Should specify the method parameter types and retrieve the values that must be passed to the method being called.
abstract  Context ctx()
          Get the context information.
 void except(Any exc)
          Deprecated. since 1.2.
 String op_name()
          Deprecated. since 1.2
 String operation()
          Should return the name of the operation (method) being invoked.
 void params(NVList args)
          Deprecated. since 1.2
 void result(Any r)
          Deprecated. since 1.2
 void set_exception(Any exc)
          Should set the exception that has been thrown during the method invocation.
 void set_result(Any result)
          Should specify the return value for the call.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ServerRequest

public ServerRequest()
Method Detail

ctx

public abstract Context ctx()
Get the context information.


operation

public String operation()
Should return the name of the operation (method) being invoked. Following the 1.4 specification, it does not, and must be overridden to get functionality.

Returns:
the name of the operation being invoked. The object attribute access operations are called _get_<attribute_name> and _set_<attribute_name>.
Throws:
NO_IMPLEMENT, - always.

arguments

public void arguments(NVList args)
Should specify the method parameter types and retrieve the values that must be passed to the method being called. Following the 1.4 specification, it does not, and must be overridden to get functionality.

Parameters:
args - the method parameters.
Throws:
NO_IMPLEMENT, - always.

set_result

public void set_result(Any result)
Should specify the return value for the call. Following the 1.4 specification, it does not, and must be overridden to get functionality.

Parameters:
result - the return value.
Throws:
NO_IMPLEMENT, - always.

set_exception

public void set_exception(Any exc)
Should set the exception that has been thrown during the method invocation. Following the 1.4 specification, it does not, and must be overridden to get functionality.

Parameters:
exc - the Any, holding the exception.
Throws:
NO_IMPLEMENT, - always.

result

public void result(Any r)
Deprecated. since 1.2

This method is deprecated, set_result(org.omg.CORBA.Any) (same parameter).

Throws:
NO_IMPLEMENT, - always.

except

public void except(Any exc)
Deprecated. since 1.2.

This method is deprecated, use set_exception(org.omg.CORBA.Any) (same parameter).

Throws:
NO_IMPLEMENT, - always.

params

public void params(NVList args)
Deprecated. since 1.2

This method is deprecated, use arguments(org.omg.CORBA.NVList) (same parameter).

Throws:
NO_IMPLEMENT, - always.

op_name

public String op_name()
Deprecated. since 1.2

This method is deprecated, use operation() (same parameter).

Throws:
NO_IMPLEMENT, - always.