Hitachi

OpenTP1 Version 7 分散トランザクション処理機能 OpenTP1 プロトコル TP1/NET/User Datagram Protocol編


付録C.3 MCFイベントインタフェース

〈この項の構成〉

(1) MCFイベントの共通ヘッダの形式

バージョン6以前

バージョン7

struct dc_mcf_evtheader {
  char mcfevt_name[9] ;
  char le_name[16] ;
  char cn_name[9] ; 
  unsigned char format_kind;
  char reserve01;
  long time ;
};
struct dc_mcf_evtheader {
  char mcfevt_name[9] ;
  char le_name[16] ;
  char cn_name[9] ;
  unsigned char format_kind;
  char reserve01;
  DCLONG time ;
};

(2) ERREVT1の形式

バージョン6以前とバージョン7で,差異はありません。

(3) ERREVT2の形式

バージョン6以前とバージョン7で,差異はありません。

(4) ERREVT3の形式

バージョン6以前とバージョン7で,差異はありません。

(5) ERREVTAの形式

バージョン6以前

バージョン7

struct dc_mcf_evta_type {
  struct dc_mcf_evtheader  evtheader ;
  char reserve01[12] ;
  char reserve02[10] ;
  char reserve03[2] ;
  char ap_name[10] ;
  char reserve04[2] ;
  char reserve05[32] ;
  char reserve06[32] ;
  long user_leng ;
  char user_data[16] ;
  char reserve07[16] ;
} ;
struct dc_mcf_evta_type {
  struct dc_mcf_evtheader  evtheader ;
  char reserve01[12] ;
  char reserve02[10] ;
  char reserve03[2] ;
  char ap_name[10] ;
  char reserve04[2] ;
  char reserve05[32] ;
  char reserve06[32] ;
  DCLONG user_leng ;
  char user_data[16] ;
  char reserve07[16] ;
} ;

(6) CERREVTの形式

バージョン6以前

バージョン7

typedef struct {
    struct dc_mcf_evtheader  header ;
    long err_fact ;
    long err_reason1 ;
    long err_reason2 ;
    char reserve1[48] ;
} dcmudp_cerrevt ;
typedef struct {
    struct dc_mcf_evtheader  header ;
    DCLONG err_fact ;
    DCLONG err_reason1 ;
    DCLONG err_reason2 ;
    char reserve1[48] ;
} dcmudp_cerrevt ;

(7) COPNEVT,CCLSEVTの形式

バージョン6以前とバージョン7で,差異はありません。