Interstage Application Server アプリケーション作成ガイド (イベントサービス編)
目次 索引 前ページ次ページ

付録D サンプルプログラム(Solaris(TM) Operating Environment/Linux)

D.1 サンプルプログラムの種別

 イベントサービスが提供するサンプルプログラムについて、その種別と格納されているサブディレクトリを以下に示します。サンプルプログラムの作成・実行の手順は、“実行手順”の各項目を参照してください。

言語

種別

通信モデル

データ型

サブディレクトリ(注1)

手順

C

イベントサービスのチャネル生成

静的生成

Push

any

c/push

(a1)

Pull

any

c/pull

(a2)

Mixed

any

c/mix

(a3)

動的生成

Mixed

any

c/factory

(a4)

動的生成(複数IP対応)

Mixed

any

c/factory

(a5)

ノーティフィケーションサービスのチャネル生成

静的生成

Mixed

any

notify/c/mix/any

(a6)

StructuredEvent

notify/c/mix/structured

(a7)

動的生成

Mixed

any

notify/c/factory/any

(a8)

動的生成(複数IP対応)

Mixed

any

notify/c/factory/any

(a9)

動的生成

Mixed

StructuredEvent

notify/c/factory/structured

(a10)

動的生成(複数IP対応)

Mixed

StructuredEvent

notify/c/factory/structured

(a11)

接続情報取得

情報取得

c/util/proxy

(a12)

個数取得

c/util/count

(a13)

ノーティフィケーションサービス(MultiCastモデル)のローカルトランザクション

Mixed

StructuredEvent

notify/c/localtran

(a14)

ノーティフィケーションサービス(MultiCastモデル)のグローバルトランザクション

Mixed

StructuredEvent

notify/c/ots

(a15)

ノーティフィケーションサービス(Point-To-Pointモデル)のローカルトランザクション

Mixed

StructuredEvent

notify/c/ptp/localtran

(a16)

ノーティフィケーションサービス(Point-To-Pointモデル)のグローバルトランザクション

Mixed

StructuredEvent

notify/c/ptp/ots

(a17)

C++

イベントサービスのチャネル生成

静的生成

Push

any

cpp/push

(b1)

Pull

any

cpp/pull

(b2)

Mixed

any

cpp/mix

(b3)

動的生成

Mixed

any

cpp/factory

(b4)

動的生成(複数IP対応)

Mixed

any

cpp/factory

(b5)

ノーティフィケーションサービスのチャネル生成

静的生成

Mixed

any

notify/cpp/mix/any

(b6)

StructuredEvent

notify/cpp/mix/structured

(b7)

動的生成

Mixed

any

notify/cpp/factory/any

(b8)

動的生成(複数IP対応)

Mixed

any

notify/cpp/factory/any

(b9)

動的生成

Mixed

StructuredEvent

notify/cpp/factory/structured

(b10)

動的生成(複数IP対応)

Mixed

StructuredEvent

notify/cpp/factory/structured

(b11)

接続情報取得

情報取得

cpp/util/proxy

(b12)

個数取得

cpp/util/count

(b13)

ノーティフィケーションサービス(MultiCastモデル)のローカルトランザクション

Mixed

StructuredEvent

notify/cpp/localtran

(b14)

ノーティフィケーションサービス(MultiCastモデル)のグローバルトランザクション

Mixed

StructuredEvent

notify/cpp/ots

(b15)

ノーティフィケーションサービス(Point-To-Pointモデル)のローカルトランザクション

Mixed

StructuredEvent

notify/cpp/ptp/localtran

(b16)

ノーティフィケーションサービス(Point-To-Pointモデル)のグローバルトランザクション

Mixed

StructuredEvent

notify/cpp/ptp/ots

(b17)

Java

イベントサービスのチャネル生成

静的生成

Push

any

java/push

(c1)

Pull

any

java/pull

(c2)

Mixed

any

java/mix

(c3)

動的生成

Mixed

any

java/factory

(c4)

動的生成(複数IP対応)

Mixed

any

java/factory

(c5)

ノーティフィケーションサービスのチャネル生成

静的生成

Mixed

any

notify/java/mix/any

(c6)

StructuredEvent

notify/java/mix/structured

(c7)

動的生成

Mixed

any

notify/java/factory/any

(c8)

動的生成(複数IP対応)

Mixed

any

notify/java/factory/any

(c9)

動的生成

Mixed

StructuredEvent

notify/java/factory/structured

(c10)

動的生成(複数IP対応)

Mixed

StructuredEvent

notify/java/factory/structured

(c11)

接続情報取得

情報取得

java/util/proxy

(c12)

個数取得

java/util/count

(c13)

ノーティフィケーションサービス(MultiCastモデル)のローカルトランザクション

Mixed

StructuredEvent

notify/java/localtran

(c14)

ノーティフィケーションサービス(MultiCastモデル)のグローバルトランザクション

Mixed

StructuredEvent

notify/java/ots

(c15)

ノーティフィケーションサービス(Point-To-Pointモデル)のローカルトランザクション

Mixed

StructuredEvent

notify/java/ptp/localtran

(c16)

ノーティフィケーションサービス(Point-To-Pointモデル)のグローバルトランザクション

Mixed

StructuredEvent

notify/java/ptp/ots

(c17)

COBOL

イベントサービスのチャネル生成

静的生成

Push

any

cobol/push

(d1)

Pull

any

cobol/pull

(d2)

Mixed

any

cobol/mix

(d3)

動的生成

Mixed

any

cobol/factory

(d4)

注1) すべてのサンプルプログラムは、以下のディレクトリの配下に格納されています。ここでは、サブディレクトリをこのディレクトリからの相対パスで記述します。
 $ES_HOME/src/samples
 ($ES_HOME:イベントサービスのインストールディレクトリ。デフォルトは"/opt/FJSVes")


 Linuxシステムでは、COBOL用のサンプルプログラムは提供されていません。


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

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