Hitachi

VisiBroker Version 5 Borland(R) Enterprise Server VisiBroker(R) プログラマーズリファレンス


26.4 BindingIterator

class BindingIterator : public virtual CORBA::Object

このオブジェクトは,クライアントアプリケーションが,NamingContextのlistメソッドによって返されるこのオブジェクトを使用して,オブジェクトとネームのバインドを,数を指定しないで反復的に参照するために使用します。詳細については,「26.1.1 NamingContextのメソッド」の「virtual void list(CORBA::ULong _how_many, BindingList_out _bl, BindingIterator_out _bi)」を参照してください。BindingIteratorを使用するプログラムの例については,サンプルとして提供されているexamples/vbe/ins/pluggable_adapterディレクトリを参照してください。

IDLサンプル26-4 Binding構造体のIDL仕様
module CosNaming {
    interface BindingIterator {
        boolean next_one(out Binding b);
        boolean next_n(in unsigned long how_many,
                       out BindingList b);
        void destroy( );
    };
};
〈この節の構成〉