名前
org.omg.CosNotifyChannelAdmin.ConsumerAdmin.obtain_notification_pull_supplier
形式
import org.omg.CosNotifyChannelAdmin.*; public interface ConsumerAdmin extends org.omg.CORBA.Object { public org.omg.CosNotifyChannelAdmin.ProxySupplier obtain_notification_pull_supplier ( org.omg.CosNotifyChannelAdmin.ClientType ctype, org.omg.CORBA.IntHolder proxy_id ) throws org.omg.CosNotifyChannelAdmin.AdminLimitExceeded; }
機能説明
ctypeで指定されたクライアント種別を持つ、ProxySupplierのオブジェクトを作成し、ProxySupplierのオブジェクトリファレンスを返します。
パラメタ
ProxySupplierのオブジェクトを作成するクライアント種別を、以下から指定します。
org.omg.CosNotifyChannelAdmin.ClientType.ANY_EVENT
any型イベントを扱います。
org.omg.CosNotifyChannelAdmin.ClientType.STRUCTURED_EVENT
StructuredEvent型イベントを扱います。
作成したProxySupplierの識別IDが設定されます。
復帰値
正常終了した場合は、ProxySupplierのオブジェクトリファレンスが返されます。
異常終了した場合は、例外が発生します。
ユーザ例外の場合は、以下の例外が発生します。
ProxySupplierの作成数の上限に達したため、これ以上は作成できません。
システム例外の場合は、“メッセージ集”の“イベントサービスから通知される例外情報/マイナーコード”および“CORBAサービスから通知される例外情報/マイナーコード”を参照し、発生したシステム例外およびマイナーコードに対する対処を行ってください。
名前
org.omg.CosNotifyChannelAdmin.SupplierAdmin.obtain_notification_push_consumer
形式
import org.omg.CosNotifyChannelAdmin.*; public interface SupplierAdmin extends org.omg.CORBA.Object { public org.omg.CosNotifyChannelAdmin.ProxyConsumer obtain_notification_pull_supplier ( org.omg.CosNotifyChannelAdmin.ClientType ctype, org.omg.CORBA.IntHolder proxy_id ) throws org.omg.CosNotifyChannelAdmin.AdminLimitExceeded; }
機能説明
ctypeで指定されたクライアント種別を持つ、ProxyConsumerのオブジェクトを作成し、ProxyConsumerのオブジェクトリファレンスを返します。
パラメタ
ProxyConsumerのオブジェクトを作成するクライアント種別を、以下から指定します。
org.omg.CosNotifyChannelAdmin.ClientType.ANY_EVENT
any型イベントを扱います。
org.omg.CosNotifyChannelAdmin.ClientType.STRUCTURED_EVENT
StructuredEvent型イベントを扱います。
作成したProxyConsumerの識別IDが設定されます。
復帰値
正常終了した場合は、ProxyConsumerのオブジェクトリファレンスが返されます。
異常終了した場合は、例外が発生します。
ユーザ例外の場合は、以下の例外が発生します。
ProxyConsumerの作成数の上限に達したため、これ以上は作成できません。
システム例外の場合は、“メッセージ集”の“イベントサービスから通知される例外情報/マイナーコード”および“CORBAサービスから通知される例外情報/マイナーコード”を参照し、発生したシステム例外およびマイナーコードに対する対処を行ってください。
名前
org.omg.CosNotifyChannelAdmin.ConsumerAdmin.MyChannel
形式
import org.omg.CosNotifyChannelAdmin.*; public interface ConsumerAdmin extends org.omg.CORBA.Object { public org.omg.CosNotifyChannelAdmin.EventChannel MyChannel (); }
機能説明
ConsumerAdminを生成したイベントチャネルのオブジェクトリファレンスを獲得します。
復帰値
正常終了した場合は、ConsumerAdminを生成したイベントチャネルのオブジェクトリファレンスが返されます。
異常終了した場合は、例外が発生します。
システム例外の場合は、“メッセージ集”の“イベントサービスから通知される例外情報/マイナーコード”および“CORBAサービスから通知される例外情報/マイナーコード”を参照し、発生したシステム例外およびマイナーコードに対する対処を行ってください。
名前
org.omg.CosNotifyChannelAdmin.SupplierAdmin.MyChannel
形式
import org.omg.CosNotifyChannelAdmin.*; public interface SupplierAdmin extends org.omg.CORBA.Object { public org.omg.CosNotifyChannelAdmin.EventChannel MyChannel (); }
機能説明
SupplierAdminを生成したイベントチャネルのオブジェクトリファレンスを獲得します。
復帰値
正常終了した場合は、SupplierAdminを生成したイベントチャネルのオブジェクトリファレンスが返されます。
異常終了した場合は、例外が発生します。
システム例外の場合は、“メッセージ集”の“イベントサービスから通知される例外情報/マイナーコード”および“CORBAサービスから通知される例外情報/マイナーコード”を参照し、発生したシステム例外およびマイナーコードに対する対処を行ってください。
名前
org.omg.CosNotifyChannelAdmin.EventChannel.default_consumer_admin
形式
import org.omg.CosNotifyChannelAdmin.*; public interface EventChannel extends org.omg.CORBA.Object { public org.omg.CosNotifyChannelAdmin.ConsumerAdmin default_consumer_admin (); }
機能説明
イベントチャネルが標準で持つConsumerAdminオブジェクトのオブジェクトリファレンスを獲得します。
復帰値
正常終了した場合は、ConsumerAdminのオブジェクトリファレンスが返されます。
異常終了した場合は、例外が発生します。
システム例外の場合は、“メッセージ集”の“イベントサービスから通知される例外情報/マイナーコード”および“CORBAサービスから通知される例外情報/マイナーコード”を参照し、発生したシステム例外およびマイナーコードに対する対処を行ってください。
名前
org.omg.CosNotifyChannelAdmin.EventChannel.default_supplier_admin
形式
import org.omg.CosNotifyChannelAdmin.*; public interface EventChannel extends org.omg.CORBA.Object { public org.omg.CosNotifyChannelAdmin.SupplierAdmin default_supplier_admin (); }
機能説明
イベントチャネルが標準で持つSupplierAdminオブジェクトのオブジェクトリファレンスを獲得します。
復帰値
正常終了した場合は、SupplierAdminのオブジェクトリファレンスが返されます。
異常終了した場合は、例外が発生します。
システム例外の場合は、“メッセージ集”の“イベントサービスから通知される例外情報/マイナーコード”および“CORBAサービスから通知される例外情報/マイナーコード”を参照し、発生したシステム例外およびマイナーコードに対する対処を行ってください。
名前
org.omg.CosNotifyChannelAdmin.ProxyPushConsumer.connect_any_push_supplier
形式
import org.omg.CosNotifyChannelAdmin.*; public interface ProxyPushConsumer extends org.omg.CORBA.Object { public void connect_any_push_supplier ( org.omg.CosEventComm.PushSupplier push_supplier) throws org.omg.CosEventChannelAdmin.AlreadyConnected; }
機能説明
イベントチャネルにany型のサプライヤとして接続します。
パラメタ
自身のオブジェクトリファレンス。
イベントチャネルが終了した場合の切断通知が不要な場合は、nullを指定します。
復帰値
正常終了した場合は、ありません。
異常終了した場合は、例外が発生します。
ユーザ例外の場合は、以下の例外が発生します。
すでにイベントチャネルと接続されています。
システム例外の場合は、“メッセージ集”の“イベントサービスから通知される例外情報/マイナーコード”および“CORBAサービスから通知される例外情報/マイナーコード”を参照し、発生したシステム例外およびマイナーコードに対する対処を行ってください。
注意事項
イベントチャネルと再接続する場合は、再度org.omg.CosNotifyChannelAdmin.SupplierAdmin.obtain_notification_push_consumer()メソッドから行ってください。
名前
org.omg.CosNotifyChannelAdmin.ProxyPullSupplier.connect_any_pull_consumer
形式
import org.omg.CosNotifyChannelAdmin.*; public interface ProxyPullSupplier extends org.omg.CORBA.Object { public void connect_any_pull_consumer ( org.omg.CosEventComm.PullConsumer pull_consumer ) throws org.omg.CosEventChannelAdmin.AlreadyConnected; }
機能説明
イベントチャネルにany型のコンシューマとして接続します。
パラメタ
自身のオブジェクトリファレンス。
イベントチャネルが終了した場合に切断通知が不要な場合は、nullを指定します。
復帰値
正常終了した場合は、ありません。
異常終了した場合は、例外が発生します。
ユーザ例外の場合は、以下の例外が発生します。
すでにイベントチャネルと接続されています。
システム例外の場合は、“メッセージ集”の“イベントサービスから通知される例外情報/マイナーコード”および“CORBAサービスから通知される例外情報/マイナーコード”を参照し、発生したシステム例外およびマイナーコードに対する対処を行ってください。
注意事項
イベントチャネルと再接続する場合は、再度org.omg.CosNotifyChannelAdmin.ConsumerAdmin.obtain_notification_pull_supplier()メソッドから行ってください。
名前
org.omg.CosNotifyChannelAdmin.ProxyConsumer.MyType
形式
import org.omg.CosNotifyChannelAdmin.*; public interface ProxyConsumer extends org.omg.CORBA.Object { public org.omg.CosNotifyChannelAdmin.ProxyType MyType (); }
機能説明
Proxyオブジェクトの種別として以下の値を返します。
org.omg.CosNotifyChannelAdmin.ProxyType.PUSH_ANY...........any型のPushモデル org.omg.CosNotifyChannelAdmin.ProxyType.PULL_ANY...........any型のPullモデル org.omg.CosNotifyChannelAdmin.ProxyType.PUSH_STRUCTURED....StructuredEvent型のPushモデル org.omg.CosNotifyChannelAdmin.ProxyType.PULL_STRUCTURED....StructuredEvent型のPullモデル
復帰値
正常終了した場合は、Proxyオブジェクトの種別が返されます。
異常終了した場合は、例外が発生します。
システム例外の場合は、“メッセージ集”の“イベントサービスから通知される例外情報/マイナーコード”および“CORBAサービスから通知される例外情報/マイナーコード”を参照し、発生したシステム例外およびマイナーコードに対する対処を行ってください。
名前
org.omg.CosNotifyChannelAdmin.ProxySupplier.MyType
形式
import org.omg.CosNotifyChannelAdmin.*; public interface ProxySupplier extends org.omg.CORBA.Object { public org.omg.CosNotifyChannelAdmin.ProxyType MyType (); }
機能説明
Proxyオブジェクトの種別として以下の値を返します。
org.omg.CosNotifyChannelAdmin.ProxyType.PUSH_ANY...........any型のPushモデル org.omg.CosNotifyChannelAdmin.ProxyType.PULL_ANY...........any型のPullモデル org.omg.CosNotifyChannelAdmin.ProxyType.PUSH_STRUCTURED....StructuredEvent型のPushモデル org.omg.CosNotifyChannelAdmin.ProxyType.PULL_STRUCTURED....StructuredEvent型のPullモデル
復帰値
正常終了した場合は、Proxyオブジェクトの種別が返されます。
異常終了した場合は、例外が発生します。
システム例外の場合は、“メッセージ集”の“イベントサービスから通知される例外情報/マイナーコード”および“CORBAサービスから通知される例外情報/マイナーコード”を参照し、発生したシステム例外およびマイナーコードに対する対処を行ってください。
名前
org.omg.CosNotifyChannelAdmin.StructuredProxyPushConsumer.connect_structured_push_supplier
形式
import org.omg.CosNotifyChannelAdmin.*; public interface StructuredProxyPushConsumer extends org.omg.CORBA.Object { public void connect_structured_push_supplier ( org.omg.CosNotifyComm.StructuredPushSupplier push_supplier ) throws org.omg.CosEventChannelAdmin.AlreadyConnected; }
機能説明
イベントチャネルにStructuredEvent型のサプライヤとして接続します。
パラメタ
自身のオブジェクトリファレンス。
イベントチャネルが終了した場合の切断通知が不要な場合は、nullを指定します。
復帰値
正常終了した場合は、ありません。
異常終了した場合は、例外が発生します。
ユーザ例外の場合は、以下の例外が発生します。
すでにイベントチャネルと接続されています。
システム例外の場合は、“メッセージ集”の“イベントサービスから通知される例外情報/マイナーコード”および“CORBAサービスから通知される例外情報/マイナーコード”を参照し、発生したシステム例外およびマイナーコードに対する対処を行ってください。
注意事項
イベントチャネルと再接続する場合は、再度org.omg.CosNotifyChannelAdmin.SupplierAdmin.obtain_notification_push_consumer()メソッドから行ってください。
名前
org.omg.CosNotifyChannelAdmin.StructuredProxyPullSupplier.connect_structured_pull_consumer
形式
import org.omg.CosNotifyChannelAdmin.*; public interface StructuredProxyPullSupplier extends org.omg.CORBA.Object { public void connect_structured_pull_consumer ( org.omg.CosNotifyComm.StructuredPullConsumer pull_consumer ) throws org.omg.CosEventChannelAdmin.AlreadyConnected; }
機能説明
イベントチャネルにStructuredEvent型のコンシューマとして接続します。
パラメタ
自身のオブジェクトリファレンス。
イベントチャネルが終了した場合に切断通知が不要な場合は、nullを指定します。
復帰値
正常終了した場合は、ありません。
異常終了した場合は、例外が発生します。
ユーザ例外の場合は、以下の例外が発生します。
すでにイベントチャネルと接続されています。
システム例外の場合は、“メッセージ集”の“イベントサービスから通知される例外情報/マイナーコード”および“CORBAサービスから通知される例外情報/マイナーコード”を参照し、発生したシステム例外およびマイナーコードに対する対処を行ってください。
注意事項
イベントチャネルと再接続する場合は、再度org.omg.CosNotifyChannelAdmin.ConsumerAdmin.obtain_notification_pull_supplier()メソッドから行ってください。
以下のインタフェースを継承して使用することができます。詳細については、“3.21.3 CosNotifyCommモジュール”を参照してください。
org.omg.CosNotifyChannelAdmin.StructuredProxyPushConsumer.push_structured_event
org.omg.CosNotifyChannelAdmin.StructuredProxyPullSupplier.pull_structured_event
org.omg.CosNotifyChannelAdmin.StructuredProxyPullSupplier.try_pull_structured_event
org.omg.CosNotifyChannelAdmin.StructuredProxyPushConsumer.disconnect_structured_push_consumer
org.omg.CosNotifyChannelAdmin.StructuredProxyPullSupplier.disconnect_structured_pull_supplier
org.omg.CosNotifyChannelAdmin.ProxyPushConsumer.push
org.omg.CosNotifyChannelAdmin.ProxyPullSupplier.pull
org.omg.CosNotifyChannelAdmin.ProxyPullSupplier.try_pull
org.omg.CosNotifyChannelAdmin.ProxyPushConsumer.disconnect_push_consumer
org.omg.CosNotifyChannelAdmin.ProxyPullSupplier.disconnect_pull_supplier