サーバアプリケーションが提供するインタフェースを定義するために、IDLファイルを作成します。IDLファイルの書式については“IDL定義”を参照してください。
![]()
module ODdemo{
interface calculator{
exception ZEROPARAM {};
struct result {
long add_result;
long subtract_result;
long multiple_result;
float divide_result;
};
result calculate( in long a, in long b )
raises( ZEROPARAM );
};
}; |