コードサンプル17-4に,Requestインタフェースを示します。リクエストのtargetは,Requestの生成に使用したオブジェクトリファレンスから暗黙的に設定されます。operation名はRequestの生成時に指定しなければなりません。
package org.omg.CORBA;
public abstract class Request {
public abstract org.omg.CORBA.Object target();
public abstract java.lang.String operation();
public abstract org.omg.CORBA.NVList arguments();
public abstract org.omg.CORBA.NamedValue result();
public abstract org.omg.CORBA.Environment env();
public abstract org.omg.CORBA.ExceptionList exceptions();
public abstract org.omg.CORBA.ContextList contexts();
public abstract void ctx(org.omg.CORBA.Context ctx);
public abstract org.omg.CORBA.Context ctx();
public abstract org.omg.CORBA.Any add_in_arg();
public abstract org.omg.CORBA.Any add_named_in_arg();
public abstract org.omg.CORBA.Any add_inout_arg();
public abstract org.omg.CORBA.Any add_named_inout_arg();
public abstract org.omg.CORBA.Any add_out_arg();
public abstract org.omg.CORBA.Any add_named_out_arg();
public abstract void set_return_type();
public abstract org.omg.CORBA.Any return_value();
public abstract void invoke();
public abstract void send_oneway();
public abstract void send_deferred();
public abstract void get_response();
public abstract boolean poll_response();
}