
/*
 * This file was generated by the SOM Compiler.
 * FileName: eventch.xh.
 * Generated using:
 *     SOM Precompiler somipc: 2.29.1.19
 *     SOM Emitter emitxh.dll: 2.108
 */

#ifndef SOM_Module_eventch_EventChannelAdmin_defined
#define SOM_Module_eventch_EventChannelAdmin_defined 1
#include <som.xh>

/*
 * Start of bindings for IDL types
 */

class SOMClass;
class SOMObject;

/*
 * End of bindings for IDL types.
 */
#endif /* SOM_Module_eventch_EventChannelAdmin_defined */

#ifndef SOM_EventChannelAdmin_ConsumerAdmin_xh
#define SOM_EventChannelAdmin_ConsumerAdmin_xh


#define EventChannelAdmin_ConsumerAdmin_MajorVersion 1
#define EventChannelAdmin_ConsumerAdmin_MinorVersion 1
class EventChannelAdmin_ConsumerAdmin;

/* Parents */
#ifndef SOM_SOMObject_xh
#ifdef SOMLOCALINCLUDES
#include "somobj.xh"
#else
#include <somobj.xh>
#endif
#endif

/* Useful C++ SOM defs */
#include <somcls.xh>
#include <somcm.xh>

#ifndef EventChannelAdmin_ConsumerAdmin_API
#define EventChannelAdmin_ConsumerAdmin_API
/*
 * -- The Class API
 */
#ifndef SOM_IMPORTEXPORT_event_eventch
#ifdef SOM_DLL_event
	/* export semantics */
	#if defined(SOM_DEFFILE_event)\
	||(defined(SOM_DEFFILE_BY_DEFAULT)&&!defined(SOM_NODEFFILE_event))\
	|| !defined(SOM_Module_eventch_Source)
	#define SOM_IMPORTEXPORT_event_eventch
	#else
	#define SOM_IMPORTEXPORT_event_eventch SOMDLLEXPORT
	#endif
#else
	#define SOM_IMPORTEXPORT_event_eventch SOMDLLIMPORT
#endif
#endif

/*
 * Start of bindings for IDL types
 */


/*
 * End of bindings for IDL types.
 */

/*
 * Passthru lines: File: "C.xh", "after"
 */
#include <eventcom.xih>

/*
 * A function to create the EventChannelAdmin_ConsumerAdmin class object...
 */
SOMEXTERN SOM_IMPORTEXPORT_event_eventch SOMClass * SOMLINK EventChannelAdmin_ConsumerAdminNewClass(
		integer4 majorVersion,
		integer4 minorVersion);


/*
 * The API 2 ClassData Structures...
 */
SOMEXTERN struct EventChannelAdmin_ConsumerAdminClassDataStructure {
	SOMClass *classObject;
	somMToken add_push_consumer;
	somMToken add_pull_consumer;
} SOMDLINK SOM_IMPORTEXPORT_event_eventch EventChannelAdmin_ConsumerAdminClassData;
SOMEXTERN struct EventChannelAdmin_ConsumerAdminCClassDataStructure {
	som3ClassDetailsPtr    parentMtab;
	somDToken              instanceDataToken;
} SOMDLINK SOM_IMPORTEXPORT_event_eventch EventChannelAdmin_ConsumerAdminCClassData;


/*
 * Class Object and Method Token Macros
 */
#define _SOMCLASS_EventChannelAdmin_ConsumerAdmin (EventChannelAdmin_ConsumerAdminClassData.classObject)
#ifndef SOMGD_EventChannelAdmin_ConsumerAdmin
    #if (defined(_EventChannelAdmin_ConsumerAdmin) || defined(__EventChannelAdmin_ConsumerAdmin))
        #undef _EventChannelAdmin_ConsumerAdmin
        #undef __EventChannelAdmin_ConsumerAdmin
        #define SOMGD_EventChannelAdmin_ConsumerAdmin 1
    #else
        #define _EventChannelAdmin_ConsumerAdmin _SOMCLASS_EventChannelAdmin_ConsumerAdmin
    #endif /* _EventChannelAdmin_ConsumerAdmin */
#endif /* SOMGD_EventChannelAdmin_ConsumerAdmin */
#define EventChannelAdmin_ConsumerAdmin_classObj _SOMCLASS_EventChannelAdmin_ConsumerAdmin
#define _SOMMTOKEN_EventChannelAdmin_ConsumerAdmin(method) ((somMToken)EventChannelAdmin_ConsumerAdminClassData.method)

/*
 * -- Typedefs for EventChannelAdmin_ConsumerAdmin Method Procedures
 */
SOMEXTERN {
typedef EventComm_EventConnection*   SOMLINK somTP_EventChannelAdmin_ConsumerAdmin_add_push_consumer(EventChannelAdmin_ConsumerAdmin *somSelf, Environment *ev, 
		EventComm_Consumer* c);
typedef somTP_EventChannelAdmin_ConsumerAdmin_add_push_consumer *somTD_EventChannelAdmin_ConsumerAdmin_add_push_consumer;
typedef EventComm_Supplier*   SOMLINK somTP_EventChannelAdmin_ConsumerAdmin_add_pull_consumer(EventChannelAdmin_ConsumerAdmin *somSelf, Environment *ev, 
		EventComm_EventConnection* d);
typedef somTP_EventChannelAdmin_ConsumerAdmin_add_pull_consumer *somTD_EventChannelAdmin_ConsumerAdmin_add_pull_consumer;

/*
 * -- Typedefs for Reintroduced Wrapper Methods
 */
typedef void   SOMLINK somTP_EventChannelAdmin_ConsumerAdmin_somDefaultInit(EventChannelAdmin_ConsumerAdmin *somSelf, 
		som3InitCtrl* ctrl);
typedef somTP_EventChannelAdmin_ConsumerAdmin_somDefaultInit *somTD_EventChannelAdmin_ConsumerAdmin_somDefaultInit;
typedef void   SOMLINK somTP_EventChannelAdmin_ConsumerAdmin_somDestruct(EventChannelAdmin_ConsumerAdmin *somSelf, 
		octet doFree, 
		som3DestructCtrl* ctrl);
typedef somTP_EventChannelAdmin_ConsumerAdmin_somDestruct *somTD_EventChannelAdmin_ConsumerAdmin_somDestruct;
typedef void   SOMLINK somTP_EventChannelAdmin_ConsumerAdmin_somDefaultCopyInit(EventChannelAdmin_ConsumerAdmin *somSelf, 
		som3InitCtrl* ctrl, 
		SOMObject* fromObj);
typedef somTP_EventChannelAdmin_ConsumerAdmin_somDefaultCopyInit *somTD_EventChannelAdmin_ConsumerAdmin_somDefaultCopyInit;
typedef EventChannelAdmin_ConsumerAdmin*   SOMLINK somTP_EventChannelAdmin_ConsumerAdmin_somDefaultAssign(EventChannelAdmin_ConsumerAdmin *somSelf, 
		som3AssignCtrl* ctrl, 
		SOMObject* fromObj);
typedef somTP_EventChannelAdmin_ConsumerAdmin_somDefaultAssign *somTD_EventChannelAdmin_ConsumerAdmin_somDefaultAssign;
typedef void   SOMLINK somTP_EventChannelAdmin_ConsumerAdmin_somDefaultConstCopyInit(EventChannelAdmin_ConsumerAdmin *somSelf, 
		som3InitCtrl* ctrl, 
		SOMObject* fromObj);
typedef somTP_EventChannelAdmin_ConsumerAdmin_somDefaultConstCopyInit *somTD_EventChannelAdmin_ConsumerAdmin_somDefaultConstCopyInit;
typedef void   SOMLINK somTP_EventChannelAdmin_ConsumerAdmin_somDefaultVCopyInit(EventChannelAdmin_ConsumerAdmin *somSelf, 
		som3InitCtrl* ctrl, 
		SOMObject* fromObj);
typedef somTP_EventChannelAdmin_ConsumerAdmin_somDefaultVCopyInit *somTD_EventChannelAdmin_ConsumerAdmin_somDefaultVCopyInit;
typedef void   SOMLINK somTP_EventChannelAdmin_ConsumerAdmin_somDefaultConstVCopyInit(EventChannelAdmin_ConsumerAdmin *somSelf, 
		som3InitCtrl* ctrl, 
		SOMObject* fromObj);
typedef somTP_EventChannelAdmin_ConsumerAdmin_somDefaultConstVCopyInit *somTD_EventChannelAdmin_ConsumerAdmin_somDefaultConstVCopyInit;
typedef EventChannelAdmin_ConsumerAdmin*   SOMLINK somTP_EventChannelAdmin_ConsumerAdmin_somDefaultConstAssign(EventChannelAdmin_ConsumerAdmin *somSelf, 
		som3AssignCtrl* ctrl, 
		SOMObject* fromObj);
typedef somTP_EventChannelAdmin_ConsumerAdmin_somDefaultConstAssign *somTD_EventChannelAdmin_ConsumerAdmin_somDefaultConstAssign;
typedef EventChannelAdmin_ConsumerAdmin*   SOMLINK somTP_EventChannelAdmin_ConsumerAdmin_somDefaultVAssign(EventChannelAdmin_ConsumerAdmin *somSelf, 
		som3AssignCtrl* ctrl, 
		SOMObject* fromObj);
typedef somTP_EventChannelAdmin_ConsumerAdmin_somDefaultVAssign *somTD_EventChannelAdmin_ConsumerAdmin_somDefaultVAssign;
typedef EventChannelAdmin_ConsumerAdmin*   SOMLINK somTP_EventChannelAdmin_ConsumerAdmin_somDefaultConstVAssign(EventChannelAdmin_ConsumerAdmin *somSelf, 
		som3AssignCtrl* ctrl, 
		SOMObject* fromObj);
typedef somTP_EventChannelAdmin_ConsumerAdmin_somDefaultConstVAssign *somTD_EventChannelAdmin_ConsumerAdmin_somDefaultConstVAssign;
typedef void   SOMLINK somTP_EventChannelAdmin_ConsumerAdmin_somInit(EventChannelAdmin_ConsumerAdmin *somSelf);
typedef somTP_EventChannelAdmin_ConsumerAdmin_somInit *somTD_EventChannelAdmin_ConsumerAdmin_somInit;
typedef void   SOMLINK somTP_EventChannelAdmin_ConsumerAdmin_somUninit(EventChannelAdmin_ConsumerAdmin *somSelf);
typedef somTP_EventChannelAdmin_ConsumerAdmin_somUninit *somTD_EventChannelAdmin_ConsumerAdmin_somUninit;
typedef void   SOMLINK somTP_EventChannelAdmin_ConsumerAdmin_somFree(EventChannelAdmin_ConsumerAdmin *somSelf);
typedef somTP_EventChannelAdmin_ConsumerAdmin_somFree *somTD_EventChannelAdmin_ConsumerAdmin_somFree;
typedef SOMClass*   SOMLINK somTP_EventChannelAdmin_ConsumerAdmin_somGetClass(EventChannelAdmin_ConsumerAdmin *somSelf);
typedef somTP_EventChannelAdmin_ConsumerAdmin_somGetClass *somTD_EventChannelAdmin_ConsumerAdmin_somGetClass;
typedef string   SOMLINK somTP_EventChannelAdmin_ConsumerAdmin_somGetClassName(EventChannelAdmin_ConsumerAdmin *somSelf);
typedef somTP_EventChannelAdmin_ConsumerAdmin_somGetClassName *somTD_EventChannelAdmin_ConsumerAdmin_somGetClassName;
typedef long   SOMLINK somTP_EventChannelAdmin_ConsumerAdmin_somGetSize(EventChannelAdmin_ConsumerAdmin *somSelf);
typedef somTP_EventChannelAdmin_ConsumerAdmin_somGetSize *somTD_EventChannelAdmin_ConsumerAdmin_somGetSize;
typedef boolean   SOMLINK somTP_EventChannelAdmin_ConsumerAdmin_somIsA(EventChannelAdmin_ConsumerAdmin *somSelf, 
		SOMClass* aClassObj);
typedef somTP_EventChannelAdmin_ConsumerAdmin_somIsA *somTD_EventChannelAdmin_ConsumerAdmin_somIsA;
typedef boolean   SOMLINK somTP_EventChannelAdmin_ConsumerAdmin_somIsInstanceOf(EventChannelAdmin_ConsumerAdmin *somSelf, 
		SOMClass* aClassObj);
typedef somTP_EventChannelAdmin_ConsumerAdmin_somIsInstanceOf *somTD_EventChannelAdmin_ConsumerAdmin_somIsInstanceOf;
typedef boolean   SOMLINK somTP_EventChannelAdmin_ConsumerAdmin_somRespondsTo(EventChannelAdmin_ConsumerAdmin *somSelf, 
		somId mId);
typedef somTP_EventChannelAdmin_ConsumerAdmin_somRespondsTo *somTD_EventChannelAdmin_ConsumerAdmin_somRespondsTo;
typedef boolean   SOMLINK somTP_EventChannelAdmin_ConsumerAdmin_somDispatch(EventChannelAdmin_ConsumerAdmin *somSelf, 
		somToken* retValue, 
		somId methodId, 
		va_list ap);
typedef somTP_EventChannelAdmin_ConsumerAdmin_somDispatch *somTD_EventChannelAdmin_ConsumerAdmin_somDispatch;
typedef boolean   SOMLINK somTP_EventChannelAdmin_ConsumerAdmin_somClassDispatch(EventChannelAdmin_ConsumerAdmin *somSelf, 
		SOMClass* clsObj, 
		somToken* retValue, 
		somId methodId, 
		va_list ap);
typedef somTP_EventChannelAdmin_ConsumerAdmin_somClassDispatch *somTD_EventChannelAdmin_ConsumerAdmin_somClassDispatch;
typedef boolean   SOMLINK somTP_EventChannelAdmin_ConsumerAdmin_somCastObj(EventChannelAdmin_ConsumerAdmin *somSelf, 
		SOMClass* castedCls);
typedef somTP_EventChannelAdmin_ConsumerAdmin_somCastObj *somTD_EventChannelAdmin_ConsumerAdmin_somCastObj;
typedef boolean   SOMLINK somTP_EventChannelAdmin_ConsumerAdmin_somResetObj(EventChannelAdmin_ConsumerAdmin *somSelf);
typedef somTP_EventChannelAdmin_ConsumerAdmin_somResetObj *somTD_EventChannelAdmin_ConsumerAdmin_somResetObj;
typedef EventChannelAdmin_ConsumerAdmin*   SOMLINK somTP_EventChannelAdmin_ConsumerAdmin_somPrintSelf(EventChannelAdmin_ConsumerAdmin *somSelf);
typedef somTP_EventChannelAdmin_ConsumerAdmin_somPrintSelf *somTD_EventChannelAdmin_ConsumerAdmin_somPrintSelf;
typedef void   SOMLINK somTP_EventChannelAdmin_ConsumerAdmin_somDumpSelf(EventChannelAdmin_ConsumerAdmin *somSelf, 
		long level);
typedef somTP_EventChannelAdmin_ConsumerAdmin_somDumpSelf *somTD_EventChannelAdmin_ConsumerAdmin_somDumpSelf;
typedef void   SOMLINK somTP_EventChannelAdmin_ConsumerAdmin_somDumpSelfInt(EventChannelAdmin_ConsumerAdmin *somSelf, 
		long level);
typedef somTP_EventChannelAdmin_ConsumerAdmin_somDumpSelfInt *somTD_EventChannelAdmin_ConsumerAdmin_somDumpSelfInt;
}

#endif /* EventChannelAdmin_ConsumerAdmin_API */


/*
 * -- The C++ Wrapper Class for EventChannelAdmin_ConsumerAdmin
 */
class EventChannelAdmin_ConsumerAdmin : public SOMObject
{
public:

// EventChannelAdmin_ConsumerAdmin::new creates the class object if necessary, and then uses
// somNewNoInit to allocate memory and create the object.
// Initialization is in ctors.
void *operator new(size_t)
{
   if (!_EventChannelAdmin_ConsumerAdmin) EventChannelAdmin_ConsumerAdminNewClass(EventChannelAdmin_ConsumerAdmin_MajorVersion,EventChannelAdmin_ConsumerAdmin_MinorVersion);
   return (void*)
   (((somTD_SOMClass_somNewNoInit)(SOMClassClassData.somNewNoInit))
         ((SOMClass *)((void*)_EventChannelAdmin_ConsumerAdmin)));
}

// EventChannelAdmin_ConsumerAdmin::delete uses somFree.
void operator delete(void * obj)
{
   if (obj && *(void**)obj)
      ((SOMObject*)obj)->somFree();
}

EventChannelAdmin_ConsumerAdmin& operator=(EventChannelAdmin_ConsumerAdmin& fromObj)
{
   this->somDefaultAssign(0,(SOMObject*)((void*)&fromObj));
   return *this;
}

EventChannelAdmin_ConsumerAdmin()
{
   if (*(void**)this != (EventChannelAdmin_ConsumerAdminCClassData.parentMtab)->mtab)
      return;
   ((SOMObject*)((void*)this))->somDefaultInit(0);
}

EventChannelAdmin_ConsumerAdmin(EventChannelAdmin_ConsumerAdmin* fromObj)
{
   if (*(void**)this != (EventChannelAdmin_ConsumerAdminCClassData.parentMtab)->mtab)
      return;
   ((SOMObject*)((void*)this))->somDefaultCopyInit(0,((SOMObject*)((void*)fromObj)));
}


/* method: add_push_consumer */
EventComm_EventConnection*   add_push_consumer(Environment *ev, 
		EventComm_Consumer* c)
{
   return 	(
	 SOM_TestCls(this,_SOMCLASS_EventChannelAdmin_ConsumerAdmin),
	 ((somTD_EventChannelAdmin_ConsumerAdmin_add_push_consumer)(EventChannelAdmin_ConsumerAdminClassData.add_push_consumer))(((EventChannelAdmin_ConsumerAdmin *)((void *)this)), ev,c)
	);
}


/* method: add_pull_consumer */
EventComm_Supplier*   add_pull_consumer(Environment *ev, 
		EventComm_EventConnection* d)
{
   return 	(
	 SOM_TestCls(this,_SOMCLASS_EventChannelAdmin_ConsumerAdmin),
	 ((somTD_EventChannelAdmin_ConsumerAdmin_add_pull_consumer)(EventChannelAdmin_ConsumerAdminClassData.add_pull_consumer))(((EventChannelAdmin_ConsumerAdmin *)((void *)this)), ev,d)
	);
}


/*
 * Reintroduce inherited methods
 */

/* initializer method: somDefaultInit */
void   somDefaultInit(som3InitCtrl* ctrl)
{
/*
 *  A default initializer for a SOM object. Passing a null ctrl
 *  indicates to the receiver that its class is the class of the
 *  object being initialized, whereby the initializer will determine
 *  an appropriate control structure.
 */
   	(
	 SOM_TestCls(this,_SOMCLASS_SOMObject),
	 ((somTD_EventChannelAdmin_ConsumerAdmin_somDefaultInit)(SOMObjectClassData.somDefaultInit))(((EventChannelAdmin_ConsumerAdmin *)((void *)this)),ctrl)
	);
}


/* method: somDestruct */
void   somDestruct(octet doFree, 
		som3DestructCtrl* ctrl)
{
/*
 *  The default destructor for a SOM object. A nonzero <doFree>
 *  indicates that the object storage should be freed by the
 *  object's class (via somDeallocate) after uninitialization.
 *  As with somDefaultInit, a null ctrl can be passed.
 */
   	(
	 SOM_TestCls(this,_SOMCLASS_SOMObject),
	 ((somTD_EventChannelAdmin_ConsumerAdmin_somDestruct)(SOMObjectClassData.somDestruct))(((EventChannelAdmin_ConsumerAdmin *)((void *)this)),doFree,ctrl)
	);
}


/* initializer method: somDefaultCopyInit */
void   somDefaultCopyInit(som3InitCtrl* ctrl, 
		SOMObject* fromObj)
{
/*
 *  A default copy constructor. Use this to make copies of objects for
 *  calling methods with "by-value" argument semantics.
 */
   	(
	 SOM_TestCls(this,_SOMCLASS_SOMObject),
	 ((somTD_EventChannelAdmin_ConsumerAdmin_somDefaultCopyInit)(SOMObjectClassData.somDefaultCopyInit))(((EventChannelAdmin_ConsumerAdmin *)((void *)this)),ctrl,fromObj)
	);
}


/* method: somDefaultAssign */
EventChannelAdmin_ConsumerAdmin*  somDefaultAssign(som3AssignCtrl* ctrl, 
		SOMObject* fromObj)
{
/*
 *  A default assignment operator. Use this to "assign" the state of one
 *  object to another.
 */
   return 	(
	 SOM_TestCls(this,_SOMCLASS_SOMObject),
	 ((somTD_EventChannelAdmin_ConsumerAdmin_somDefaultAssign)(SOMObjectClassData.somDefaultAssign))(((EventChannelAdmin_ConsumerAdmin *)((void *)this)),ctrl,fromObj)
	);
}


/* initializer method: somDefaultConstCopyInit */
void   somDefaultConstCopyInit(som3InitCtrl* ctrl, 
		SOMObject* fromObj)
{
/*
 *  A default copy constructor that uses a const fromObj.
 */
   	(
	 SOM_TestCls(this,_SOMCLASS_SOMObject),
	 ((somTD_EventChannelAdmin_ConsumerAdmin_somDefaultConstCopyInit)(SOMObjectClassData.somDefaultConstCopyInit))(((EventChannelAdmin_ConsumerAdmin *)((void *)this)),ctrl,fromObj)
	);
}


/* initializer method: somDefaultVCopyInit */
void   somDefaultVCopyInit(som3InitCtrl* ctrl, 
		SOMObject* fromObj)
{
/*
 *  A default copy constructor that uses a volatile fromObj.
 */
   	(
	 SOM_TestCls(this,_SOMCLASS_SOMObject),
	 ((somTD_EventChannelAdmin_ConsumerAdmin_somDefaultVCopyInit)(SOMObjectClassData.somDefaultVCopyInit))(((EventChannelAdmin_ConsumerAdmin *)((void *)this)),ctrl,fromObj)
	);
}


/* initializer method: somDefaultConstVCopyInit */
void   somDefaultConstVCopyInit(som3InitCtrl* ctrl, 
		SOMObject* fromObj)
{
/*
 *  A default copy constructor that uses a const volatile fromObj.
 */
   	(
	 SOM_TestCls(this,_SOMCLASS_SOMObject),
	 ((somTD_EventChannelAdmin_ConsumerAdmin_somDefaultConstVCopyInit)(SOMObjectClassData.somDefaultConstVCopyInit))(((EventChannelAdmin_ConsumerAdmin *)((void *)this)),ctrl,fromObj)
	);
}


/* method: somDefaultConstAssign */
EventChannelAdmin_ConsumerAdmin*  somDefaultConstAssign(som3AssignCtrl* ctrl, 
		SOMObject* fromObj)
{
/*
 *  A default assignment operator that uses a const fromObj.
 */
   return 	(
	 SOM_TestCls(this,_SOMCLASS_SOMObject),
	 ((somTD_EventChannelAdmin_ConsumerAdmin_somDefaultConstAssign)(SOMObjectClassData.somDefaultConstAssign))(((EventChannelAdmin_ConsumerAdmin *)((void *)this)),ctrl,fromObj)
	);
}


/* method: somDefaultVAssign */
EventChannelAdmin_ConsumerAdmin*  somDefaultVAssign(som3AssignCtrl* ctrl, 
		SOMObject* fromObj)
{
/*
 *  A default assignment operator that uses a volatile fromObj.
 */
   return 	(
	 SOM_TestCls(this,_SOMCLASS_SOMObject),
	 ((somTD_EventChannelAdmin_ConsumerAdmin_somDefaultVAssign)(SOMObjectClassData.somDefaultVAssign))(((EventChannelAdmin_ConsumerAdmin *)((void *)this)),ctrl,fromObj)
	);
}


/* method: somDefaultConstVAssign */
EventChannelAdmin_ConsumerAdmin*  somDefaultConstVAssign(som3AssignCtrl* ctrl, 
		SOMObject* fromObj)
{
/*
 *  A default assignment operator that uses a const volatile fromObj.
 */
   return 	(
	 SOM_TestCls(this,_SOMCLASS_SOMObject),
	 ((somTD_EventChannelAdmin_ConsumerAdmin_somDefaultConstVAssign)(SOMObjectClassData.somDefaultConstVAssign))(((EventChannelAdmin_ConsumerAdmin *)((void *)this)),ctrl,fromObj)
	);
}


/* method: somInit */
void   somInit()
{
/*
 *  Obsolete but still supported. Override somDefaultInit instead of somInit.
 */
   	(
	 SOM_TestCls(this,_SOMCLASS_SOMObject),
	 ((somTD_EventChannelAdmin_ConsumerAdmin_somInit)(SOMObjectClassData.somInit))(((EventChannelAdmin_ConsumerAdmin *)((void *)this)))
	);
}


/* method: somUninit */
void   somUninit()
{
/*
 *  Obsolete but still supported. Override somDestruct instead of somUninit.
 */
   	(
	 SOM_TestCls(this,_SOMCLASS_SOMObject),
	 ((somTD_EventChannelAdmin_ConsumerAdmin_somUninit)(SOMObjectClassData.somUninit))(((EventChannelAdmin_ConsumerAdmin *)((void *)this)))
	);
}


/* method: somFree */
void   somFree()
{
/*
 *  The default implementation just calls somDestruct.
 */
   	(
	 SOM_TestCls(this,_SOMCLASS_SOMObject),
	 ((somTD_EventChannelAdmin_ConsumerAdmin_somFree)(SOMObjectClassData.somFree))(((EventChannelAdmin_ConsumerAdmin *)((void *)this)))
	);
}


/* method: somGetClass */
SOMClass*   somGetClass()
{
/*
 *  Return the receiver's class.
 */
   return 	(
	 SOM_TestCls(this,_SOMCLASS_SOMObject),
	 ((somTD_EventChannelAdmin_ConsumerAdmin_somGetClass)(SOMObjectClassData.somGetClass))(((EventChannelAdmin_ConsumerAdmin *)((void *)this)))
	);
}


/* method: somGetClassName */
string   somGetClassName()
{
/*
 *  Return the name of the receiver's class.
 */
   return 	(
	 SOM_TestCls(this,_SOMCLASS_SOMObject),
	 ((somTD_EventChannelAdmin_ConsumerAdmin_somGetClassName)(SOMObjectClassData.somGetClassName))(((EventChannelAdmin_ConsumerAdmin *)((void *)this)))
	);
}


/* method: somGetSize */
long   somGetSize()
{
/*
 *  Return the size of the receiver.
 */
   return 	(
	 SOM_TestCls(this,_SOMCLASS_SOMObject),
	 ((somTD_EventChannelAdmin_ConsumerAdmin_somGetSize)(SOMObjectClassData.somGetSize))(((EventChannelAdmin_ConsumerAdmin *)((void *)this)))
	);
}


/* method: somIsA */
boolean   somIsA(SOMClass* aClassObj)
{
/*
 *  Returns 1 (true) if the receiver responds to methods
 *  introduced by <aClassObj>, and 0 (false) otherwise.
 */
   return 	(
	 SOM_TestCls(this,_SOMCLASS_SOMObject),
	 ((somTD_EventChannelAdmin_ConsumerAdmin_somIsA)(SOMObjectClassData.somIsA))(((EventChannelAdmin_ConsumerAdmin *)((void *)this)),aClassObj)
	);
}


/* method: somIsInstanceOf */
boolean   somIsInstanceOf(SOMClass* aClassObj)
{
/*
 *  Returns 1 (true) if the receiver is an instance of
 *  <aClassObj> and 0 (false) otherwise.
 */
   return 	(
	 SOM_TestCls(this,_SOMCLASS_SOMObject),
	 ((somTD_EventChannelAdmin_ConsumerAdmin_somIsInstanceOf)(SOMObjectClassData.somIsInstanceOf))(((EventChannelAdmin_ConsumerAdmin *)((void *)this)),aClassObj)
	);
}


/* method: somRespondsTo */
boolean   somRespondsTo(somId mId)
{
/*
 *  Returns 1 (true) if the indicated method can be invoked
 *  on the receiver and 0 (false) otherwise.
 */
   return 	(
	 SOM_TestCls(this,_SOMCLASS_SOMObject),
	 ((somTD_EventChannelAdmin_ConsumerAdmin_somRespondsTo)(SOMObjectClassData.somRespondsTo))(((EventChannelAdmin_ConsumerAdmin *)((void *)this)),mId)
	);
}


/* va_list method: somDispatch */

/*
 *  This method provides a generic, class-specific dispatch mechanism.
 *  It accepts as input <retValue> a pointer to the memory area to be
 *  loaded with the result of dispatching the method indicated by
 *  <methodId> using the arguments in <ap>. <ap> contains the object
 *  on which the method is to be invoked as the first argument.
 * 
 *  Default redispatch stubs invoke this method.
 */
/* the va_list invocation form */
boolean   SOMObject_somDispatch(somToken* retValue, 
		somId methodId, 
		va_list ap)
{   return 	(
	 SOM_TestCls(this,_SOMCLASS_SOMObject),
	 ((somTD_EventChannelAdmin_ConsumerAdmin_somDispatch)(SOMObjectClassData.somDispatch))(((EventChannelAdmin_ConsumerAdmin *)((void *)this)),retValue,methodId,ap)
	);
}

/* the varargs invocation form */
boolean   somDispatch(somToken* retValue, 
		somId methodId, 
		...)
{
/*
 *  This method provides a generic, class-specific dispatch mechanism.
 *  It accepts as input <retValue> a pointer to the memory area to be
 *  loaded with the result of dispatching the method indicated by
 *  <methodId> using the arguments in <ap>. <ap> contains the object
 *  on which the method is to be invoked as the first argument.
 * 
 *  Default redispatch stubs invoke this method.
 */
   va_list ap;
   va_start(ap, methodId);
   boolean __somResult = 
      	(
	 SOM_TestCls(this,_SOMCLASS_SOMObject),
	 ((somTD_EventChannelAdmin_ConsumerAdmin_somDispatch)(SOMObjectClassData.somDispatch))(((EventChannelAdmin_ConsumerAdmin *)((void *)this)),retValue,methodId,ap)
	);
   va_end(ap);
   return __somResult;
}


/* va_list method: somClassDispatch */

/*
 *  Like somDispatch, but method resolution for static methods is done
 *  according to the clsObj instance method table.
 */
/* the va_list invocation form */
boolean   SOMObject_somClassDispatch(SOMClass* clsObj, 
		somToken* retValue, 
		somId methodId, 
		va_list ap)
{   return 	(
	 SOM_TestCls(this,_SOMCLASS_SOMObject),
	 ((somTD_EventChannelAdmin_ConsumerAdmin_somClassDispatch)(SOMObjectClassData.somClassDispatch))(((EventChannelAdmin_ConsumerAdmin *)((void *)this)),clsObj,retValue,methodId,ap)
	);
}

/* the varargs invocation form */
boolean   somClassDispatch(SOMClass* clsObj, 
		somToken* retValue, 
		somId methodId, 
		...)
{
/*
 *  Like somDispatch, but method resolution for static methods is done
 *  according to the clsObj instance method table.
 */
   va_list ap;
   va_start(ap, methodId);
   boolean __somResult = 
      	(
	 SOM_TestCls(this,_SOMCLASS_SOMObject),
	 ((somTD_EventChannelAdmin_ConsumerAdmin_somClassDispatch)(SOMObjectClassData.somClassDispatch))(((EventChannelAdmin_ConsumerAdmin *)((void *)this)),clsObj,retValue,methodId,ap)
	);
   va_end(ap);
   return __somResult;
}


/* method: somCastObj */
boolean   somCastObj(SOMClass* castedCls)
{
/*
 *  Changes the behavior of the target object to that implemented
 *  by castedCls. This is possible when all concrete data in castedCls
 *  is also concrete in the true class of the target object.
 *  Returns true (1) on success, and false (0) otherwise.
 */
   return 	(
	 SOM_TestCls(this,_SOMCLASS_SOMObject),
	 ((somTD_EventChannelAdmin_ConsumerAdmin_somCastObj)(SOMObjectClassData.somCastObj))(((EventChannelAdmin_ConsumerAdmin *)((void *)this)),castedCls)
	);
}


/* method: somResetObj */
boolean   somResetObj()
{
/*
 *  reset an object to its true class. Returns true always.
 */
   return 	(
	 SOM_TestCls(this,_SOMCLASS_SOMObject),
	 ((somTD_EventChannelAdmin_ConsumerAdmin_somResetObj)(SOMObjectClassData.somResetObj))(((EventChannelAdmin_ConsumerAdmin *)((void *)this)))
	);
}


/* method: somPrintSelf */
EventChannelAdmin_ConsumerAdmin*  somPrintSelf()
{
/*
 *  Uses <SOMOutCharRoutine> to write a brief string with identifying
 *  information about this object.  The default implementation just gives
 *  the object's class name and its address in memory.
 *  <self> is returned.
 */
   return 	(
	 SOM_TestCls(this,_SOMCLASS_SOMObject),
	 ((somTD_EventChannelAdmin_ConsumerAdmin_somPrintSelf)(SOMObjectClassData.somPrintSelf))(((EventChannelAdmin_ConsumerAdmin *)((void *)this)))
	);
}


/* method: somDumpSelf */
void   somDumpSelf(long level)
{
/*
 *  Uses <SOMOutCharRoutine> to write a detailed description of this object
 *  and its current state.
 * 
 *  <level> indicates the nesting level for describing compound objects
 *  it must be greater than or equal to zero.  All lines in the
 *  description will be preceeded by <2*level> spaces.
 * 
 *  This routine only actually writes the data that concerns the object
 *  as a whole, such as class, and uses <somDumpSelfInt> to describe
 *  the object's current state.  This approach allows readable
 *  descriptions of compound objects to be constructed.
 * 
 *  Generally it is not necessary to override this method, if it is
 *  overriden it generally must be completely replaced.
 */
   	(
	 SOM_TestCls(this,_SOMCLASS_SOMObject),
	 ((somTD_EventChannelAdmin_ConsumerAdmin_somDumpSelf)(SOMObjectClassData.somDumpSelf))(((EventChannelAdmin_ConsumerAdmin *)((void *)this)),level)
	);
}


/* method: somDumpSelfInt */
void   somDumpSelfInt(long level)
{
/*
 *  Uses <SOMOutCharRoutine> to write in the current state of this object.
 *  Generally this method will need to be overridden.  When overriding
 *  it, begin by calling the parent class form of this method and then
 *  write in a description of your class's instance data. This will
 *  result in a description of all the object's instance data going
 *  from its root ancestor class to its specific class.
 */
   	(
	 SOM_TestCls(this,_SOMCLASS_SOMObject),
	 ((somTD_EventChannelAdmin_ConsumerAdmin_somDumpSelfInt)(SOMObjectClassData.somDumpSelfInt))(((EventChannelAdmin_ConsumerAdmin *)((void *)this)),level)
	);
}



};   /* EventChannelAdmin_ConsumerAdmin */



#endif       /* SOM_EventChannelAdmin_ConsumerAdmin_xh */

#ifndef SOM_EventChannelAdmin_SupplierAdmin_xh
#define SOM_EventChannelAdmin_SupplierAdmin_xh


#define EventChannelAdmin_SupplierAdmin_MajorVersion 1
#define EventChannelAdmin_SupplierAdmin_MinorVersion 1
class EventChannelAdmin_SupplierAdmin;

/* Parents */
#ifndef SOM_SOMObject_xh
#ifdef SOMLOCALINCLUDES
#include "somobj.xh"
#else
#include <somobj.xh>
#endif
#endif

/* Useful C++ SOM defs */
#include <somcls.xh>
#include <somcm.xh>

#ifndef EventChannelAdmin_SupplierAdmin_API
#define EventChannelAdmin_SupplierAdmin_API
/*
 * -- The Class API
 */

/*
 * Start of bindings for IDL types
 */


/*
 * End of bindings for IDL types.
 */

/*
 * A function to create the EventChannelAdmin_SupplierAdmin class object...
 */
SOMEXTERN SOM_IMPORTEXPORT_event_eventch SOMClass * SOMLINK EventChannelAdmin_SupplierAdminNewClass(
		integer4 majorVersion,
		integer4 minorVersion);


/*
 * The API 2 ClassData Structures...
 */
SOMEXTERN struct EventChannelAdmin_SupplierAdminClassDataStructure {
	SOMClass *classObject;
	somMToken add_pull_supplier;
	somMToken add_push_supplier;
} SOMDLINK SOM_IMPORTEXPORT_event_eventch EventChannelAdmin_SupplierAdminClassData;
SOMEXTERN struct EventChannelAdmin_SupplierAdminCClassDataStructure {
	som3ClassDetailsPtr    parentMtab;
	somDToken              instanceDataToken;
} SOMDLINK SOM_IMPORTEXPORT_event_eventch EventChannelAdmin_SupplierAdminCClassData;


/*
 * Class Object and Method Token Macros
 */
#define _SOMCLASS_EventChannelAdmin_SupplierAdmin (EventChannelAdmin_SupplierAdminClassData.classObject)
#ifndef SOMGD_EventChannelAdmin_SupplierAdmin
    #if (defined(_EventChannelAdmin_SupplierAdmin) || defined(__EventChannelAdmin_SupplierAdmin))
        #undef _EventChannelAdmin_SupplierAdmin
        #undef __EventChannelAdmin_SupplierAdmin
        #define SOMGD_EventChannelAdmin_SupplierAdmin 1
    #else
        #define _EventChannelAdmin_SupplierAdmin _SOMCLASS_EventChannelAdmin_SupplierAdmin
    #endif /* _EventChannelAdmin_SupplierAdmin */
#endif /* SOMGD_EventChannelAdmin_SupplierAdmin */
#define EventChannelAdmin_SupplierAdmin_classObj _SOMCLASS_EventChannelAdmin_SupplierAdmin
#define _SOMMTOKEN_EventChannelAdmin_SupplierAdmin(method) ((somMToken)EventChannelAdmin_SupplierAdminClassData.method)

/*
 * -- Typedefs for EventChannelAdmin_SupplierAdmin Method Procedures
 */
SOMEXTERN {
typedef EventComm_EventConnection*   SOMLINK somTP_EventChannelAdmin_SupplierAdmin_add_pull_supplier(EventChannelAdmin_SupplierAdmin *somSelf, Environment *ev, 
		EventComm_Supplier* s);
typedef somTP_EventChannelAdmin_SupplierAdmin_add_pull_supplier *somTD_EventChannelAdmin_SupplierAdmin_add_pull_supplier;
typedef EventComm_Consumer*   SOMLINK somTP_EventChannelAdmin_SupplierAdmin_add_push_supplier(EventChannelAdmin_SupplierAdmin *somSelf, Environment *ev, 
		EventComm_EventConnection* d);
typedef somTP_EventChannelAdmin_SupplierAdmin_add_push_supplier *somTD_EventChannelAdmin_SupplierAdmin_add_push_supplier;

/*
 * -- Typedefs for Reintroduced Wrapper Methods
 */
typedef void   SOMLINK somTP_EventChannelAdmin_SupplierAdmin_somDefaultInit(EventChannelAdmin_SupplierAdmin *somSelf, 
		som3InitCtrl* ctrl);
typedef somTP_EventChannelAdmin_SupplierAdmin_somDefaultInit *somTD_EventChannelAdmin_SupplierAdmin_somDefaultInit;
typedef void   SOMLINK somTP_EventChannelAdmin_SupplierAdmin_somDestruct(EventChannelAdmin_SupplierAdmin *somSelf, 
		octet doFree, 
		som3DestructCtrl* ctrl);
typedef somTP_EventChannelAdmin_SupplierAdmin_somDestruct *somTD_EventChannelAdmin_SupplierAdmin_somDestruct;
typedef void   SOMLINK somTP_EventChannelAdmin_SupplierAdmin_somDefaultCopyInit(EventChannelAdmin_SupplierAdmin *somSelf, 
		som3InitCtrl* ctrl, 
		SOMObject* fromObj);
typedef somTP_EventChannelAdmin_SupplierAdmin_somDefaultCopyInit *somTD_EventChannelAdmin_SupplierAdmin_somDefaultCopyInit;
typedef EventChannelAdmin_SupplierAdmin*   SOMLINK somTP_EventChannelAdmin_SupplierAdmin_somDefaultAssign(EventChannelAdmin_SupplierAdmin *somSelf, 
		som3AssignCtrl* ctrl, 
		SOMObject* fromObj);
typedef somTP_EventChannelAdmin_SupplierAdmin_somDefaultAssign *somTD_EventChannelAdmin_SupplierAdmin_somDefaultAssign;
typedef void   SOMLINK somTP_EventChannelAdmin_SupplierAdmin_somDefaultConstCopyInit(EventChannelAdmin_SupplierAdmin *somSelf, 
		som3InitCtrl* ctrl, 
		SOMObject* fromObj);
typedef somTP_EventChannelAdmin_SupplierAdmin_somDefaultConstCopyInit *somTD_EventChannelAdmin_SupplierAdmin_somDefaultConstCopyInit;
typedef void   SOMLINK somTP_EventChannelAdmin_SupplierAdmin_somDefaultVCopyInit(EventChannelAdmin_SupplierAdmin *somSelf, 
		som3InitCtrl* ctrl, 
		SOMObject* fromObj);
typedef somTP_EventChannelAdmin_SupplierAdmin_somDefaultVCopyInit *somTD_EventChannelAdmin_SupplierAdmin_somDefaultVCopyInit;
typedef void   SOMLINK somTP_EventChannelAdmin_SupplierAdmin_somDefaultConstVCopyInit(EventChannelAdmin_SupplierAdmin *somSelf, 
		som3InitCtrl* ctrl, 
		SOMObject* fromObj);
typedef somTP_EventChannelAdmin_SupplierAdmin_somDefaultConstVCopyInit *somTD_EventChannelAdmin_SupplierAdmin_somDefaultConstVCopyInit;
typedef EventChannelAdmin_SupplierAdmin*   SOMLINK somTP_EventChannelAdmin_SupplierAdmin_somDefaultConstAssign(EventChannelAdmin_SupplierAdmin *somSelf, 
		som3AssignCtrl* ctrl, 
		SOMObject* fromObj);
typedef somTP_EventChannelAdmin_SupplierAdmin_somDefaultConstAssign *somTD_EventChannelAdmin_SupplierAdmin_somDefaultConstAssign;
typedef EventChannelAdmin_SupplierAdmin*   SOMLINK somTP_EventChannelAdmin_SupplierAdmin_somDefaultVAssign(EventChannelAdmin_SupplierAdmin *somSelf, 
		som3AssignCtrl* ctrl, 
		SOMObject* fromObj);
typedef somTP_EventChannelAdmin_SupplierAdmin_somDefaultVAssign *somTD_EventChannelAdmin_SupplierAdmin_somDefaultVAssign;
typedef EventChannelAdmin_SupplierAdmin*   SOMLINK somTP_EventChannelAdmin_SupplierAdmin_somDefaultConstVAssign(EventChannelAdmin_SupplierAdmin *somSelf, 
		som3AssignCtrl* ctrl, 
		SOMObject* fromObj);
typedef somTP_EventChannelAdmin_SupplierAdmin_somDefaultConstVAssign *somTD_EventChannelAdmin_SupplierAdmin_somDefaultConstVAssign;
typedef void   SOMLINK somTP_EventChannelAdmin_SupplierAdmin_somInit(EventChannelAdmin_SupplierAdmin *somSelf);
typedef somTP_EventChannelAdmin_SupplierAdmin_somInit *somTD_EventChannelAdmin_SupplierAdmin_somInit;
typedef void   SOMLINK somTP_EventChannelAdmin_SupplierAdmin_somUninit(EventChannelAdmin_SupplierAdmin *somSelf);
typedef somTP_EventChannelAdmin_SupplierAdmin_somUninit *somTD_EventChannelAdmin_SupplierAdmin_somUninit;
typedef void   SOMLINK somTP_EventChannelAdmin_SupplierAdmin_somFree(EventChannelAdmin_SupplierAdmin *somSelf);
typedef somTP_EventChannelAdmin_SupplierAdmin_somFree *somTD_EventChannelAdmin_SupplierAdmin_somFree;
typedef SOMClass*   SOMLINK somTP_EventChannelAdmin_SupplierAdmin_somGetClass(EventChannelAdmin_SupplierAdmin *somSelf);
typedef somTP_EventChannelAdmin_SupplierAdmin_somGetClass *somTD_EventChannelAdmin_SupplierAdmin_somGetClass;
typedef string   SOMLINK somTP_EventChannelAdmin_SupplierAdmin_somGetClassName(EventChannelAdmin_SupplierAdmin *somSelf);
typedef somTP_EventChannelAdmin_SupplierAdmin_somGetClassName *somTD_EventChannelAdmin_SupplierAdmin_somGetClassName;
typedef long   SOMLINK somTP_EventChannelAdmin_SupplierAdmin_somGetSize(EventChannelAdmin_SupplierAdmin *somSelf);
typedef somTP_EventChannelAdmin_SupplierAdmin_somGetSize *somTD_EventChannelAdmin_SupplierAdmin_somGetSize;
typedef boolean   SOMLINK somTP_EventChannelAdmin_SupplierAdmin_somIsA(EventChannelAdmin_SupplierAdmin *somSelf, 
		SOMClass* aClassObj);
typedef somTP_EventChannelAdmin_SupplierAdmin_somIsA *somTD_EventChannelAdmin_SupplierAdmin_somIsA;
typedef boolean   SOMLINK somTP_EventChannelAdmin_SupplierAdmin_somIsInstanceOf(EventChannelAdmin_SupplierAdmin *somSelf, 
		SOMClass* aClassObj);
typedef somTP_EventChannelAdmin_SupplierAdmin_somIsInstanceOf *somTD_EventChannelAdmin_SupplierAdmin_somIsInstanceOf;
typedef boolean   SOMLINK somTP_EventChannelAdmin_SupplierAdmin_somRespondsTo(EventChannelAdmin_SupplierAdmin *somSelf, 
		somId mId);
typedef somTP_EventChannelAdmin_SupplierAdmin_somRespondsTo *somTD_EventChannelAdmin_SupplierAdmin_somRespondsTo;
typedef boolean   SOMLINK somTP_EventChannelAdmin_SupplierAdmin_somDispatch(EventChannelAdmin_SupplierAdmin *somSelf, 
		somToken* retValue, 
		somId methodId, 
		va_list ap);
typedef somTP_EventChannelAdmin_SupplierAdmin_somDispatch *somTD_EventChannelAdmin_SupplierAdmin_somDispatch;
typedef boolean   SOMLINK somTP_EventChannelAdmin_SupplierAdmin_somClassDispatch(EventChannelAdmin_SupplierAdmin *somSelf, 
		SOMClass* clsObj, 
		somToken* retValue, 
		somId methodId, 
		va_list ap);
typedef somTP_EventChannelAdmin_SupplierAdmin_somClassDispatch *somTD_EventChannelAdmin_SupplierAdmin_somClassDispatch;
typedef boolean   SOMLINK somTP_EventChannelAdmin_SupplierAdmin_somCastObj(EventChannelAdmin_SupplierAdmin *somSelf, 
		SOMClass* castedCls);
typedef somTP_EventChannelAdmin_SupplierAdmin_somCastObj *somTD_EventChannelAdmin_SupplierAdmin_somCastObj;
typedef boolean   SOMLINK somTP_EventChannelAdmin_SupplierAdmin_somResetObj(EventChannelAdmin_SupplierAdmin *somSelf);
typedef somTP_EventChannelAdmin_SupplierAdmin_somResetObj *somTD_EventChannelAdmin_SupplierAdmin_somResetObj;
typedef EventChannelAdmin_SupplierAdmin*   SOMLINK somTP_EventChannelAdmin_SupplierAdmin_somPrintSelf(EventChannelAdmin_SupplierAdmin *somSelf);
typedef somTP_EventChannelAdmin_SupplierAdmin_somPrintSelf *somTD_EventChannelAdmin_SupplierAdmin_somPrintSelf;
typedef void   SOMLINK somTP_EventChannelAdmin_SupplierAdmin_somDumpSelf(EventChannelAdmin_SupplierAdmin *somSelf, 
		long level);
typedef somTP_EventChannelAdmin_SupplierAdmin_somDumpSelf *somTD_EventChannelAdmin_SupplierAdmin_somDumpSelf;
typedef void   SOMLINK somTP_EventChannelAdmin_SupplierAdmin_somDumpSelfInt(EventChannelAdmin_SupplierAdmin *somSelf, 
		long level);
typedef somTP_EventChannelAdmin_SupplierAdmin_somDumpSelfInt *somTD_EventChannelAdmin_SupplierAdmin_somDumpSelfInt;
}

#endif /* EventChannelAdmin_SupplierAdmin_API */


/*
 * -- The C++ Wrapper Class for EventChannelAdmin_SupplierAdmin
 */
class EventChannelAdmin_SupplierAdmin : public SOMObject
{
public:

// EventChannelAdmin_SupplierAdmin::new creates the class object if necessary, and then uses
// somNewNoInit to allocate memory and create the object.
// Initialization is in ctors.
void *operator new(size_t)
{
   if (!_EventChannelAdmin_SupplierAdmin) EventChannelAdmin_SupplierAdminNewClass(EventChannelAdmin_SupplierAdmin_MajorVersion,EventChannelAdmin_SupplierAdmin_MinorVersion);
   return (void*)
   (((somTD_SOMClass_somNewNoInit)(SOMClassClassData.somNewNoInit))
         ((SOMClass *)((void*)_EventChannelAdmin_SupplierAdmin)));
}

// EventChannelAdmin_SupplierAdmin::delete uses somFree.
void operator delete(void * obj)
{
   if (obj && *(void**)obj)
      ((SOMObject*)obj)->somFree();
}

EventChannelAdmin_SupplierAdmin& operator=(EventChannelAdmin_SupplierAdmin& fromObj)
{
   this->somDefaultAssign(0,(SOMObject*)((void*)&fromObj));
   return *this;
}

EventChannelAdmin_SupplierAdmin()
{
   if (*(void**)this != (EventChannelAdmin_SupplierAdminCClassData.parentMtab)->mtab)
      return;
   ((SOMObject*)((void*)this))->somDefaultInit(0);
}

EventChannelAdmin_SupplierAdmin(EventChannelAdmin_SupplierAdmin* fromObj)
{
   if (*(void**)this != (EventChannelAdmin_SupplierAdminCClassData.parentMtab)->mtab)
      return;
   ((SOMObject*)((void*)this))->somDefaultCopyInit(0,((SOMObject*)((void*)fromObj)));
}


/* method: add_pull_supplier */
EventComm_EventConnection*   add_pull_supplier(Environment *ev, 
		EventComm_Supplier* s)
{
   return 	(
	 SOM_TestCls(this,_SOMCLASS_EventChannelAdmin_SupplierAdmin),
	 ((somTD_EventChannelAdmin_SupplierAdmin_add_pull_supplier)(EventChannelAdmin_SupplierAdminClassData.add_pull_supplier))(((EventChannelAdmin_SupplierAdmin *)((void *)this)), ev,s)
	);
}


/* method: add_push_supplier */
EventComm_Consumer*   add_push_supplier(Environment *ev, 
		EventComm_EventConnection* d)
{
   return 	(
	 SOM_TestCls(this,_SOMCLASS_EventChannelAdmin_SupplierAdmin),
	 ((somTD_EventChannelAdmin_SupplierAdmin_add_push_supplier)(EventChannelAdmin_SupplierAdminClassData.add_push_supplier))(((EventChannelAdmin_SupplierAdmin *)((void *)this)), ev,d)
	);
}


/*
 * Reintroduce inherited methods
 */

/* initializer method: somDefaultInit */
void   somDefaultInit(som3InitCtrl* ctrl)
{
/*
 *  A default initializer for a SOM object. Passing a null ctrl
 *  indicates to the receiver that its class is the class of the
 *  object being initialized, whereby the initializer will determine
 *  an appropriate control structure.
 */
   	(
	 SOM_TestCls(this,_SOMCLASS_SOMObject),
	 ((somTD_EventChannelAdmin_SupplierAdmin_somDefaultInit)(SOMObjectClassData.somDefaultInit))(((EventChannelAdmin_SupplierAdmin *)((void *)this)),ctrl)
	);
}


/* method: somDestruct */
void   somDestruct(octet doFree, 
		som3DestructCtrl* ctrl)
{
/*
 *  The default destructor for a SOM object. A nonzero <doFree>
 *  indicates that the object storage should be freed by the
 *  object's class (via somDeallocate) after uninitialization.
 *  As with somDefaultInit, a null ctrl can be passed.
 */
   	(
	 SOM_TestCls(this,_SOMCLASS_SOMObject),
	 ((somTD_EventChannelAdmin_SupplierAdmin_somDestruct)(SOMObjectClassData.somDestruct))(((EventChannelAdmin_SupplierAdmin *)((void *)this)),doFree,ctrl)
	);
}


/* initializer method: somDefaultCopyInit */
void   somDefaultCopyInit(som3InitCtrl* ctrl, 
		SOMObject* fromObj)
{
/*
 *  A default copy constructor. Use this to make copies of objects for
 *  calling methods with "by-value" argument semantics.
 */
   	(
	 SOM_TestCls(this,_SOMCLASS_SOMObject),
	 ((somTD_EventChannelAdmin_SupplierAdmin_somDefaultCopyInit)(SOMObjectClassData.somDefaultCopyInit))(((EventChannelAdmin_SupplierAdmin *)((void *)this)),ctrl,fromObj)
	);
}


/* method: somDefaultAssign */
EventChannelAdmin_SupplierAdmin*  somDefaultAssign(som3AssignCtrl* ctrl, 
		SOMObject* fromObj)
{
/*
 *  A default assignment operator. Use this to "assign" the state of one
 *  object to another.
 */
   return 	(
	 SOM_TestCls(this,_SOMCLASS_SOMObject),
	 ((somTD_EventChannelAdmin_SupplierAdmin_somDefaultAssign)(SOMObjectClassData.somDefaultAssign))(((EventChannelAdmin_SupplierAdmin *)((void *)this)),ctrl,fromObj)
	);
}


/* initializer method: somDefaultConstCopyInit */
void   somDefaultConstCopyInit(som3InitCtrl* ctrl, 
		SOMObject* fromObj)
{
/*
 *  A default copy constructor that uses a const fromObj.
 */
   	(
	 SOM_TestCls(this,_SOMCLASS_SOMObject),
	 ((somTD_EventChannelAdmin_SupplierAdmin_somDefaultConstCopyInit)(SOMObjectClassData.somDefaultConstCopyInit))(((EventChannelAdmin_SupplierAdmin *)((void *)this)),ctrl,fromObj)
	);
}


/* initializer method: somDefaultVCopyInit */
void   somDefaultVCopyInit(som3InitCtrl* ctrl, 
		SOMObject* fromObj)
{
/*
 *  A default copy constructor that uses a volatile fromObj.
 */
   	(
	 SOM_TestCls(this,_SOMCLASS_SOMObject),
	 ((somTD_EventChannelAdmin_SupplierAdmin_somDefaultVCopyInit)(SOMObjectClassData.somDefaultVCopyInit))(((EventChannelAdmin_SupplierAdmin *)((void *)this)),ctrl,fromObj)
	);
}


/* initializer method: somDefaultConstVCopyInit */
void   somDefaultConstVCopyInit(som3InitCtrl* ctrl, 
		SOMObject* fromObj)
{
/*
 *  A default copy constructor that uses a const volatile fromObj.
 */
   	(
	 SOM_TestCls(this,_SOMCLASS_SOMObject),
	 ((somTD_EventChannelAdmin_SupplierAdmin_somDefaultConstVCopyInit)(SOMObjectClassData.somDefaultConstVCopyInit))(((EventChannelAdmin_SupplierAdmin *)((void *)this)),ctrl,fromObj)
	);
}


/* method: somDefaultConstAssign */
EventChannelAdmin_SupplierAdmin*  somDefaultConstAssign(som3AssignCtrl* ctrl, 
		SOMObject* fromObj)
{
/*
 *  A default assignment operator that uses a const fromObj.
 */
   return 	(
	 SOM_TestCls(this,_SOMCLASS_SOMObject),
	 ((somTD_EventChannelAdmin_SupplierAdmin_somDefaultConstAssign)(SOMObjectClassData.somDefaultConstAssign))(((EventChannelAdmin_SupplierAdmin *)((void *)this)),ctrl,fromObj)
	);
}


/* method: somDefaultVAssign */
EventChannelAdmin_SupplierAdmin*  somDefaultVAssign(som3AssignCtrl* ctrl, 
		SOMObject* fromObj)
{
/*
 *  A default assignment operator that uses a volatile fromObj.
 */
   return 	(
	 SOM_TestCls(this,_SOMCLASS_SOMObject),
	 ((somTD_EventChannelAdmin_SupplierAdmin_somDefaultVAssign)(SOMObjectClassData.somDefaultVAssign))(((EventChannelAdmin_SupplierAdmin *)((void *)this)),ctrl,fromObj)
	);
}


/* method: somDefaultConstVAssign */
EventChannelAdmin_SupplierAdmin*  somDefaultConstVAssign(som3AssignCtrl* ctrl, 
		SOMObject* fromObj)
{
/*
 *  A default assignment operator that uses a const volatile fromObj.
 */
   return 	(
	 SOM_TestCls(this,_SOMCLASS_SOMObject),
	 ((somTD_EventChannelAdmin_SupplierAdmin_somDefaultConstVAssign)(SOMObjectClassData.somDefaultConstVAssign))(((EventChannelAdmin_SupplierAdmin *)((void *)this)),ctrl,fromObj)
	);
}


/* method: somInit */
void   somInit()
{
/*
 *  Obsolete but still supported. Override somDefaultInit instead of somInit.
 */
   	(
	 SOM_TestCls(this,_SOMCLASS_SOMObject),
	 ((somTD_EventChannelAdmin_SupplierAdmin_somInit)(SOMObjectClassData.somInit))(((EventChannelAdmin_SupplierAdmin *)((void *)this)))
	);
}


/* method: somUninit */
void   somUninit()
{
/*
 *  Obsolete but still supported. Override somDestruct instead of somUninit.
 */
   	(
	 SOM_TestCls(this,_SOMCLASS_SOMObject),
	 ((somTD_EventChannelAdmin_SupplierAdmin_somUninit)(SOMObjectClassData.somUninit))(((EventChannelAdmin_SupplierAdmin *)((void *)this)))
	);
}


/* method: somFree */
void   somFree()
{
/*
 *  The default implementation just calls somDestruct.
 */
   	(
	 SOM_TestCls(this,_SOMCLASS_SOMObject),
	 ((somTD_EventChannelAdmin_SupplierAdmin_somFree)(SOMObjectClassData.somFree))(((EventChannelAdmin_SupplierAdmin *)((void *)this)))
	);
}


/* method: somGetClass */
SOMClass*   somGetClass()
{
/*
 *  Return the receiver's class.
 */
   return 	(
	 SOM_TestCls(this,_SOMCLASS_SOMObject),
	 ((somTD_EventChannelAdmin_SupplierAdmin_somGetClass)(SOMObjectClassData.somGetClass))(((EventChannelAdmin_SupplierAdmin *)((void *)this)))
	);
}


/* method: somGetClassName */
string   somGetClassName()
{
/*
 *  Return the name of the receiver's class.
 */
   return 	(
	 SOM_TestCls(this,_SOMCLASS_SOMObject),
	 ((somTD_EventChannelAdmin_SupplierAdmin_somGetClassName)(SOMObjectClassData.somGetClassName))(((EventChannelAdmin_SupplierAdmin *)((void *)this)))
	);
}


/* method: somGetSize */
long   somGetSize()
{
/*
 *  Return the size of the receiver.
 */
   return 	(
	 SOM_TestCls(this,_SOMCLASS_SOMObject),
	 ((somTD_EventChannelAdmin_SupplierAdmin_somGetSize)(SOMObjectClassData.somGetSize))(((EventChannelAdmin_SupplierAdmin *)((void *)this)))
	);
}


/* method: somIsA */
boolean   somIsA(SOMClass* aClassObj)
{
/*
 *  Returns 1 (true) if the receiver responds to methods
 *  introduced by <aClassObj>, and 0 (false) otherwise.
 */
   return 	(
	 SOM_TestCls(this,_SOMCLASS_SOMObject),
	 ((somTD_EventChannelAdmin_SupplierAdmin_somIsA)(SOMObjectClassData.somIsA))(((EventChannelAdmin_SupplierAdmin *)((void *)this)),aClassObj)
	);
}


/* method: somIsInstanceOf */
boolean   somIsInstanceOf(SOMClass* aClassObj)
{
/*
 *  Returns 1 (true) if the receiver is an instance of
 *  <aClassObj> and 0 (false) otherwise.
 */
   return 	(
	 SOM_TestCls(this,_SOMCLASS_SOMObject),
	 ((somTD_EventChannelAdmin_SupplierAdmin_somIsInstanceOf)(SOMObjectClassData.somIsInstanceOf))(((EventChannelAdmin_SupplierAdmin *)((void *)this)),aClassObj)
	);
}


/* method: somRespondsTo */
boolean   somRespondsTo(somId mId)
{
/*
 *  Returns 1 (true) if the indicated method can be invoked
 *  on the receiver and 0 (false) otherwise.
 */
   return 	(
	 SOM_TestCls(this,_SOMCLASS_SOMObject),
	 ((somTD_EventChannelAdmin_SupplierAdmin_somRespondsTo)(SOMObjectClassData.somRespondsTo))(((EventChannelAdmin_SupplierAdmin *)((void *)this)),mId)
	);
}


/* va_list method: somDispatch */

/*
 *  This method provides a generic, class-specific dispatch mechanism.
 *  It accepts as input <retValue> a pointer to the memory area to be
 *  loaded with the result of dispatching the method indicated by
 *  <methodId> using the arguments in <ap>. <ap> contains the object
 *  on which the method is to be invoked as the first argument.
 * 
 *  Default redispatch stubs invoke this method.
 */
/* the va_list invocation form */
boolean   SOMObject_somDispatch(somToken* retValue, 
		somId methodId, 
		va_list ap)
{   return 	(
	 SOM_TestCls(this,_SOMCLASS_SOMObject),
	 ((somTD_EventChannelAdmin_SupplierAdmin_somDispatch)(SOMObjectClassData.somDispatch))(((EventChannelAdmin_SupplierAdmin *)((void *)this)),retValue,methodId,ap)
	);
}

/* the varargs invocation form */
boolean   somDispatch(somToken* retValue, 
		somId methodId, 
		...)
{
/*
 *  This method provides a generic, class-specific dispatch mechanism.
 *  It accepts as input <retValue> a pointer to the memory area to be
 *  loaded with the result of dispatching the method indicated by
 *  <methodId> using the arguments in <ap>. <ap> contains the object
 *  on which the method is to be invoked as the first argument.
 * 
 *  Default redispatch stubs invoke this method.
 */
   va_list ap;
   va_start(ap, methodId);
   boolean __somResult = 
      	(
	 SOM_TestCls(this,_SOMCLASS_SOMObject),
	 ((somTD_EventChannelAdmin_SupplierAdmin_somDispatch)(SOMObjectClassData.somDispatch))(((EventChannelAdmin_SupplierAdmin *)((void *)this)),retValue,methodId,ap)
	);
   va_end(ap);
   return __somResult;
}


/* va_list method: somClassDispatch */

/*
 *  Like somDispatch, but method resolution for static methods is done
 *  according to the clsObj instance method table.
 */
/* the va_list invocation form */
boolean   SOMObject_somClassDispatch(SOMClass* clsObj, 
		somToken* retValue, 
		somId methodId, 
		va_list ap)
{   return 	(
	 SOM_TestCls(this,_SOMCLASS_SOMObject),
	 ((somTD_EventChannelAdmin_SupplierAdmin_somClassDispatch)(SOMObjectClassData.somClassDispatch))(((EventChannelAdmin_SupplierAdmin *)((void *)this)),clsObj,retValue,methodId,ap)
	);
}

/* the varargs invocation form */
boolean   somClassDispatch(SOMClass* clsObj, 
		somToken* retValue, 
		somId methodId, 
		...)
{
/*
 *  Like somDispatch, but method resolution for static methods is done
 *  according to the clsObj instance method table.
 */
   va_list ap;
   va_start(ap, methodId);
   boolean __somResult = 
      	(
	 SOM_TestCls(this,_SOMCLASS_SOMObject),
	 ((somTD_EventChannelAdmin_SupplierAdmin_somClassDispatch)(SOMObjectClassData.somClassDispatch))(((EventChannelAdmin_SupplierAdmin *)((void *)this)),clsObj,retValue,methodId,ap)
	);
   va_end(ap);
   return __somResult;
}


/* method: somCastObj */
boolean   somCastObj(SOMClass* castedCls)
{
/*
 *  Changes the behavior of the target object to that implemented
 *  by castedCls. This is possible when all concrete data in castedCls
 *  is also concrete in the true class of the target object.
 *  Returns true (1) on success, and false (0) otherwise.
 */
   return 	(
	 SOM_TestCls(this,_SOMCLASS_SOMObject),
	 ((somTD_EventChannelAdmin_SupplierAdmin_somCastObj)(SOMObjectClassData.somCastObj))(((EventChannelAdmin_SupplierAdmin *)((void *)this)),castedCls)
	);
}


/* method: somResetObj */
boolean   somResetObj()
{
/*
 *  reset an object to its true class. Returns true always.
 */
   return 	(
	 SOM_TestCls(this,_SOMCLASS_SOMObject),
	 ((somTD_EventChannelAdmin_SupplierAdmin_somResetObj)(SOMObjectClassData.somResetObj))(((EventChannelAdmin_SupplierAdmin *)((void *)this)))
	);
}


/* method: somPrintSelf */
EventChannelAdmin_SupplierAdmin*  somPrintSelf()
{
/*
 *  Uses <SOMOutCharRoutine> to write a brief string with identifying
 *  information about this object.  The default implementation just gives
 *  the object's class name and its address in memory.
 *  <self> is returned.
 */
   return 	(
	 SOM_TestCls(this,_SOMCLASS_SOMObject),
	 ((somTD_EventChannelAdmin_SupplierAdmin_somPrintSelf)(SOMObjectClassData.somPrintSelf))(((EventChannelAdmin_SupplierAdmin *)((void *)this)))
	);
}


/* method: somDumpSelf */
void   somDumpSelf(long level)
{
/*
 *  Uses <SOMOutCharRoutine> to write a detailed description of this object
 *  and its current state.
 * 
 *  <level> indicates the nesting level for describing compound objects
 *  it must be greater than or equal to zero.  All lines in the
 *  description will be preceeded by <2*level> spaces.
 * 
 *  This routine only actually writes the data that concerns the object
 *  as a whole, such as class, and uses <somDumpSelfInt> to describe
 *  the object's current state.  This approach allows readable
 *  descriptions of compound objects to be constructed.
 * 
 *  Generally it is not necessary to override this method, if it is
 *  overriden it generally must be completely replaced.
 */
   	(
	 SOM_TestCls(this,_SOMCLASS_SOMObject),
	 ((somTD_EventChannelAdmin_SupplierAdmin_somDumpSelf)(SOMObjectClassData.somDumpSelf))(((EventChannelAdmin_SupplierAdmin *)((void *)this)),level)
	);
}


/* method: somDumpSelfInt */
void   somDumpSelfInt(long level)
{
/*
 *  Uses <SOMOutCharRoutine> to write in the current state of this object.
 *  Generally this method will need to be overridden.  When overriding
 *  it, begin by calling the parent class form of this method and then
 *  write in a description of your class's instance data. This will
 *  result in a description of all the object's instance data going
 *  from its root ancestor class to its specific class.
 */
   	(
	 SOM_TestCls(this,_SOMCLASS_SOMObject),
	 ((somTD_EventChannelAdmin_SupplierAdmin_somDumpSelfInt)(SOMObjectClassData.somDumpSelfInt))(((EventChannelAdmin_SupplierAdmin *)((void *)this)),level)
	);
}



};   /* EventChannelAdmin_SupplierAdmin */



#endif       /* SOM_EventChannelAdmin_SupplierAdmin_xh */

#ifndef SOM_EventChannelAdmin_EventChannel_xh
#define SOM_EventChannelAdmin_EventChannel_xh


#define EventChannelAdmin_EventChannel_MajorVersion 1
#define EventChannelAdmin_EventChannel_MinorVersion 1
class EventChannelAdmin_EventChannel;

/* Parents */
#ifndef SOM_SOMObject_xh
#ifdef SOMLOCALINCLUDES
#include "somobj.xh"
#else
#include <somobj.xh>
#endif
#endif

/* Useful C++ SOM defs */
#include <somcls.xh>
#include <somcm.xh>

#ifndef EventChannelAdmin_EventChannel_API
#define EventChannelAdmin_EventChannel_API
/*
 * -- The Class API
 */

/*
 * Start of bindings for IDL types
 */


/*
 * End of bindings for IDL types.
 */

/*
 * A function to create the EventChannelAdmin_EventChannel class object...
 */
SOMEXTERN SOM_IMPORTEXPORT_event_eventch SOMClass * SOMLINK EventChannelAdmin_EventChannelNewClass(
		integer4 majorVersion,
		integer4 minorVersion);


/*
 * The API 2 ClassData Structures...
 */
SOMEXTERN struct EventChannelAdmin_EventChannelClassDataStructure {
	SOMClass *classObject;
	somMToken for_consumers;
	somMToken for_suppliers;
	somMToken destroy;
} SOMDLINK SOM_IMPORTEXPORT_event_eventch EventChannelAdmin_EventChannelClassData;
SOMEXTERN struct EventChannelAdmin_EventChannelCClassDataStructure {
	som3ClassDetailsPtr    parentMtab;
	somDToken              instanceDataToken;
} SOMDLINK SOM_IMPORTEXPORT_event_eventch EventChannelAdmin_EventChannelCClassData;


/*
 * Class Object and Method Token Macros
 */
#define _SOMCLASS_EventChannelAdmin_EventChannel (EventChannelAdmin_EventChannelClassData.classObject)
#ifndef SOMGD_EventChannelAdmin_EventChannel
    #if (defined(_EventChannelAdmin_EventChannel) || defined(__EventChannelAdmin_EventChannel))
        #undef _EventChannelAdmin_EventChannel
        #undef __EventChannelAdmin_EventChannel
        #define SOMGD_EventChannelAdmin_EventChannel 1
    #else
        #define _EventChannelAdmin_EventChannel _SOMCLASS_EventChannelAdmin_EventChannel
    #endif /* _EventChannelAdmin_EventChannel */
#endif /* SOMGD_EventChannelAdmin_EventChannel */
#define EventChannelAdmin_EventChannel_classObj _SOMCLASS_EventChannelAdmin_EventChannel
#define _SOMMTOKEN_EventChannelAdmin_EventChannel(method) ((somMToken)EventChannelAdmin_EventChannelClassData.method)

/*
 * -- Typedefs for EventChannelAdmin_EventChannel Method Procedures
 */
SOMEXTERN {
typedef EventChannelAdmin_ConsumerAdmin*   SOMLINK somTP_EventChannelAdmin_EventChannel_for_consumers(EventChannelAdmin_EventChannel *somSelf, Environment *ev);
typedef somTP_EventChannelAdmin_EventChannel_for_consumers *somTD_EventChannelAdmin_EventChannel_for_consumers;
typedef EventChannelAdmin_SupplierAdmin*   SOMLINK somTP_EventChannelAdmin_EventChannel_for_suppliers(EventChannelAdmin_EventChannel *somSelf, Environment *ev);
typedef somTP_EventChannelAdmin_EventChannel_for_suppliers *somTD_EventChannelAdmin_EventChannel_for_suppliers;
typedef void   SOMLINK somTP_EventChannelAdmin_EventChannel_destroy(EventChannelAdmin_EventChannel *somSelf, Environment *ev);
typedef somTP_EventChannelAdmin_EventChannel_destroy *somTD_EventChannelAdmin_EventChannel_destroy;

/*
 * -- Typedefs for Reintroduced Wrapper Methods
 */
typedef void   SOMLINK somTP_EventChannelAdmin_EventChannel_somDefaultInit(EventChannelAdmin_EventChannel *somSelf, 
		som3InitCtrl* ctrl);
typedef somTP_EventChannelAdmin_EventChannel_somDefaultInit *somTD_EventChannelAdmin_EventChannel_somDefaultInit;
typedef void   SOMLINK somTP_EventChannelAdmin_EventChannel_somDestruct(EventChannelAdmin_EventChannel *somSelf, 
		octet doFree, 
		som3DestructCtrl* ctrl);
typedef somTP_EventChannelAdmin_EventChannel_somDestruct *somTD_EventChannelAdmin_EventChannel_somDestruct;
typedef void   SOMLINK somTP_EventChannelAdmin_EventChannel_somDefaultCopyInit(EventChannelAdmin_EventChannel *somSelf, 
		som3InitCtrl* ctrl, 
		SOMObject* fromObj);
typedef somTP_EventChannelAdmin_EventChannel_somDefaultCopyInit *somTD_EventChannelAdmin_EventChannel_somDefaultCopyInit;
typedef EventChannelAdmin_EventChannel*   SOMLINK somTP_EventChannelAdmin_EventChannel_somDefaultAssign(EventChannelAdmin_EventChannel *somSelf, 
		som3AssignCtrl* ctrl, 
		SOMObject* fromObj);
typedef somTP_EventChannelAdmin_EventChannel_somDefaultAssign *somTD_EventChannelAdmin_EventChannel_somDefaultAssign;
typedef void   SOMLINK somTP_EventChannelAdmin_EventChannel_somDefaultConstCopyInit(EventChannelAdmin_EventChannel *somSelf, 
		som3InitCtrl* ctrl, 
		SOMObject* fromObj);
typedef somTP_EventChannelAdmin_EventChannel_somDefaultConstCopyInit *somTD_EventChannelAdmin_EventChannel_somDefaultConstCopyInit;
typedef void   SOMLINK somTP_EventChannelAdmin_EventChannel_somDefaultVCopyInit(EventChannelAdmin_EventChannel *somSelf, 
		som3InitCtrl* ctrl, 
		SOMObject* fromObj);
typedef somTP_EventChannelAdmin_EventChannel_somDefaultVCopyInit *somTD_EventChannelAdmin_EventChannel_somDefaultVCopyInit;
typedef void   SOMLINK somTP_EventChannelAdmin_EventChannel_somDefaultConstVCopyInit(EventChannelAdmin_EventChannel *somSelf, 
		som3InitCtrl* ctrl, 
		SOMObject* fromObj);
typedef somTP_EventChannelAdmin_EventChannel_somDefaultConstVCopyInit *somTD_EventChannelAdmin_EventChannel_somDefaultConstVCopyInit;
typedef EventChannelAdmin_EventChannel*   SOMLINK somTP_EventChannelAdmin_EventChannel_somDefaultConstAssign(EventChannelAdmin_EventChannel *somSelf, 
		som3AssignCtrl* ctrl, 
		SOMObject* fromObj);
typedef somTP_EventChannelAdmin_EventChannel_somDefaultConstAssign *somTD_EventChannelAdmin_EventChannel_somDefaultConstAssign;
typedef EventChannelAdmin_EventChannel*   SOMLINK somTP_EventChannelAdmin_EventChannel_somDefaultVAssign(EventChannelAdmin_EventChannel *somSelf, 
		som3AssignCtrl* ctrl, 
		SOMObject* fromObj);
typedef somTP_EventChannelAdmin_EventChannel_somDefaultVAssign *somTD_EventChannelAdmin_EventChannel_somDefaultVAssign;
typedef EventChannelAdmin_EventChannel*   SOMLINK somTP_EventChannelAdmin_EventChannel_somDefaultConstVAssign(EventChannelAdmin_EventChannel *somSelf, 
		som3AssignCtrl* ctrl, 
		SOMObject* fromObj);
typedef somTP_EventChannelAdmin_EventChannel_somDefaultConstVAssign *somTD_EventChannelAdmin_EventChannel_somDefaultConstVAssign;
typedef void   SOMLINK somTP_EventChannelAdmin_EventChannel_somInit(EventChannelAdmin_EventChannel *somSelf);
typedef somTP_EventChannelAdmin_EventChannel_somInit *somTD_EventChannelAdmin_EventChannel_somInit;
typedef void   SOMLINK somTP_EventChannelAdmin_EventChannel_somUninit(EventChannelAdmin_EventChannel *somSelf);
typedef somTP_EventChannelAdmin_EventChannel_somUninit *somTD_EventChannelAdmin_EventChannel_somUninit;
typedef void   SOMLINK somTP_EventChannelAdmin_EventChannel_somFree(EventChannelAdmin_EventChannel *somSelf);
typedef somTP_EventChannelAdmin_EventChannel_somFree *somTD_EventChannelAdmin_EventChannel_somFree;
typedef SOMClass*   SOMLINK somTP_EventChannelAdmin_EventChannel_somGetClass(EventChannelAdmin_EventChannel *somSelf);
typedef somTP_EventChannelAdmin_EventChannel_somGetClass *somTD_EventChannelAdmin_EventChannel_somGetClass;
typedef string   SOMLINK somTP_EventChannelAdmin_EventChannel_somGetClassName(EventChannelAdmin_EventChannel *somSelf);
typedef somTP_EventChannelAdmin_EventChannel_somGetClassName *somTD_EventChannelAdmin_EventChannel_somGetClassName;
typedef long   SOMLINK somTP_EventChannelAdmin_EventChannel_somGetSize(EventChannelAdmin_EventChannel *somSelf);
typedef somTP_EventChannelAdmin_EventChannel_somGetSize *somTD_EventChannelAdmin_EventChannel_somGetSize;
typedef boolean   SOMLINK somTP_EventChannelAdmin_EventChannel_somIsA(EventChannelAdmin_EventChannel *somSelf, 
		SOMClass* aClassObj);
typedef somTP_EventChannelAdmin_EventChannel_somIsA *somTD_EventChannelAdmin_EventChannel_somIsA;
typedef boolean   SOMLINK somTP_EventChannelAdmin_EventChannel_somIsInstanceOf(EventChannelAdmin_EventChannel *somSelf, 
		SOMClass* aClassObj);
typedef somTP_EventChannelAdmin_EventChannel_somIsInstanceOf *somTD_EventChannelAdmin_EventChannel_somIsInstanceOf;
typedef boolean   SOMLINK somTP_EventChannelAdmin_EventChannel_somRespondsTo(EventChannelAdmin_EventChannel *somSelf, 
		somId mId);
typedef somTP_EventChannelAdmin_EventChannel_somRespondsTo *somTD_EventChannelAdmin_EventChannel_somRespondsTo;
typedef boolean   SOMLINK somTP_EventChannelAdmin_EventChannel_somDispatch(EventChannelAdmin_EventChannel *somSelf, 
		somToken* retValue, 
		somId methodId, 
		va_list ap);
typedef somTP_EventChannelAdmin_EventChannel_somDispatch *somTD_EventChannelAdmin_EventChannel_somDispatch;
typedef boolean   SOMLINK somTP_EventChannelAdmin_EventChannel_somClassDispatch(EventChannelAdmin_EventChannel *somSelf, 
		SOMClass* clsObj, 
		somToken* retValue, 
		somId methodId, 
		va_list ap);
typedef somTP_EventChannelAdmin_EventChannel_somClassDispatch *somTD_EventChannelAdmin_EventChannel_somClassDispatch;
typedef boolean   SOMLINK somTP_EventChannelAdmin_EventChannel_somCastObj(EventChannelAdmin_EventChannel *somSelf, 
		SOMClass* castedCls);
typedef somTP_EventChannelAdmin_EventChannel_somCastObj *somTD_EventChannelAdmin_EventChannel_somCastObj;
typedef boolean   SOMLINK somTP_EventChannelAdmin_EventChannel_somResetObj(EventChannelAdmin_EventChannel *somSelf);
typedef somTP_EventChannelAdmin_EventChannel_somResetObj *somTD_EventChannelAdmin_EventChannel_somResetObj;
typedef EventChannelAdmin_EventChannel*   SOMLINK somTP_EventChannelAdmin_EventChannel_somPrintSelf(EventChannelAdmin_EventChannel *somSelf);
typedef somTP_EventChannelAdmin_EventChannel_somPrintSelf *somTD_EventChannelAdmin_EventChannel_somPrintSelf;
typedef void   SOMLINK somTP_EventChannelAdmin_EventChannel_somDumpSelf(EventChannelAdmin_EventChannel *somSelf, 
		long level);
typedef somTP_EventChannelAdmin_EventChannel_somDumpSelf *somTD_EventChannelAdmin_EventChannel_somDumpSelf;
typedef void   SOMLINK somTP_EventChannelAdmin_EventChannel_somDumpSelfInt(EventChannelAdmin_EventChannel *somSelf, 
		long level);
typedef somTP_EventChannelAdmin_EventChannel_somDumpSelfInt *somTD_EventChannelAdmin_EventChannel_somDumpSelfInt;
}

#endif /* EventChannelAdmin_EventChannel_API */


/*
 * -- The C++ Wrapper Class for EventChannelAdmin_EventChannel
 */
class EventChannelAdmin_EventChannel : public SOMObject
{
public:

// EventChannelAdmin_EventChannel::new creates the class object if necessary, and then uses
// somNewNoInit to allocate memory and create the object.
// Initialization is in ctors.
void *operator new(size_t)
{
   if (!_EventChannelAdmin_EventChannel) EventChannelAdmin_EventChannelNewClass(EventChannelAdmin_EventChannel_MajorVersion,EventChannelAdmin_EventChannel_MinorVersion);
   return (void*)
   (((somTD_SOMClass_somNewNoInit)(SOMClassClassData.somNewNoInit))
         ((SOMClass *)((void*)_EventChannelAdmin_EventChannel)));
}

// EventChannelAdmin_EventChannel::delete uses somFree.
void operator delete(void * obj)
{
   if (obj && *(void**)obj)
      ((SOMObject*)obj)->somFree();
}

EventChannelAdmin_EventChannel& operator=(EventChannelAdmin_EventChannel& fromObj)
{
   this->somDefaultAssign(0,(SOMObject*)((void*)&fromObj));
   return *this;
}

EventChannelAdmin_EventChannel()
{
   if (*(void**)this != (EventChannelAdmin_EventChannelCClassData.parentMtab)->mtab)
      return;
   ((SOMObject*)((void*)this))->somDefaultInit(0);
}

EventChannelAdmin_EventChannel(EventChannelAdmin_EventChannel* fromObj)
{
   if (*(void**)this != (EventChannelAdmin_EventChannelCClassData.parentMtab)->mtab)
      return;
   ((SOMObject*)((void*)this))->somDefaultCopyInit(0,((SOMObject*)((void*)fromObj)));
}


/* method: for_consumers */
EventChannelAdmin_ConsumerAdmin*   for_consumers(Environment *ev)
{
   return 	(
	 SOM_TestCls(this,_SOMCLASS_EventChannelAdmin_EventChannel),
	 ((somTD_EventChannelAdmin_EventChannel_for_consumers)(EventChannelAdmin_EventChannelClassData.for_consumers))(((EventChannelAdmin_EventChannel *)((void *)this)), ev)
	);
}


/* method: for_suppliers */
EventChannelAdmin_SupplierAdmin*   for_suppliers(Environment *ev)
{
   return 	(
	 SOM_TestCls(this,_SOMCLASS_EventChannelAdmin_EventChannel),
	 ((somTD_EventChannelAdmin_EventChannel_for_suppliers)(EventChannelAdmin_EventChannelClassData.for_suppliers))(((EventChannelAdmin_EventChannel *)((void *)this)), ev)
	);
}


/* method: destroy */
void   destroy(Environment *ev)
{
   	(
	 SOM_TestCls(this,_SOMCLASS_EventChannelAdmin_EventChannel),
	 ((somTD_EventChannelAdmin_EventChannel_destroy)(EventChannelAdmin_EventChannelClassData.destroy))(((EventChannelAdmin_EventChannel *)((void *)this)), ev)
	);
}


/*
 * Reintroduce inherited methods
 */

/* initializer method: somDefaultInit */
void   somDefaultInit(som3InitCtrl* ctrl)
{
/*
 *  A default initializer for a SOM object. Passing a null ctrl
 *  indicates to the receiver that its class is the class of the
 *  object being initialized, whereby the initializer will determine
 *  an appropriate control structure.
 */
   	(
	 SOM_TestCls(this,_SOMCLASS_SOMObject),
	 ((somTD_EventChannelAdmin_EventChannel_somDefaultInit)(SOMObjectClassData.somDefaultInit))(((EventChannelAdmin_EventChannel *)((void *)this)),ctrl)
	);
}


/* method: somDestruct */
void   somDestruct(octet doFree, 
		som3DestructCtrl* ctrl)
{
/*
 *  The default destructor for a SOM object. A nonzero <doFree>
 *  indicates that the object storage should be freed by the
 *  object's class (via somDeallocate) after uninitialization.
 *  As with somDefaultInit, a null ctrl can be passed.
 */
   	(
	 SOM_TestCls(this,_SOMCLASS_SOMObject),
	 ((somTD_EventChannelAdmin_EventChannel_somDestruct)(SOMObjectClassData.somDestruct))(((EventChannelAdmin_EventChannel *)((void *)this)),doFree,ctrl)
	);
}


/* initializer method: somDefaultCopyInit */
void   somDefaultCopyInit(som3InitCtrl* ctrl, 
		SOMObject* fromObj)
{
/*
 *  A default copy constructor. Use this to make copies of objects for
 *  calling methods with "by-value" argument semantics.
 */
   	(
	 SOM_TestCls(this,_SOMCLASS_SOMObject),
	 ((somTD_EventChannelAdmin_EventChannel_somDefaultCopyInit)(SOMObjectClassData.somDefaultCopyInit))(((EventChannelAdmin_EventChannel *)((void *)this)),ctrl,fromObj)
	);
}


/* method: somDefaultAssign */
EventChannelAdmin_EventChannel*  somDefaultAssign(som3AssignCtrl* ctrl, 
		SOMObject* fromObj)
{
/*
 *  A default assignment operator. Use this to "assign" the state of one
 *  object to another.
 */
   return 	(
	 SOM_TestCls(this,_SOMCLASS_SOMObject),
	 ((somTD_EventChannelAdmin_EventChannel_somDefaultAssign)(SOMObjectClassData.somDefaultAssign))(((EventChannelAdmin_EventChannel *)((void *)this)),ctrl,fromObj)
	);
}


/* initializer method: somDefaultConstCopyInit */
void   somDefaultConstCopyInit(som3InitCtrl* ctrl, 
		SOMObject* fromObj)
{
/*
 *  A default copy constructor that uses a const fromObj.
 */
   	(
	 SOM_TestCls(this,_SOMCLASS_SOMObject),
	 ((somTD_EventChannelAdmin_EventChannel_somDefaultConstCopyInit)(SOMObjectClassData.somDefaultConstCopyInit))(((EventChannelAdmin_EventChannel *)((void *)this)),ctrl,fromObj)
	);
}


/* initializer method: somDefaultVCopyInit */
void   somDefaultVCopyInit(som3InitCtrl* ctrl, 
		SOMObject* fromObj)
{
/*
 *  A default copy constructor that uses a volatile fromObj.
 */
   	(
	 SOM_TestCls(this,_SOMCLASS_SOMObject),
	 ((somTD_EventChannelAdmin_EventChannel_somDefaultVCopyInit)(SOMObjectClassData.somDefaultVCopyInit))(((EventChannelAdmin_EventChannel *)((void *)this)),ctrl,fromObj)
	);
}


/* initializer method: somDefaultConstVCopyInit */
void   somDefaultConstVCopyInit(som3InitCtrl* ctrl, 
		SOMObject* fromObj)
{
/*
 *  A default copy constructor that uses a const volatile fromObj.
 */
   	(
	 SOM_TestCls(this,_SOMCLASS_SOMObject),
	 ((somTD_EventChannelAdmin_EventChannel_somDefaultConstVCopyInit)(SOMObjectClassData.somDefaultConstVCopyInit))(((EventChannelAdmin_EventChannel *)((void *)this)),ctrl,fromObj)
	);
}


/* method: somDefaultConstAssign */
EventChannelAdmin_EventChannel*  somDefaultConstAssign(som3AssignCtrl* ctrl, 
		SOMObject* fromObj)
{
/*
 *  A default assignment operator that uses a const fromObj.
 */
   return 	(
	 SOM_TestCls(this,_SOMCLASS_SOMObject),
	 ((somTD_EventChannelAdmin_EventChannel_somDefaultConstAssign)(SOMObjectClassData.somDefaultConstAssign))(((EventChannelAdmin_EventChannel *)((void *)this)),ctrl,fromObj)
	);
}


/* method: somDefaultVAssign */
EventChannelAdmin_EventChannel*  somDefaultVAssign(som3AssignCtrl* ctrl, 
		SOMObject* fromObj)
{
/*
 *  A default assignment operator that uses a volatile fromObj.
 */
   return 	(
	 SOM_TestCls(this,_SOMCLASS_SOMObject),
	 ((somTD_EventChannelAdmin_EventChannel_somDefaultVAssign)(SOMObjectClassData.somDefaultVAssign))(((EventChannelAdmin_EventChannel *)((void *)this)),ctrl,fromObj)
	);
}


/* method: somDefaultConstVAssign */
EventChannelAdmin_EventChannel*  somDefaultConstVAssign(som3AssignCtrl* ctrl, 
		SOMObject* fromObj)
{
/*
 *  A default assignment operator that uses a const volatile fromObj.
 */
   return 	(
	 SOM_TestCls(this,_SOMCLASS_SOMObject),
	 ((somTD_EventChannelAdmin_EventChannel_somDefaultConstVAssign)(SOMObjectClassData.somDefaultConstVAssign))(((EventChannelAdmin_EventChannel *)((void *)this)),ctrl,fromObj)
	);
}


/* method: somInit */
void   somInit()
{
/*
 *  Obsolete but still supported. Override somDefaultInit instead of somInit.
 */
   	(
	 SOM_TestCls(this,_SOMCLASS_SOMObject),
	 ((somTD_EventChannelAdmin_EventChannel_somInit)(SOMObjectClassData.somInit))(((EventChannelAdmin_EventChannel *)((void *)this)))
	);
}


/* method: somUninit */
void   somUninit()
{
/*
 *  Obsolete but still supported. Override somDestruct instead of somUninit.
 */
   	(
	 SOM_TestCls(this,_SOMCLASS_SOMObject),
	 ((somTD_EventChannelAdmin_EventChannel_somUninit)(SOMObjectClassData.somUninit))(((EventChannelAdmin_EventChannel *)((void *)this)))
	);
}


/* method: somFree */
void   somFree()
{
/*
 *  The default implementation just calls somDestruct.
 */
   	(
	 SOM_TestCls(this,_SOMCLASS_SOMObject),
	 ((somTD_EventChannelAdmin_EventChannel_somFree)(SOMObjectClassData.somFree))(((EventChannelAdmin_EventChannel *)((void *)this)))
	);
}


/* method: somGetClass */
SOMClass*   somGetClass()
{
/*
 *  Return the receiver's class.
 */
   return 	(
	 SOM_TestCls(this,_SOMCLASS_SOMObject),
	 ((somTD_EventChannelAdmin_EventChannel_somGetClass)(SOMObjectClassData.somGetClass))(((EventChannelAdmin_EventChannel *)((void *)this)))
	);
}


/* method: somGetClassName */
string   somGetClassName()
{
/*
 *  Return the name of the receiver's class.
 */
   return 	(
	 SOM_TestCls(this,_SOMCLASS_SOMObject),
	 ((somTD_EventChannelAdmin_EventChannel_somGetClassName)(SOMObjectClassData.somGetClassName))(((EventChannelAdmin_EventChannel *)((void *)this)))
	);
}


/* method: somGetSize */
long   somGetSize()
{
/*
 *  Return the size of the receiver.
 */
   return 	(
	 SOM_TestCls(this,_SOMCLASS_SOMObject),
	 ((somTD_EventChannelAdmin_EventChannel_somGetSize)(SOMObjectClassData.somGetSize))(((EventChannelAdmin_EventChannel *)((void *)this)))
	);
}


/* method: somIsA */
boolean   somIsA(SOMClass* aClassObj)
{
/*
 *  Returns 1 (true) if the receiver responds to methods
 *  introduced by <aClassObj>, and 0 (false) otherwise.
 */
   return 	(
	 SOM_TestCls(this,_SOMCLASS_SOMObject),
	 ((somTD_EventChannelAdmin_EventChannel_somIsA)(SOMObjectClassData.somIsA))(((EventChannelAdmin_EventChannel *)((void *)this)),aClassObj)
	);
}


/* method: somIsInstanceOf */
boolean   somIsInstanceOf(SOMClass* aClassObj)
{
/*
 *  Returns 1 (true) if the receiver is an instance of
 *  <aClassObj> and 0 (false) otherwise.
 */
   return 	(
	 SOM_TestCls(this,_SOMCLASS_SOMObject),
	 ((somTD_EventChannelAdmin_EventChannel_somIsInstanceOf)(SOMObjectClassData.somIsInstanceOf))(((EventChannelAdmin_EventChannel *)((void *)this)),aClassObj)
	);
}


/* method: somRespondsTo */
boolean   somRespondsTo(somId mId)
{
/*
 *  Returns 1 (true) if the indicated method can be invoked
 *  on the receiver and 0 (false) otherwise.
 */
   return 	(
	 SOM_TestCls(this,_SOMCLASS_SOMObject),
	 ((somTD_EventChannelAdmin_EventChannel_somRespondsTo)(SOMObjectClassData.somRespondsTo))(((EventChannelAdmin_EventChannel *)((void *)this)),mId)
	);
}


/* va_list method: somDispatch */

/*
 *  This method provides a generic, class-specific dispatch mechanism.
 *  It accepts as input <retValue> a pointer to the memory area to be
 *  loaded with the result of dispatching the method indicated by
 *  <methodId> using the arguments in <ap>. <ap> contains the object
 *  on which the method is to be invoked as the first argument.
 * 
 *  Default redispatch stubs invoke this method.
 */
/* the va_list invocation form */
boolean   SOMObject_somDispatch(somToken* retValue, 
		somId methodId, 
		va_list ap)
{   return 	(
	 SOM_TestCls(this,_SOMCLASS_SOMObject),
	 ((somTD_EventChannelAdmin_EventChannel_somDispatch)(SOMObjectClassData.somDispatch))(((EventChannelAdmin_EventChannel *)((void *)this)),retValue,methodId,ap)
	);
}

/* the varargs invocation form */
boolean   somDispatch(somToken* retValue, 
		somId methodId, 
		...)
{
/*
 *  This method provides a generic, class-specific dispatch mechanism.
 *  It accepts as input <retValue> a pointer to the memory area to be
 *  loaded with the result of dispatching the method indicated by
 *  <methodId> using the arguments in <ap>. <ap> contains the object
 *  on which the method is to be invoked as the first argument.
 * 
 *  Default redispatch stubs invoke this method.
 */
   va_list ap;
   va_start(ap, methodId);
   boolean __somResult = 
      	(
	 SOM_TestCls(this,_SOMCLASS_SOMObject),
	 ((somTD_EventChannelAdmin_EventChannel_somDispatch)(SOMObjectClassData.somDispatch))(((EventChannelAdmin_EventChannel *)((void *)this)),retValue,methodId,ap)
	);
   va_end(ap);
   return __somResult;
}


/* va_list method: somClassDispatch */

/*
 *  Like somDispatch, but method resolution for static methods is done
 *  according to the clsObj instance method table.
 */
/* the va_list invocation form */
boolean   SOMObject_somClassDispatch(SOMClass* clsObj, 
		somToken* retValue, 
		somId methodId, 
		va_list ap)
{   return 	(
	 SOM_TestCls(this,_SOMCLASS_SOMObject),
	 ((somTD_EventChannelAdmin_EventChannel_somClassDispatch)(SOMObjectClassData.somClassDispatch))(((EventChannelAdmin_EventChannel *)((void *)this)),clsObj,retValue,methodId,ap)
	);
}

/* the varargs invocation form */
boolean   somClassDispatch(SOMClass* clsObj, 
		somToken* retValue, 
		somId methodId, 
		...)
{
/*
 *  Like somDispatch, but method resolution for static methods is done
 *  according to the clsObj instance method table.
 */
   va_list ap;
   va_start(ap, methodId);
   boolean __somResult = 
      	(
	 SOM_TestCls(this,_SOMCLASS_SOMObject),
	 ((somTD_EventChannelAdmin_EventChannel_somClassDispatch)(SOMObjectClassData.somClassDispatch))(((EventChannelAdmin_EventChannel *)((void *)this)),clsObj,retValue,methodId,ap)
	);
   va_end(ap);
   return __somResult;
}


/* method: somCastObj */
boolean   somCastObj(SOMClass* castedCls)
{
/*
 *  Changes the behavior of the target object to that implemented
 *  by castedCls. This is possible when all concrete data in castedCls
 *  is also concrete in the true class of the target object.
 *  Returns true (1) on success, and false (0) otherwise.
 */
   return 	(
	 SOM_TestCls(this,_SOMCLASS_SOMObject),
	 ((somTD_EventChannelAdmin_EventChannel_somCastObj)(SOMObjectClassData.somCastObj))(((EventChannelAdmin_EventChannel *)((void *)this)),castedCls)
	);
}


/* method: somResetObj */
boolean   somResetObj()
{
/*
 *  reset an object to its true class. Returns true always.
 */
   return 	(
	 SOM_TestCls(this,_SOMCLASS_SOMObject),
	 ((somTD_EventChannelAdmin_EventChannel_somResetObj)(SOMObjectClassData.somResetObj))(((EventChannelAdmin_EventChannel *)((void *)this)))
	);
}


/* method: somPrintSelf */
EventChannelAdmin_EventChannel*  somPrintSelf()
{
/*
 *  Uses <SOMOutCharRoutine> to write a brief string with identifying
 *  information about this object.  The default implementation just gives
 *  the object's class name and its address in memory.
 *  <self> is returned.
 */
   return 	(
	 SOM_TestCls(this,_SOMCLASS_SOMObject),
	 ((somTD_EventChannelAdmin_EventChannel_somPrintSelf)(SOMObjectClassData.somPrintSelf))(((EventChannelAdmin_EventChannel *)((void *)this)))
	);
}


/* method: somDumpSelf */
void   somDumpSelf(long level)
{
/*
 *  Uses <SOMOutCharRoutine> to write a detailed description of this object
 *  and its current state.
 * 
 *  <level> indicates the nesting level for describing compound objects
 *  it must be greater than or equal to zero.  All lines in the
 *  description will be preceeded by <2*level> spaces.
 * 
 *  This routine only actually writes the data that concerns the object
 *  as a whole, such as class, and uses <somDumpSelfInt> to describe
 *  the object's current state.  This approach allows readable
 *  descriptions of compound objects to be constructed.
 * 
 *  Generally it is not necessary to override this method, if it is
 *  overriden it generally must be completely replaced.
 */
   	(
	 SOM_TestCls(this,_SOMCLASS_SOMObject),
	 ((somTD_EventChannelAdmin_EventChannel_somDumpSelf)(SOMObjectClassData.somDumpSelf))(((EventChannelAdmin_EventChannel *)((void *)this)),level)
	);
}


/* method: somDumpSelfInt */
void   somDumpSelfInt(long level)
{
/*
 *  Uses <SOMOutCharRoutine> to write in the current state of this object.
 *  Generally this method will need to be overridden.  When overriding
 *  it, begin by calling the parent class form of this method and then
 *  write in a description of your class's instance data. This will
 *  result in a description of all the object's instance data going
 *  from its root ancestor class to its specific class.
 */
   	(
	 SOM_TestCls(this,_SOMCLASS_SOMObject),
	 ((somTD_EventChannelAdmin_EventChannel_somDumpSelfInt)(SOMObjectClassData.somDumpSelfInt))(((EventChannelAdmin_EventChannel *)((void *)this)),level)
	);
}



};   /* EventChannelAdmin_EventChannel */



#endif       /* SOM_EventChannelAdmin_EventChannel_xh */
