Interstage Application Server リファレンスマニュアル(API編)
目次 索引 前ページ次ページ

第3章 Javaインタフェース> 3.21 ノーティフィケーションサービスインタフェース> 3.21.5 EventChannelFactoryインタフェース

3.21.5.3 org.omg.CosNotifyChannelAdmin.EventChannelFactory.get_event_channel()

名前

  org.omg.CosNotifyChannelAdmin.EventChannelFactory.get_event_channel

形式

  import  org.omg.CosNotifyChannelAdmin.*; 
  public  interface EventChannelFactory extends org.omg.CORBA.Object {
      public  org.omg.CosNotifyChannelAdmin.EventChannel get_event_channel ( 
          int  id )
          throws org.omg.CosNotifyChannelAdmin.ChannelNotFound;
  }

機能説明

 idで指定された識別IDを持つイベントチャネルのオブジェクトリファレンスを返します。

パラメタ

 id
 取得するイベントチャネルの識別ID。

復帰値

 正常終了した場合は、idで指定された識別IDを持つイベントチャネルのオブジェクトリファレンスが返されます。
 異常終了した場合は、例外が発生します。

 ユーザ例外の場合は、以下の例外が発生します。

 org.omg.CosNotifyChannelAdmin.ChannelNotFound
 指定されたチャネルは存在しません。

 システム例外の場合は、以下の例外が発生します。

 org.omg.CORBA.COMM_FAILURE
 通信異常が発生しました。
 org.omg.CORBA.NO_IMPLEMENT
 イベントファクトリが起動されていません。

目次 索引 前ページ次ページ

All Rights Reserved, Copyright(C) 富士通株式会社 2005