Interstage Application Server リファレンスマニュアル(API編) |
目次
索引
![]() ![]() |
第3章 Javaインタフェース | > 3.21 ノーティフィケーションサービスインタフェース | > 3.21.5 EventChannelFactoryインタフェース |
org.omg.CosNotifyChannelAdmin.EventChannelFactory.create_channel
import org.omg.CosNotifyChannelAdmin.*; public interface EventChannelFactory extends org.omg.CORBA.Object { public org.omg.CosNotifyChannelAdmin.EventChannel create_channel ( org.omg.CosNotification.Property[] initial_qos, org.omg.CosNotification.Property[] initial_admin, org.omg.CORBA.IntHolder id ) throws org.omg.CosNotification.UnsupportedQoS, org.omg.CosNotification.UnsupportedAdmin; }
initial_qos, initial_adminで指定されたQoSプロパティ項目およびAdminプロパティ項目を持つイベントチャネルを生成し、イベントチャネルのオブジェクトリファレンスを返します。QoSプロパティ項目およびAdminプロパティ項目の詳細については、“アプリケーション作成ガイド(イベントサービス編)”の“基礎知識”−“ノーティフィケーションサービスのプロパティ”を参照してください。
ファクトリのオブジェクトリファレンスは、org.omg.CORBA.ORB.resolve_initial_references()メソッドのidentifierパラメタに以下の値を指定して獲得します。
"NotificationService"
正常終了した場合は、イベントチャネルのオブジェクトリファレンスを返します。
異常終了した場合は、例外が発生します。
ユーザ例外の場合は、以下の例外が発生します。
システム例外の場合は、以下の例外が発生します。
目次
索引
![]() ![]() |