
#ifndef SOM_EventChannelAdmin_ConsumerAdmin_xih
#define SOM_EventChannelAdmin_ConsumerAdmin_xih


#if (defined(EventChannelAdmin_ConsumerAdmin_Class_Source) || defined(SOM_Module_eventch_Source))
#ifndef SOM_DLL_event
#define SOM_DLL_event
#endif
#endif

#if defined(__IBMC__) && (__IBMC__ >= 300)
  #pragma info(none)
#else
  #if defined(__IBMC__)
     #pragma checkout(suspend)
  #endif
#endif


/*
 * Set the scope of method functions
 */
#ifndef SOM_Scope
#define SOM_Scope static 
#endif

#ifndef SOM_EventChannelAdmin_ConsumerAdmin_xh
#include "eventch.xh"
#endif
#include <somcsr.h>

/*
 * -- Instance Data
 */
typedef void EventChannelAdmin_ConsumerAdminData;
#define __somC_EventChannelAdmin_ConsumerAdmin_NODATA

/*
 * This class introduces no instance data, so no GetData macro is provided
 */

/*
 * -- Method Macros for use in Method Procedures
 */
#ifdef METHOD_MACROS
  #define _somDefaultInit somSelf->somDefaultInit
  #define _somDestruct somSelf->somDestruct
  #define _somDefaultCopyInit somSelf->somDefaultCopyInit
  #define _somDefaultAssign somSelf->somDefaultAssign
  #define _somDefaultConstCopyInit somSelf->somDefaultConstCopyInit
  #define _somDefaultVCopyInit somSelf->somDefaultVCopyInit
  #define _somDefaultConstVCopyInit somSelf->somDefaultConstVCopyInit
  #define _somDefaultConstAssign somSelf->somDefaultConstAssign
  #define _somDefaultVAssign somSelf->somDefaultVAssign
  #define _somDefaultConstVAssign somSelf->somDefaultConstVAssign
  #define _somInit somSelf->somInit
  #define _somUninit somSelf->somUninit
  #define _somFree somSelf->somFree
  #define _somGetClass somSelf->somGetClass
  #define _somGetClassName somSelf->somGetClassName
  #define _somGetSize somSelf->somGetSize
  #define _somIsA somSelf->somIsA
  #define _somIsInstanceOf somSelf->somIsInstanceOf
  #define _somRespondsTo somSelf->somRespondsTo
  #define _somDispatch somSelf->somDispatch
  #define _somClassDispatch somSelf->somClassDispatch
  #define _somCastObj somSelf->somCastObj
  #define _somResetObj somSelf->somResetObj
  #define _somPrintSelf somSelf->somPrintSelf
  #define _somDumpSelf somSelf->somDumpSelf
  #define _somDumpSelfInt somSelf->somDumpSelfInt
  #define _add_push_consumer somSelf->add_push_consumer
  #define _add_pull_consumer somSelf->add_pull_consumer
#endif /* METHOD_MACROS */


/*
 * -- Primary Implementation File Support
 */
#if (defined(EventChannelAdmin_ConsumerAdmin_Class_Source) || defined(SOM_Module_eventch_Source))

#ifndef EventChannelAdmin_ConsumerAdminMethodDebug
   #define EventChannelAdmin_ConsumerAdminMethodDebug(c,m) SOMMethodDebug(c,m)
#endif  /* EventChannelAdmin_ConsumerAdminMethodDebug */

static void SOMLINK __somC_EventChannelAdmin_ConsumerAdmin_classInit(SOMClass *cls);


/*
 * Init ClassData Structures
 */
struct EventChannelAdmin_ConsumerAdminClassDataStructure SOM_IMPORTEXPORT_event_eventch SOMDLINK EventChannelAdmin_ConsumerAdminClassData = {0};
struct EventChannelAdmin_ConsumerAdminCClassDataStructure SOM_IMPORTEXPORT_event_eventch SOMDLINK EventChannelAdmin_ConsumerAdminCClassData = {0};


/*
 * Identifiers
 */
static char __somC_Strings_EventChannelAdmin_ConsumerAdmin0[] = {"EventChannelAdmin::ConsumerAdmin"}; /* class name */
static char __somC_Strings_EventChannelAdmin_ConsumerAdmin1[] = {"add_push_consumer"}; /* method name */
static char __somC_Strings_EventChannelAdmin_ConsumerAdmin2[] = {"add_pull_consumer"}; /* method name */
static char __somC_Strings_EventChannelAdmin_ConsumerAdmin3[] = {"SOMObject"}; /* parent name */
static char * __somC_EventChannelAdmin_ConsumerAdmin_regIdsArray[] = {
	__somC_Strings_EventChannelAdmin_ConsumerAdmin0,
#ifndef __somC_EventChannelAdmin_ConsumerAdmin_regIds_add_push_consumer
#define __somC_EventChannelAdmin_ConsumerAdmin_regIds_add_push_consumer 1
#endif
	__somC_Strings_EventChannelAdmin_ConsumerAdmin1,
#ifndef __somC_EventChannelAdmin_ConsumerAdmin_regIds_add_pull_consumer
#define __somC_EventChannelAdmin_ConsumerAdmin_regIds_add_pull_consumer 2
#endif
	__somC_Strings_EventChannelAdmin_ConsumerAdmin2,
	__somC_Strings_EventChannelAdmin_ConsumerAdmin3
};


/*
 * New Method: add_push_consumer
 */
SOM_Scope EventComm_EventConnection*  SOMLINK EventChannelAdmin_ConsumerAdminadd_push_consumer(EventChannelAdmin_ConsumerAdmin *somSelf, Environment *ev,
		EventComm_Consumer* c);
#ifndef somId_add_push_consumer
#define somId_add_push_consumer ((somId)&(__somC_EventChannelAdmin_ConsumerAdmin_regIdsArray[__somC_EventChannelAdmin_ConsumerAdmin_regIds_add_push_consumer]))
#endif
#define SOM_MPR_MINFO_EventChannelAdmin_ConsumerAdminadd_push_consumer {0, 12, 0}
static somMpRowMethodInfo EventChannelAdmin_ConsumerAdmin_add_push_consumer_mp_minfoRow = {{0, SOM_MP_ROWTYPE_METHODINFO}, SOM_MPR_MINFO_EventChannelAdmin_ConsumerAdminadd_push_consumer};
#ifndef DEFINEDEventChannelAdmin_ConsumerAdmin_add_push_consumer_mp
#define DEFINEDEventChannelAdmin_ConsumerAdmin_add_push_consumer_mp
/*[ ::EventChannelAdmin::ConsumerAdmin::add_push_consumer EventChannelAdmin_ConsumerAdmin_add_push_consumer_mp ]*/
/* Contract specification:
[CALLTYPE_IDL (2)][RESULT][VERSION 0]
RESULT[out]: ObjREF
ARG 1[in]: ObjREF
*/
static struct { void * rows; unsigned char csr[4]; } EventChannelAdmin_ConsumerAdmin_add_push_consumer_mp={&EventChannelAdmin_ConsumerAdmin_add_push_consumer_mp_minfoRow, {
0x86, 0x02, 0x96, 0x56},
};
#endif
#define EventChannelAdmin_ConsumerAdminadd_push_consumer_somMethodInfoValue 0
#define EventChannelAdmin_ConsumerAdminadd_push_consumer_somApplyStubValue &EventChannelAdmin_ConsumerAdmin_add_push_consumer_mp.csr
#define EventChannelAdmin_ConsumerAdminadd_push_consumer_somHasMPlan 8

/*
 * New Method: add_pull_consumer
 */
SOM_Scope EventComm_Supplier*  SOMLINK EventChannelAdmin_ConsumerAdminadd_pull_consumer(EventChannelAdmin_ConsumerAdmin *somSelf, Environment *ev,
		EventComm_EventConnection* d);
#ifndef somId_add_pull_consumer
#define somId_add_pull_consumer ((somId)&(__somC_EventChannelAdmin_ConsumerAdmin_regIdsArray[__somC_EventChannelAdmin_ConsumerAdmin_regIds_add_pull_consumer]))
#endif
#define SOM_MPR_MINFO_EventChannelAdmin_ConsumerAdminadd_pull_consumer {0, 12, 0}
static somMpRowMethodInfo EventChannelAdmin_ConsumerAdmin_add_pull_consumer_mp_minfoRow = {{0, SOM_MP_ROWTYPE_METHODINFO}, SOM_MPR_MINFO_EventChannelAdmin_ConsumerAdminadd_pull_consumer};
#ifndef DEFINEDEventChannelAdmin_ConsumerAdmin_add_pull_consumer_mp
#define DEFINEDEventChannelAdmin_ConsumerAdmin_add_pull_consumer_mp
/*[ ::EventChannelAdmin::ConsumerAdmin::add_pull_consumer EventChannelAdmin_ConsumerAdmin_add_pull_consumer_mp ]*/
/* Contract specification:
[CALLTYPE_IDL (2)][RESULT][VERSION 0]
RESULT[out]: ObjREF
ARG 1[in]: ObjREF
*/
static struct { void * rows; unsigned char csr[4]; } EventChannelAdmin_ConsumerAdmin_add_pull_consumer_mp={&EventChannelAdmin_ConsumerAdmin_add_pull_consumer_mp_minfoRow, {
0x86, 0x02, 0x96, 0x56},
};
#endif
#define EventChannelAdmin_ConsumerAdminadd_pull_consumer_somMethodInfoValue 0
#define EventChannelAdmin_ConsumerAdminadd_pull_consumer_somApplyStubValue &EventChannelAdmin_ConsumerAdmin_add_pull_consumer_mp.csr
#define EventChannelAdmin_ConsumerAdminadd_pull_consumer_somHasMPlan 8

/*
 * Functions for attributes.
 */

/*
 * Special Method Support
 */

/*
 * -- Routines and Structures to create the class object
 */
static SOMClass ** __somC_EventChannelAdmin_ConsumerAdmin_parentArray[] = {
	NULL,
};

void * __somC_EventChannelAdmin_ConsumerAdmin_parentMtabs[1];

somMethodDefn __somC_EventChannelAdmin_ConsumerAdmin_newNDMethodsArray[] = {
	{  (0 | EventChannelAdmin_ConsumerAdminadd_push_consumer_somHasMPlan), 0, (somMToken)0, (somMethodPtr)EventChannelAdmin_ConsumerAdminadd_push_consumer, 
	   0, (somMethodPtr)EventChannelAdmin_ConsumerAdminadd_push_consumer_somApplyStubValue, 
	   (somMethodInfo *) EventChannelAdmin_ConsumerAdminadd_push_consumer_somMethodInfoValue, &EventChannelAdmin_ConsumerAdminClassData.add_push_consumer, 0, 1 },
	{  (0 | EventChannelAdmin_ConsumerAdminadd_pull_consumer_somHasMPlan), 0, (somMToken)0, (somMethodPtr)EventChannelAdmin_ConsumerAdminadd_pull_consumer, 
	   0, (somMethodPtr)EventChannelAdmin_ConsumerAdminadd_pull_consumer_somApplyStubValue, 
	   (somMethodInfo *) EventChannelAdmin_ConsumerAdminadd_pull_consumer_somMethodInfoValue, &EventChannelAdmin_ConsumerAdminClassData.add_pull_consumer, 0, 1 }
};

static somClassVars1 __somC_EventChannelAdmin_ConsumerAdmin_classVars1 = {
	1,		/* layoutVersion */
	(void *)NULL,	/* extension */
	0,	/* dataSize */
	0,		/* type code dataAlignment */
	(somMethodPtr)0,	/* classAllocate */
	(somMethodPtr)0	/* classDeallocate */
};

static struct EventChannelAdmin_ConsumerAdminClassDataStructure __somC_EventChannelAdmin_ConsumerAdmin_resolvedMTokens;
static void * __somC_EventChannelAdmin_ConsumerAdmin_unsharedClassVariablesPtr = 0;
extern som3ClassInfoStruct __somC_EventChannelAdmin_ConsumerAdmin_ClassInfo; /* C++ forward reference */

static SOM_CIB EventChannelAdmin_ConsumerAdmin_ClassInitBlock = {
	1,	/* layoutVersion */
	&__somC_EventChannelAdmin_ConsumerAdmin_classVars1,
	&__somC_EventChannelAdmin_ConsumerAdmin_unsharedClassVariablesPtr,	/* unsharedVars */
	EventChannelAdmin_ConsumerAdmin_MajorVersion,
	EventChannelAdmin_ConsumerAdmin_MinorVersion,
	0x60004,	/* constFlags */
	0xFFFFFFFF,	/* inheritVars */
	(SOMClass**)0,	/* classMeta */
	(somMethodPtr) __somC_EventChannelAdmin_ConsumerAdmin_classInit,	/* classInit */
	(somMethodPtr) 0,	/* classUninit */
	(somMethodPtr) 0,	/* legacyInit */
	(somMethodPtr) 0,	/* legacyUninit */
	(somMethodPtr) 0,	/* udaAssign */
	(somMethodPtr) 0,	/* udaConstAssign */
	0,	/* protectedDataOffset */
	0,	/* numEmbeddedObjs */
	0,	/* embeddedObjs */
	4,	/* numRegIds */
	__somC_EventChannelAdmin_ConsumerAdmin_regIdsArray,	/* regIds */
	((sizeof(struct EventChannelAdmin_ConsumerAdminClassDataStructure) - sizeof(SOMClass *))/sizeof(somMToken)),	/* numClassDataEntries */
	(somClassDataStructurePtr)&EventChannelAdmin_ConsumerAdminClassData,
	(somCClassDataStructurePtr)&EventChannelAdmin_ConsumerAdminCClassData,
	&__somC_EventChannelAdmin_ConsumerAdmin_ClassInfo,
	1,	/* numParents */
	(SOMClass***)__somC_EventChannelAdmin_ConsumerAdmin_parentArray,	/* parents */
	1,	/* numDirectInitClasses */
	(SOMClass***)__somC_EventChannelAdmin_ConsumerAdmin_parentArray,	/* directInitClasses */
	0,	/* numNewInitializers */
	0,	/* newInitializerSymbols */
	0,	/* numOvInitializers */
	0,	/* ovInitializerSymbols */
	0,	/* special overrides */
	2,	/* maxNDMethods */
	__somC_EventChannelAdmin_ConsumerAdmin_newNDMethodsArray,	/* newNDMethods */
	0,	/* numOverrides */
	0,	/* overrides */
	0,	/* numInheritedSelections */
	0,	/* inheritedSelections */
	0,	/* numMigratedMethods */
	0 	/* migratedMethods */
};	/* CIB */
static som3ClassDetails __somC_EventChannelAdmin_ConsumerAdmin_ClassDetails = {
	(somMethodTabPtr)NULL,	/* mtab */
	(somMethodTabPtr *)__somC_EventChannelAdmin_ConsumerAdmin_parentMtabs,	/* parentMtabs */
	&EventChannelAdmin_ConsumerAdmin_ClassInitBlock,	/* ClassInitBlock address */
	(somTD_somRenewNoInitNoZeroThunk)0,	/* somRenewNoInitNoZeroThunk */
	(long)0,	/* instanceSize */
	(somMethodProc**)NULL,	/* resolvedInits */
	(somClassDataStructure *)&__somC_EventChannelAdmin_ConsumerAdmin_resolvedMTokens,	/* resolvedMTokens */
	{0,0,0,0},	/* initCtrl */
	{0,0,0,0},	/* destructCtrl */
	{0,0,0,0},	/* assignCtrl */
	(long)1,	/* layoutVersion */
	(void*)NULL,	/* extension */
	(somDToken)NULL,	/* publicDataToken */
	(somDToken)NULL,	/* protectedDataToken */
};
som3ClassInfoStruct __somC_EventChannelAdmin_ConsumerAdmin_ClassInfo = {
	0,	/* classObject */
	&__somC_EventChannelAdmin_ConsumerAdmin_ClassDetails	/* class details */
};


/*
 * Class Creation and Initialization
 */

#if defined(__IBMC__) && (defined(__OS2__) || defined(_WIN32)) && !defined(SOM_PREWARP)
#pragma alloc_text (SEG0002, __somC_EventChannelAdmin_ConsumerAdmin_classInit)
#pragma alloc_text (SEG0002, EventChannelAdmin_ConsumerAdminNewClass)
#endif

/* classinit function */
SOM_Scope void SOMLINK __somC_EventChannelAdmin_ConsumerAdmin_classInit(SOMClass *somSelf)
{
   SOM_IgnoreWarning(somSelf);
}

/* NewClass Function */
SOMEXTERN SOM_IMPORTEXPORT_event_eventch SOMClass * SOMLINK  EventChannelAdmin_ConsumerAdminNewClass (long reqMajorVersion, long reqMinorVersion)
{
    if (_SOMCLASS_EventChannelAdmin_ConsumerAdmin && _SOMCLASS_EventChannelAdmin_ConsumerAdmin->somCheckVersion(reqMajorVersion, reqMinorVersion))
          return ((SOMClass*)((void*)_SOMCLASS_EventChannelAdmin_ConsumerAdmin));
__somC_EventChannelAdmin_ConsumerAdmin_parentArray[0] = (SOMClass **)&_SOMCLASS_SOMObject;
   /* require parents */
   if (!_SOMCLASS_SOMObject) SOMObjectNewClass(SOMObject_MajorVersion,SOMObject_MinorVersion);
   /* return new class */
   return ((SOMClass*)(void*)somBuildClass2(&EventChannelAdmin_ConsumerAdmin_ClassInitBlock, reqMajorVersion, reqMinorVersion));
}

#if defined(__IBMC__) && (__IBMC__ >= 300)
  #pragma info(restore)
#else
  #if defined(__IBMC__)
    #pragma checkout(resume)
  #endif
#endif



#endif /* Primary Implementation Support */

#endif       /* SOM_EventChannelAdmin_ConsumerAdmin_xih */

#ifndef SOM_EventChannelAdmin_SupplierAdmin_xih
#define SOM_EventChannelAdmin_SupplierAdmin_xih


#if (defined(EventChannelAdmin_SupplierAdmin_Class_Source) || defined(SOM_Module_eventch_Source))
#ifndef SOM_DLL_event
#define SOM_DLL_event
#endif
#endif

#if defined(__IBMC__) && (__IBMC__ >= 300)
  #pragma info(none)
#else
  #if defined(__IBMC__)
     #pragma checkout(suspend)
  #endif
#endif


/*
 * Set the scope of method functions
 */
#ifndef SOM_Scope
#define SOM_Scope static 
#endif

#ifndef SOM_EventChannelAdmin_SupplierAdmin_xh
#include "eventch.xh"
#endif
#include <somcsr.h>

/*
 * -- Instance Data
 */
typedef void EventChannelAdmin_SupplierAdminData;
#define __somC_EventChannelAdmin_SupplierAdmin_NODATA

/*
 * This class introduces no instance data, so no GetData macro is provided
 */

/*
 * -- Method Macros for use in Method Procedures
 */
#ifdef METHOD_MACROS
  #define _somDefaultInit somSelf->somDefaultInit
  #define _somDestruct somSelf->somDestruct
  #define _somDefaultCopyInit somSelf->somDefaultCopyInit
  #define _somDefaultAssign somSelf->somDefaultAssign
  #define _somDefaultConstCopyInit somSelf->somDefaultConstCopyInit
  #define _somDefaultVCopyInit somSelf->somDefaultVCopyInit
  #define _somDefaultConstVCopyInit somSelf->somDefaultConstVCopyInit
  #define _somDefaultConstAssign somSelf->somDefaultConstAssign
  #define _somDefaultVAssign somSelf->somDefaultVAssign
  #define _somDefaultConstVAssign somSelf->somDefaultConstVAssign
  #define _somInit somSelf->somInit
  #define _somUninit somSelf->somUninit
  #define _somFree somSelf->somFree
  #define _somGetClass somSelf->somGetClass
  #define _somGetClassName somSelf->somGetClassName
  #define _somGetSize somSelf->somGetSize
  #define _somIsA somSelf->somIsA
  #define _somIsInstanceOf somSelf->somIsInstanceOf
  #define _somRespondsTo somSelf->somRespondsTo
  #define _somDispatch somSelf->somDispatch
  #define _somClassDispatch somSelf->somClassDispatch
  #define _somCastObj somSelf->somCastObj
  #define _somResetObj somSelf->somResetObj
  #define _somPrintSelf somSelf->somPrintSelf
  #define _somDumpSelf somSelf->somDumpSelf
  #define _somDumpSelfInt somSelf->somDumpSelfInt
  #define _add_pull_supplier somSelf->add_pull_supplier
  #define _add_push_supplier somSelf->add_push_supplier
#endif /* METHOD_MACROS */


/*
 * -- Primary Implementation File Support
 */
#if (defined(EventChannelAdmin_SupplierAdmin_Class_Source) || defined(SOM_Module_eventch_Source))

#ifndef EventChannelAdmin_SupplierAdminMethodDebug
   #define EventChannelAdmin_SupplierAdminMethodDebug(c,m) SOMMethodDebug(c,m)
#endif  /* EventChannelAdmin_SupplierAdminMethodDebug */

static void SOMLINK __somC_EventChannelAdmin_SupplierAdmin_classInit(SOMClass *cls);


/*
 * Init ClassData Structures
 */
struct EventChannelAdmin_SupplierAdminClassDataStructure SOM_IMPORTEXPORT_event_eventch SOMDLINK EventChannelAdmin_SupplierAdminClassData = {0};
struct EventChannelAdmin_SupplierAdminCClassDataStructure SOM_IMPORTEXPORT_event_eventch SOMDLINK EventChannelAdmin_SupplierAdminCClassData = {0};


/*
 * Identifiers
 */
static char __somC_Strings_EventChannelAdmin_SupplierAdmin0[] = {"EventChannelAdmin::SupplierAdmin"}; /* class name */
static char __somC_Strings_EventChannelAdmin_SupplierAdmin1[] = {"add_pull_supplier"}; /* method name */
static char __somC_Strings_EventChannelAdmin_SupplierAdmin2[] = {"add_push_supplier"}; /* method name */
static char __somC_Strings_EventChannelAdmin_SupplierAdmin3[] = {"SOMObject"}; /* parent name */
static char * __somC_EventChannelAdmin_SupplierAdmin_regIdsArray[] = {
	__somC_Strings_EventChannelAdmin_SupplierAdmin0,
#ifndef __somC_EventChannelAdmin_SupplierAdmin_regIds_add_pull_supplier
#define __somC_EventChannelAdmin_SupplierAdmin_regIds_add_pull_supplier 1
#endif
	__somC_Strings_EventChannelAdmin_SupplierAdmin1,
#ifndef __somC_EventChannelAdmin_SupplierAdmin_regIds_add_push_supplier
#define __somC_EventChannelAdmin_SupplierAdmin_regIds_add_push_supplier 2
#endif
	__somC_Strings_EventChannelAdmin_SupplierAdmin2,
	__somC_Strings_EventChannelAdmin_SupplierAdmin3
};


/*
 * New Method: add_pull_supplier
 */
SOM_Scope EventComm_EventConnection*  SOMLINK EventChannelAdmin_SupplierAdminadd_pull_supplier(EventChannelAdmin_SupplierAdmin *somSelf, Environment *ev,
		EventComm_Supplier* s);
#ifndef somId_add_pull_supplier
#define somId_add_pull_supplier ((somId)&(__somC_EventChannelAdmin_SupplierAdmin_regIdsArray[__somC_EventChannelAdmin_SupplierAdmin_regIds_add_pull_supplier]))
#endif
#define SOM_MPR_MINFO_EventChannelAdmin_SupplierAdminadd_pull_supplier {0, 12, 0}
static somMpRowMethodInfo EventChannelAdmin_SupplierAdmin_add_pull_supplier_mp_minfoRow = {{0, SOM_MP_ROWTYPE_METHODINFO}, SOM_MPR_MINFO_EventChannelAdmin_SupplierAdminadd_pull_supplier};
#ifndef DEFINEDEventChannelAdmin_SupplierAdmin_add_pull_supplier_mp
#define DEFINEDEventChannelAdmin_SupplierAdmin_add_pull_supplier_mp
/*[ ::EventChannelAdmin::SupplierAdmin::add_pull_supplier EventChannelAdmin_SupplierAdmin_add_pull_supplier_mp ]*/
/* Contract specification:
[CALLTYPE_IDL (2)][RESULT][VERSION 0]
RESULT[out]: ObjREF
ARG 1[in]: ObjREF
*/
static struct { void * rows; unsigned char csr[4]; } EventChannelAdmin_SupplierAdmin_add_pull_supplier_mp={&EventChannelAdmin_SupplierAdmin_add_pull_supplier_mp_minfoRow, {
0x86, 0x02, 0x96, 0x56},
};
#endif
#define EventChannelAdmin_SupplierAdminadd_pull_supplier_somMethodInfoValue 0
#define EventChannelAdmin_SupplierAdminadd_pull_supplier_somApplyStubValue &EventChannelAdmin_SupplierAdmin_add_pull_supplier_mp.csr
#define EventChannelAdmin_SupplierAdminadd_pull_supplier_somHasMPlan 8

/*
 * New Method: add_push_supplier
 */
SOM_Scope EventComm_Consumer*  SOMLINK EventChannelAdmin_SupplierAdminadd_push_supplier(EventChannelAdmin_SupplierAdmin *somSelf, Environment *ev,
		EventComm_EventConnection* d);
#ifndef somId_add_push_supplier
#define somId_add_push_supplier ((somId)&(__somC_EventChannelAdmin_SupplierAdmin_regIdsArray[__somC_EventChannelAdmin_SupplierAdmin_regIds_add_push_supplier]))
#endif
#define SOM_MPR_MINFO_EventChannelAdmin_SupplierAdminadd_push_supplier {0, 12, 0}
static somMpRowMethodInfo EventChannelAdmin_SupplierAdmin_add_push_supplier_mp_minfoRow = {{0, SOM_MP_ROWTYPE_METHODINFO}, SOM_MPR_MINFO_EventChannelAdmin_SupplierAdminadd_push_supplier};
#ifndef DEFINEDEventChannelAdmin_SupplierAdmin_add_push_supplier_mp
#define DEFINEDEventChannelAdmin_SupplierAdmin_add_push_supplier_mp
/*[ ::EventChannelAdmin::SupplierAdmin::add_push_supplier EventChannelAdmin_SupplierAdmin_add_push_supplier_mp ]*/
/* Contract specification:
[CALLTYPE_IDL (2)][RESULT][VERSION 0]
RESULT[out]: ObjREF
ARG 1[in]: ObjREF
*/
static struct { void * rows; unsigned char csr[4]; } EventChannelAdmin_SupplierAdmin_add_push_supplier_mp={&EventChannelAdmin_SupplierAdmin_add_push_supplier_mp_minfoRow, {
0x86, 0x02, 0x96, 0x56},
};
#endif
#define EventChannelAdmin_SupplierAdminadd_push_supplier_somMethodInfoValue 0
#define EventChannelAdmin_SupplierAdminadd_push_supplier_somApplyStubValue &EventChannelAdmin_SupplierAdmin_add_push_supplier_mp.csr
#define EventChannelAdmin_SupplierAdminadd_push_supplier_somHasMPlan 8

/*
 * Functions for attributes.
 */

/*
 * Special Method Support
 */

/*
 * -- Routines and Structures to create the class object
 */
static SOMClass ** __somC_EventChannelAdmin_SupplierAdmin_parentArray[] = {
	NULL,
};

void * __somC_EventChannelAdmin_SupplierAdmin_parentMtabs[1];

somMethodDefn __somC_EventChannelAdmin_SupplierAdmin_newNDMethodsArray[] = {
	{  (0 | EventChannelAdmin_SupplierAdminadd_pull_supplier_somHasMPlan), 0, (somMToken)0, (somMethodPtr)EventChannelAdmin_SupplierAdminadd_pull_supplier, 
	   0, (somMethodPtr)EventChannelAdmin_SupplierAdminadd_pull_supplier_somApplyStubValue, 
	   (somMethodInfo *) EventChannelAdmin_SupplierAdminadd_pull_supplier_somMethodInfoValue, &EventChannelAdmin_SupplierAdminClassData.add_pull_supplier, 0, 1 },
	{  (0 | EventChannelAdmin_SupplierAdminadd_push_supplier_somHasMPlan), 0, (somMToken)0, (somMethodPtr)EventChannelAdmin_SupplierAdminadd_push_supplier, 
	   0, (somMethodPtr)EventChannelAdmin_SupplierAdminadd_push_supplier_somApplyStubValue, 
	   (somMethodInfo *) EventChannelAdmin_SupplierAdminadd_push_supplier_somMethodInfoValue, &EventChannelAdmin_SupplierAdminClassData.add_push_supplier, 0, 1 }
};

static somClassVars1 __somC_EventChannelAdmin_SupplierAdmin_classVars1 = {
	1,		/* layoutVersion */
	(void *)NULL,	/* extension */
	0,	/* dataSize */
	0,		/* type code dataAlignment */
	(somMethodPtr)0,	/* classAllocate */
	(somMethodPtr)0	/* classDeallocate */
};

static struct EventChannelAdmin_SupplierAdminClassDataStructure __somC_EventChannelAdmin_SupplierAdmin_resolvedMTokens;
static void * __somC_EventChannelAdmin_SupplierAdmin_unsharedClassVariablesPtr = 0;
extern som3ClassInfoStruct __somC_EventChannelAdmin_SupplierAdmin_ClassInfo; /* C++ forward reference */

static SOM_CIB EventChannelAdmin_SupplierAdmin_ClassInitBlock = {
	1,	/* layoutVersion */
	&__somC_EventChannelAdmin_SupplierAdmin_classVars1,
	&__somC_EventChannelAdmin_SupplierAdmin_unsharedClassVariablesPtr,	/* unsharedVars */
	EventChannelAdmin_SupplierAdmin_MajorVersion,
	EventChannelAdmin_SupplierAdmin_MinorVersion,
	0x60004,	/* constFlags */
	0xFFFFFFFF,	/* inheritVars */
	(SOMClass**)0,	/* classMeta */
	(somMethodPtr) __somC_EventChannelAdmin_SupplierAdmin_classInit,	/* classInit */
	(somMethodPtr) 0,	/* classUninit */
	(somMethodPtr) 0,	/* legacyInit */
	(somMethodPtr) 0,	/* legacyUninit */
	(somMethodPtr) 0,	/* udaAssign */
	(somMethodPtr) 0,	/* udaConstAssign */
	0,	/* protectedDataOffset */
	0,	/* numEmbeddedObjs */
	0,	/* embeddedObjs */
	4,	/* numRegIds */
	__somC_EventChannelAdmin_SupplierAdmin_regIdsArray,	/* regIds */
	((sizeof(struct EventChannelAdmin_SupplierAdminClassDataStructure) - sizeof(SOMClass *))/sizeof(somMToken)),	/* numClassDataEntries */
	(somClassDataStructurePtr)&EventChannelAdmin_SupplierAdminClassData,
	(somCClassDataStructurePtr)&EventChannelAdmin_SupplierAdminCClassData,
	&__somC_EventChannelAdmin_SupplierAdmin_ClassInfo,
	1,	/* numParents */
	(SOMClass***)__somC_EventChannelAdmin_SupplierAdmin_parentArray,	/* parents */
	1,	/* numDirectInitClasses */
	(SOMClass***)__somC_EventChannelAdmin_SupplierAdmin_parentArray,	/* directInitClasses */
	0,	/* numNewInitializers */
	0,	/* newInitializerSymbols */
	0,	/* numOvInitializers */
	0,	/* ovInitializerSymbols */
	0,	/* special overrides */
	2,	/* maxNDMethods */
	__somC_EventChannelAdmin_SupplierAdmin_newNDMethodsArray,	/* newNDMethods */
	0,	/* numOverrides */
	0,	/* overrides */
	0,	/* numInheritedSelections */
	0,	/* inheritedSelections */
	0,	/* numMigratedMethods */
	0 	/* migratedMethods */
};	/* CIB */
static som3ClassDetails __somC_EventChannelAdmin_SupplierAdmin_ClassDetails = {
	(somMethodTabPtr)NULL,	/* mtab */
	(somMethodTabPtr *)__somC_EventChannelAdmin_SupplierAdmin_parentMtabs,	/* parentMtabs */
	&EventChannelAdmin_SupplierAdmin_ClassInitBlock,	/* ClassInitBlock address */
	(somTD_somRenewNoInitNoZeroThunk)0,	/* somRenewNoInitNoZeroThunk */
	(long)0,	/* instanceSize */
	(somMethodProc**)NULL,	/* resolvedInits */
	(somClassDataStructure *)&__somC_EventChannelAdmin_SupplierAdmin_resolvedMTokens,	/* resolvedMTokens */
	{0,0,0,0},	/* initCtrl */
	{0,0,0,0},	/* destructCtrl */
	{0,0,0,0},	/* assignCtrl */
	(long)1,	/* layoutVersion */
	(void*)NULL,	/* extension */
	(somDToken)NULL,	/* publicDataToken */
	(somDToken)NULL,	/* protectedDataToken */
};
som3ClassInfoStruct __somC_EventChannelAdmin_SupplierAdmin_ClassInfo = {
	0,	/* classObject */
	&__somC_EventChannelAdmin_SupplierAdmin_ClassDetails	/* class details */
};


/*
 * Class Creation and Initialization
 */

#if defined(__IBMC__) && (defined(__OS2__) || defined(_WIN32)) && !defined(SOM_PREWARP)
#pragma alloc_text (SEG0002, __somC_EventChannelAdmin_SupplierAdmin_classInit)
#pragma alloc_text (SEG0002, EventChannelAdmin_SupplierAdminNewClass)
#endif

/* classinit function */
SOM_Scope void SOMLINK __somC_EventChannelAdmin_SupplierAdmin_classInit(SOMClass *somSelf)
{
   SOM_IgnoreWarning(somSelf);
}

/* NewClass Function */
SOMEXTERN SOM_IMPORTEXPORT_event_eventch SOMClass * SOMLINK  EventChannelAdmin_SupplierAdminNewClass (long reqMajorVersion, long reqMinorVersion)
{
    if (_SOMCLASS_EventChannelAdmin_SupplierAdmin && _SOMCLASS_EventChannelAdmin_SupplierAdmin->somCheckVersion(reqMajorVersion, reqMinorVersion))
          return ((SOMClass*)((void*)_SOMCLASS_EventChannelAdmin_SupplierAdmin));
__somC_EventChannelAdmin_SupplierAdmin_parentArray[0] = (SOMClass **)&_SOMCLASS_SOMObject;
   /* require parents */
   if (!_SOMCLASS_SOMObject) SOMObjectNewClass(SOMObject_MajorVersion,SOMObject_MinorVersion);
   /* return new class */
   return ((SOMClass*)(void*)somBuildClass2(&EventChannelAdmin_SupplierAdmin_ClassInitBlock, reqMajorVersion, reqMinorVersion));
}

#if defined(__IBMC__) && (__IBMC__ >= 300)
  #pragma info(restore)
#else
  #if defined(__IBMC__)
    #pragma checkout(resume)
  #endif
#endif



#endif /* Primary Implementation Support */

#endif       /* SOM_EventChannelAdmin_SupplierAdmin_xih */

#ifndef SOM_EventChannelAdmin_EventChannel_xih
#define SOM_EventChannelAdmin_EventChannel_xih


#if (defined(EventChannelAdmin_EventChannel_Class_Source) || defined(SOM_Module_eventch_Source))
#ifndef SOM_DLL_event
#define SOM_DLL_event
#endif
#endif

#if defined(__IBMC__) && (__IBMC__ >= 300)
  #pragma info(none)
#else
  #if defined(__IBMC__)
     #pragma checkout(suspend)
  #endif
#endif


/*
 * Set the scope of method functions
 */
#ifndef SOM_Scope
#define SOM_Scope static 
#endif

#ifndef SOM_EventChannelAdmin_EventChannel_xh
#include "eventch.xh"
#endif
#include <somcsr.h>

/*
 * -- Instance Data
 */
typedef struct {
	EventChannelAdmin_ConsumerAdmin* cons_admin;
	EventChannelAdmin_SupplierAdmin* supp_admin;
} __somC_EventChannelAdmin_EventChannel_ProtectedPrivateData;
typedef __somC_EventChannelAdmin_EventChannel_ProtectedPrivateData EventChannelAdmin_EventChannelData, *EventChannelAdmin_EventChannelDataPtr;

/*
 * -- GetData Macro
 */
typedef EventChannelAdmin_EventChannelDataPtr SOMLINK somTP_EventChannelAdmin_EventChannel_DataThunk(void*);
typedef somTP_EventChannelAdmin_EventChannel_DataThunk *somTD_EventChannelAdmin_EventChannel_DataThunk;

#define EventChannelAdmin_EventChannelGetData(somSelf) \
   (((somTD_EventChannelAdmin_EventChannel_DataThunk)(EventChannelAdmin_EventChannelCClassData.instanceDataToken))(somSelf))
#ifdef VARIABLE_MACROS
#define _cons_admin somThis->cons_admin
#define _supp_admin somThis->supp_admin
#endif


/*
 * -- Method Macros for use in Method Procedures
 */
#ifdef METHOD_MACROS
  #define _somDefaultInit somSelf->somDefaultInit
  #define _somDestruct somSelf->somDestruct
  #define _somDefaultCopyInit somSelf->somDefaultCopyInit
  #define _somDefaultAssign somSelf->somDefaultAssign
  #define _somDefaultConstCopyInit somSelf->somDefaultConstCopyInit
  #define _somDefaultVCopyInit somSelf->somDefaultVCopyInit
  #define _somDefaultConstVCopyInit somSelf->somDefaultConstVCopyInit
  #define _somDefaultConstAssign somSelf->somDefaultConstAssign
  #define _somDefaultVAssign somSelf->somDefaultVAssign
  #define _somDefaultConstVAssign somSelf->somDefaultConstVAssign
  #define _somInit somSelf->somInit
  #define _somUninit somSelf->somUninit
  #define _somFree somSelf->somFree
  #define _somGetClass somSelf->somGetClass
  #define _somGetClassName somSelf->somGetClassName
  #define _somGetSize somSelf->somGetSize
  #define _somIsA somSelf->somIsA
  #define _somIsInstanceOf somSelf->somIsInstanceOf
  #define _somRespondsTo somSelf->somRespondsTo
  #define _somDispatch somSelf->somDispatch
  #define _somClassDispatch somSelf->somClassDispatch
  #define _somCastObj somSelf->somCastObj
  #define _somResetObj somSelf->somResetObj
  #define _somPrintSelf somSelf->somPrintSelf
  #define _somDumpSelf somSelf->somDumpSelf
  #define _somDumpSelfInt somSelf->somDumpSelfInt
  #define _for_consumers somSelf->for_consumers
  #define _for_suppliers somSelf->for_suppliers
  #define _destroy somSelf->destroy
#endif /* METHOD_MACROS */


/*
 * -- Primary Implementation File Support
 */
#if (defined(EventChannelAdmin_EventChannel_Class_Source) || defined(SOM_Module_eventch_Source))

#ifndef EventChannelAdmin_EventChannelMethodDebug
   #define EventChannelAdmin_EventChannelMethodDebug(c,m) SOMMethodDebug(c,m)
#endif  /* EventChannelAdmin_EventChannelMethodDebug */

static void SOMLINK __somC_EventChannelAdmin_EventChannel_classInit(SOMClass *cls);


/*
 * Init ClassData Structures
 */
struct EventChannelAdmin_EventChannelClassDataStructure SOM_IMPORTEXPORT_event_eventch SOMDLINK EventChannelAdmin_EventChannelClassData = {0};
struct EventChannelAdmin_EventChannelCClassDataStructure SOM_IMPORTEXPORT_event_eventch SOMDLINK EventChannelAdmin_EventChannelCClassData = {0};


/*
 * Identifiers
 */
static char __somC_Strings_EventChannelAdmin_EventChannel0[] = {"EventChannelAdmin::EventChannel"}; /* class name */
static char __somC_Strings_EventChannelAdmin_EventChannel1[] = {"for_consumers"}; /* method name */
static char __somC_Strings_EventChannelAdmin_EventChannel2[] = {"for_suppliers"}; /* method name */
static char __somC_Strings_EventChannelAdmin_EventChannel3[] = {"destroy"}; /* method name */
static char __somC_Strings_EventChannelAdmin_EventChannel4[] = {"SOMObject"}; /* parent name */
static char * __somC_EventChannelAdmin_EventChannel_regIdsArray[] = {
	__somC_Strings_EventChannelAdmin_EventChannel0,
#ifndef __somC_EventChannelAdmin_EventChannel_regIds_for_consumers
#define __somC_EventChannelAdmin_EventChannel_regIds_for_consumers 1
#endif
	__somC_Strings_EventChannelAdmin_EventChannel1,
#ifndef __somC_EventChannelAdmin_EventChannel_regIds_for_suppliers
#define __somC_EventChannelAdmin_EventChannel_regIds_for_suppliers 2
#endif
	__somC_Strings_EventChannelAdmin_EventChannel2,
#ifndef __somC_EventChannelAdmin_EventChannel_regIds_destroy
#define __somC_EventChannelAdmin_EventChannel_regIds_destroy 3
#endif
	__somC_Strings_EventChannelAdmin_EventChannel3,
	__somC_Strings_EventChannelAdmin_EventChannel4
};


/*
 * New Method: for_consumers
 */
SOM_Scope EventChannelAdmin_ConsumerAdmin*  SOMLINK EventChannelAdmin_EventChannelfor_consumers(EventChannelAdmin_EventChannel *somSelf, Environment *ev);
#ifndef somId_for_consumers
#define somId_for_consumers ((somId)&(__somC_EventChannelAdmin_EventChannel_regIdsArray[__somC_EventChannelAdmin_EventChannel_regIds_for_consumers]))
#endif
#define SOM_MPR_MINFO_EventChannelAdmin_EventChannelfor_consumers {0, 8, 0}
static somMpRowMethodInfo EventChannelAdmin_EventChannel_for_consumers_mp_minfoRow = {{0, SOM_MP_ROWTYPE_METHODINFO}, SOM_MPR_MINFO_EventChannelAdmin_EventChannelfor_consumers};
#ifndef DEFINEDEventChannelAdmin_EventChannel_for_consumers_mp
#define DEFINEDEventChannelAdmin_EventChannel_for_consumers_mp
/*[ ::EventChannelAdmin::EventChannel::for_consumers EventChannelAdmin_EventChannel_for_consumers_mp ]*/
/* Contract specification:
[CALLTYPE_IDL (2)][RESULT][VERSION 0]
RESULT[out]: ObjREF
*/
static struct { void * rows; unsigned char csr[4]; } EventChannelAdmin_EventChannel_for_consumers_mp={&EventChannelAdmin_EventChannel_for_consumers_mp_minfoRow, {
0x86, 0x01, 0x96},
};
#endif
#define EventChannelAdmin_EventChannelfor_consumers_somMethodInfoValue 0
#define EventChannelAdmin_EventChannelfor_consumers_somApplyStubValue &EventChannelAdmin_EventChannel_for_consumers_mp.csr
#define EventChannelAdmin_EventChannelfor_consumers_somHasMPlan 8

/*
 * New Method: for_suppliers
 */
SOM_Scope EventChannelAdmin_SupplierAdmin*  SOMLINK EventChannelAdmin_EventChannelfor_suppliers(EventChannelAdmin_EventChannel *somSelf, Environment *ev);
#ifndef somId_for_suppliers
#define somId_for_suppliers ((somId)&(__somC_EventChannelAdmin_EventChannel_regIdsArray[__somC_EventChannelAdmin_EventChannel_regIds_for_suppliers]))
#endif
#define SOM_MPR_MINFO_EventChannelAdmin_EventChannelfor_suppliers {0, 8, 0}
static somMpRowMethodInfo EventChannelAdmin_EventChannel_for_suppliers_mp_minfoRow = {{0, SOM_MP_ROWTYPE_METHODINFO}, SOM_MPR_MINFO_EventChannelAdmin_EventChannelfor_suppliers};
#ifndef DEFINEDEventChannelAdmin_EventChannel_for_suppliers_mp
#define DEFINEDEventChannelAdmin_EventChannel_for_suppliers_mp
/*[ ::EventChannelAdmin::EventChannel::for_suppliers EventChannelAdmin_EventChannel_for_suppliers_mp ]*/
/* Contract specification:
[CALLTYPE_IDL (2)][RESULT][VERSION 0]
RESULT[out]: ObjREF
*/
static struct { void * rows; unsigned char csr[4]; } EventChannelAdmin_EventChannel_for_suppliers_mp={&EventChannelAdmin_EventChannel_for_suppliers_mp_minfoRow, {
0x86, 0x01, 0x96},
};
#endif
#define EventChannelAdmin_EventChannelfor_suppliers_somMethodInfoValue 0
#define EventChannelAdmin_EventChannelfor_suppliers_somApplyStubValue &EventChannelAdmin_EventChannel_for_suppliers_mp.csr
#define EventChannelAdmin_EventChannelfor_suppliers_somHasMPlan 8

/*
 * New Method: destroy
 */
SOM_Scope void  SOMLINK EventChannelAdmin_EventChanneldestroy(EventChannelAdmin_EventChannel *somSelf, Environment *ev);
#ifndef somId_destroy
#define somId_destroy ((somId)&(__somC_EventChannelAdmin_EventChannel_regIdsArray[__somC_EventChannelAdmin_EventChannel_regIds_destroy]))
#endif
#define SOM_MPR_MINFO_EventChannelAdmin_EventChanneldestroy {0, 8, 0}
static somMpRowMethodInfo EventChannelAdmin_EventChannel_destroy_mp_minfoRow = {{0, SOM_MP_ROWTYPE_METHODINFO}, SOM_MPR_MINFO_EventChannelAdmin_EventChanneldestroy};
#ifndef DEFINEDEventChannelAdmin_EventChannel_destroy_mp
#define DEFINEDEventChannelAdmin_EventChannel_destroy_mp
/*[ ::EventChannelAdmin::EventChannel::destroy EventChannelAdmin_EventChannel_destroy_mp ]*/
/* Contract specification:
[CALLTYPE_IDL (2)][VERSION 0]
*/
static struct { void * rows; unsigned char csr[4]; } EventChannelAdmin_EventChannel_destroy_mp={&EventChannelAdmin_EventChannel_destroy_mp_minfoRow, {
0x82, 0x00},
};
#endif
#define EventChannelAdmin_EventChanneldestroy_somMethodInfoValue 0
#define EventChannelAdmin_EventChanneldestroy_somApplyStubValue &EventChannelAdmin_EventChannel_destroy_mp.csr
#define EventChannelAdmin_EventChanneldestroy_somHasMPlan 8

/*
 * Functions for attributes.
 */

/*
 * Special Method Support
 */

/*
 * -- Routines and Structures to create the class object
 */
static SOMClass ** __somC_EventChannelAdmin_EventChannel_parentArray[] = {
	NULL,
};

void * __somC_EventChannelAdmin_EventChannel_parentMtabs[1];

somMethodDefn __somC_EventChannelAdmin_EventChannel_newNDMethodsArray[] = {
	{  (0 | EventChannelAdmin_EventChannelfor_consumers_somHasMPlan), 0, (somMToken)0, (somMethodPtr)EventChannelAdmin_EventChannelfor_consumers, 
	   0, (somMethodPtr)EventChannelAdmin_EventChannelfor_consumers_somApplyStubValue, 
	   (somMethodInfo *) EventChannelAdmin_EventChannelfor_consumers_somMethodInfoValue, &EventChannelAdmin_EventChannelClassData.for_consumers, 0, 1 },
	{  (0 | EventChannelAdmin_EventChannelfor_suppliers_somHasMPlan), 0, (somMToken)0, (somMethodPtr)EventChannelAdmin_EventChannelfor_suppliers, 
	   0, (somMethodPtr)EventChannelAdmin_EventChannelfor_suppliers_somApplyStubValue, 
	   (somMethodInfo *) EventChannelAdmin_EventChannelfor_suppliers_somMethodInfoValue, &EventChannelAdmin_EventChannelClassData.for_suppliers, 0, 1 },
	{  (0 | EventChannelAdmin_EventChanneldestroy_somHasMPlan), 0, (somMToken)0, (somMethodPtr)EventChannelAdmin_EventChanneldestroy, 
	   0, (somMethodPtr)EventChannelAdmin_EventChanneldestroy_somApplyStubValue, 
	   (somMethodInfo *) EventChannelAdmin_EventChanneldestroy_somMethodInfoValue, &EventChannelAdmin_EventChannelClassData.destroy, 0, 1 }
};

static somClassVars1 __somC_EventChannelAdmin_EventChannel_classVars1 = {
	1,		/* layoutVersion */
	(void *)NULL,	/* extension */
	sizeof(EventChannelAdmin_EventChannelData),	/* dataSize */
	4,		/* type code dataAlignment */
	(somMethodPtr)0,	/* classAllocate */
	(somMethodPtr)0	/* classDeallocate */
};

static struct EventChannelAdmin_EventChannelClassDataStructure __somC_EventChannelAdmin_EventChannel_resolvedMTokens;
static void * __somC_EventChannelAdmin_EventChannel_unsharedClassVariablesPtr = 0;
extern som3ClassInfoStruct __somC_EventChannelAdmin_EventChannel_ClassInfo; /* C++ forward reference */

static SOM_CIB EventChannelAdmin_EventChannel_ClassInitBlock = {
	1,	/* layoutVersion */
	&__somC_EventChannelAdmin_EventChannel_classVars1,
	&__somC_EventChannelAdmin_EventChannel_unsharedClassVariablesPtr,	/* unsharedVars */
	EventChannelAdmin_EventChannel_MajorVersion,
	EventChannelAdmin_EventChannel_MinorVersion,
	0x60004,	/* constFlags */
	0xFFFFFFFF,	/* inheritVars */
	(SOMClass**)0,	/* classMeta */
	(somMethodPtr) __somC_EventChannelAdmin_EventChannel_classInit,	/* classInit */
	(somMethodPtr) 0,	/* classUninit */
	(somMethodPtr) 0,	/* legacyInit */
	(somMethodPtr) 0,	/* legacyUninit */
	(somMethodPtr) 0,	/* udaAssign */
	(somMethodPtr) 0,	/* udaConstAssign */
	0,	/* protectedDataOffset */
	0,	/* numEmbeddedObjs */
	0,	/* embeddedObjs */
	5,	/* numRegIds */
	__somC_EventChannelAdmin_EventChannel_regIdsArray,	/* regIds */
	((sizeof(struct EventChannelAdmin_EventChannelClassDataStructure) - sizeof(SOMClass *))/sizeof(somMToken)),	/* numClassDataEntries */
	(somClassDataStructurePtr)&EventChannelAdmin_EventChannelClassData,
	(somCClassDataStructurePtr)&EventChannelAdmin_EventChannelCClassData,
	&__somC_EventChannelAdmin_EventChannel_ClassInfo,
	1,	/* numParents */
	(SOMClass***)__somC_EventChannelAdmin_EventChannel_parentArray,	/* parents */
	1,	/* numDirectInitClasses */
	(SOMClass***)__somC_EventChannelAdmin_EventChannel_parentArray,	/* directInitClasses */
	0,	/* numNewInitializers */
	0,	/* newInitializerSymbols */
	0,	/* numOvInitializers */
	0,	/* ovInitializerSymbols */
	0,	/* special overrides */
	3,	/* maxNDMethods */
	__somC_EventChannelAdmin_EventChannel_newNDMethodsArray,	/* newNDMethods */
	0,	/* numOverrides */
	0,	/* overrides */
	0,	/* numInheritedSelections */
	0,	/* inheritedSelections */
	0,	/* numMigratedMethods */
	0 	/* migratedMethods */
};	/* CIB */
static som3ClassDetails __somC_EventChannelAdmin_EventChannel_ClassDetails = {
	(somMethodTabPtr)NULL,	/* mtab */
	(somMethodTabPtr *)__somC_EventChannelAdmin_EventChannel_parentMtabs,	/* parentMtabs */
	&EventChannelAdmin_EventChannel_ClassInitBlock,	/* ClassInitBlock address */
	(somTD_somRenewNoInitNoZeroThunk)0,	/* somRenewNoInitNoZeroThunk */
	(long)0,	/* instanceSize */
	(somMethodProc**)NULL,	/* resolvedInits */
	(somClassDataStructure *)&__somC_EventChannelAdmin_EventChannel_resolvedMTokens,	/* resolvedMTokens */
	{0,0,0,0},	/* initCtrl */
	{0,0,0,0},	/* destructCtrl */
	{0,0,0,0},	/* assignCtrl */
	(long)1,	/* layoutVersion */
	(void*)NULL,	/* extension */
	(somDToken)NULL,	/* publicDataToken */
	(somDToken)NULL,	/* protectedDataToken */
};
som3ClassInfoStruct __somC_EventChannelAdmin_EventChannel_ClassInfo = {
	0,	/* classObject */
	&__somC_EventChannelAdmin_EventChannel_ClassDetails	/* class details */
};


/*
 * Class Creation and Initialization
 */

#if defined(__IBMC__) && (defined(__OS2__) || defined(_WIN32)) && !defined(SOM_PREWARP)
#pragma alloc_text (SEG0002, __somC_EventChannelAdmin_EventChannel_classInit)
#pragma alloc_text (SEG0002, EventChannelAdmin_EventChannelNewClass)
#endif

/* classinit function */
SOM_Scope void SOMLINK __somC_EventChannelAdmin_EventChannel_classInit(SOMClass *somSelf)
{
   SOM_IgnoreWarning(somSelf);
}

/* NewClass Function */
SOMEXTERN SOM_IMPORTEXPORT_event_eventch SOMClass * SOMLINK  EventChannelAdmin_EventChannelNewClass (long reqMajorVersion, long reqMinorVersion)
{
    if (_SOMCLASS_EventChannelAdmin_EventChannel && _SOMCLASS_EventChannelAdmin_EventChannel->somCheckVersion(reqMajorVersion, reqMinorVersion))
          return ((SOMClass*)((void*)_SOMCLASS_EventChannelAdmin_EventChannel));
__somC_EventChannelAdmin_EventChannel_parentArray[0] = (SOMClass **)&_SOMCLASS_SOMObject;
   /* require parents */
   if (!_SOMCLASS_SOMObject) SOMObjectNewClass(SOMObject_MajorVersion,SOMObject_MinorVersion);
   /* return new class */
   return ((SOMClass*)(void*)somBuildClass2(&EventChannelAdmin_EventChannel_ClassInitBlock, reqMajorVersion, reqMinorVersion));
}

#if defined(__IBMC__) && (__IBMC__ >= 300)
  #pragma info(restore)
#else
  #if defined(__IBMC__)
    #pragma checkout(resume)
  #endif
#endif



#endif /* Primary Implementation Support */

#endif       /* SOM_EventChannelAdmin_EventChannel_xih */
