JavaTM Platform
Standard Ed. 6

org.omg.CORBA
クラス ServiceInformationHolder

java.lang.Object
  上位を拡張 org.omg.CORBA.ServiceInformationHolder
すべての実装されたインタフェース:
Streamable

public final class ServiceInformationHolder
extends Object
implements Streamable

ServiceInformation のホルダーです。ホルダーファイルの詳細は、「生成ファイル:ホルダーファイル」 を参照してください。

IDL のメソッドに OUT パラメータおよび INOUT パラメータを格納するために使用される、ServiceInformation のホルダークラスです。IDL のメソッドのシグニチャーが OUT パラメータまたは INOUT パラメータとして IDL xxx を持つ場合、プログラマは ServiceInformationHolder のインスタンスを、メソッドの呼び出しで対応するパラメータとして渡す必要があります。 INOUT パラメータの場合、プログラマはサーバーに渡される IN 値も指定する必要があります。メソッド呼び出しが復帰する前に、ORB はサーバーから返された OUT 値に対応する値をその IN 値に設定します。

myServiceInformationHolderServiceInformationHolder のインスタンスの場合、その value フィールドに格納された値には myServiceInformationHolder.value を使用してアクセスできます。


フィールドの概要
 ServiceInformation value
          この ServiceInformationHolder オブジェクトの value フィールドに格納される ServiceInformation 値です。
 
コンストラクタの概要
ServiceInformationHolder()
          null に初期化された value フィールドを使用して、新しい ServiceInformationHolder オブジェクトを構築します。
ServiceInformationHolder(ServiceInformation arg)
          value フィールドを指定された ServiceInformation オブジェクトに初期化して、新しい ServiceInformationHolder オブジェクトを構築します。
 
メソッドの概要
 void _read(InputStream in)
          入力ストリーム in から整列化されていないデータを読み込んで、この ServiceInformationHolder オブジェクトの value フィールドに代入します。
 TypeCode _type()
          この ServiceInformationHolder オブジェクトの value フィールドに格納されている値に対応する TypeCode オブジェクトを取得します。
 void _write(OutputStream out)
          この ServiceInformationHolder オブジェクトの value フィールドの値を、出力ストリーム out に整列化します。
 
クラス java.lang.Object から継承されたメソッド
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

フィールドの詳細

value

public ServiceInformation value
この ServiceInformationHolder オブジェクトの value フィールドに格納される ServiceInformation 値です。

コンストラクタの詳細

ServiceInformationHolder

public ServiceInformationHolder()
null に初期化された value フィールドを使用して、新しい ServiceInformationHolder オブジェクトを構築します。


ServiceInformationHolder

public ServiceInformationHolder(ServiceInformation arg)
value フィールドを指定された ServiceInformation オブジェクトに初期化して、新しい ServiceInformationHolder オブジェクトを構築します。

パラメータ:
arg - 新しく作成される ServiceInformationHolder オブジェクトの value フィールドの初期化に使用する ServiceInformation オブジェクト
メソッドの詳細

_write

public void _write(OutputStream out)
この ServiceInformationHolder オブジェクトの value フィールドの値を、出力ストリーム out に整列化します。

定義:
インタフェース Streamable 内の _write
パラメータ:
out - CDR 形式のデータを格納する OutputStream オブジェクト

_read

public void _read(InputStream in)
入力ストリーム in から整列化されていないデータを読み込んで、この ServiceInformationHolder オブジェクトの value フィールドに代入します。

定義:
インタフェース Streamable 内の _read
パラメータ:
in - ワイヤーからの CDR 形式のデータが格納されている InputStream オブジェクト

_type

public TypeCode _type()
この ServiceInformationHolder オブジェクトの value フィールドに格納されている値に対応する TypeCode オブジェクトを取得します。

定義:
インタフェース Streamable 内の _type
戻り値:
このServiceInformationHolder オブジェクトに格納されている値の TypeCode

JavaTM Platform
Standard Ed. 6

バグの報告と機能のリクエスト
さらに詳しい API リファレンスおよび開発者ドキュメントについては、Java SE 開発者用ドキュメントを参照してください。開発者向けの詳細な解説、概念の概要、用語の定義、バグの回避策、およびコード実例が含まれています。

Copyright 2009 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms. Documentation Redistribution Policy も参照してください。