org.omg.CORBA

Class 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 {@link DynamicImplementation} has already been deprecated in java 1.2 version.
Method Summary
voidarguments(NVList args)
Should specify the method parameter types and retrieve the values that must be passed to the method being called.
abstract Contextctx()
Get the context information.
voidexcept(Any exc)
This method is deprecated, use {@link #set_exception} (same parameter).
Stringoperation()
Should return the name of the operation (method) being invoked.
Stringop_name()
This method is deprecated, use {@link #operation} (same parameter).
voidparams(NVList args)
This method is deprecated, use {@link #arguments} (same parameter).
voidresult(Any r)
This method is deprecated, {@link #set_result} (same parameter).
voidset_exception(Any exc)
Should set the exception that has been thrown during the method invocation.
voidset_result(Any result)
Should specify the return value for the call.

Method Detail

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.

ctx

public abstract Context ctx()
Get the context information.

except

public void except(Any exc)

Deprecated: since 1.2.

This method is deprecated, use {@link #set_exception} (same parameter).

Throws: NO_IMPLEMENT, always.

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.

op_name

public String op_name()

Deprecated: since 1.2

This method is deprecated, use {@link #operation} (same parameter).

Throws: NO_IMPLEMENT, always.

params

public void params(NVList args)

Deprecated: since 1.2

This method is deprecated, use {@link #arguments} (same parameter).

Throws: NO_IMPLEMENT, always.

result

public void result(Any r)

Deprecated: since 1.2

This method is deprecated, {@link #set_result} (same parameter).

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.

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.