Main Page   Packages   Class Hierarchy   Compound List   File List   Compound Members  

_JacORBEventChannelImplBase Class Reference

Inheritance diagram for _JacORBEventChannelImplBase:

Inheritance graph
[legend]
Collaboration diagram for _JacORBEventChannelImplBase:

Collaboration graph
[legend]
List of all members.

Public Methods

 _JacORBEventChannelImplBase ()
 _JacORBEventChannelImplBase (JacORBEventChannelOperations continuation)
OutputStream _invoke (String _method, InputStream _istream, ResponseHandler _handler)
org omg CosEventChannelAdmin
ConsumerAdmin 
for_consumers ()
org omg CosEventChannelAdmin
SupplierAdmin 
for_suppliers ()
void destroy ()
org omg CosEventChannelAdmin
ProxyPushSupplier 
obtain_push_supplier ()
org omg CosEventChannelAdmin
ProxyPullSupplier 
obtain_pull_supplier ()
org omg CosEventChannelAdmin
ProxyPushConsumer 
obtain_push_consumer ()
org omg CosEventChannelAdmin
ProxyPullConsumer 
obtain_pull_consumer ()
String [] _ids ()
void _setContinuation (java.lang.Object continuation)

Protected Methods

int _getMethodSwitchKey (String _methName)

Private Attributes

JacORBEventChannelOperations _cont

Static Private Attributes

String [] _ids = { org.objectweb.david.apis.services.jacorb_events.JacORBEventChannelHelper.id(),org.omg.CosEventChannelAdmin.EventChannelHelper.id(),org.omg.CosEventChannelAdmin.ConsumerAdminHelper.id(),org.omg.CosEventChannelAdmin.SupplierAdminHelper.id() }

Detailed Description

org.objectweb.david.apis.services.jacorb_events.JacORBEventChannel Server Stub generated by the Idl2Java Compiler 3.1 of Jonathan

Definition at line 18 of file _JacORBEventChannelImplBase.java.


Constructor & Destructor Documentation

_JacORBEventChannelImplBase::_JacORBEventChannelImplBase ( ) [inline]
 

Definition at line 22 of file _JacORBEventChannelImplBase.java.

00022                                              {
00023                 super();
00024                 _cont = this;
00025         }

_JacORBEventChannelImplBase::_JacORBEventChannelImplBase ( JacORBEventChannelOperations continuation ) [inline]
 

Definition at line 27 of file _JacORBEventChannelImplBase.java.

00027                                                                                       {
00028                 super();
00029                 _cont = continuation;
00030         }


Member Function Documentation

int _JacORBEventChannelImplBase::_getMethodSwitchKey ( String _methName ) [inline, protected]
 

Definition at line 33 of file _JacORBEventChannelImplBase.java.

00033                                                             {
00034                 switch(_methName.charAt(0)) {
00035                         case 'f' :
00036                                 switch(_methName.charAt(4)) {
00037                                         case 'c' :  return 0;  //method for_consumers coded as for_consumers
00038                                         case 's' :  return 1;  //method for_suppliers coded as for_suppliers
00039                                         default: return -1; // should never occur !!!
00040                                 }
00041                         case 'd' :  return 2;  //method destroy coded as destroy
00042                         case 'o' :
00043                                 switch(_methName.charAt(9)) {
00044                                         case 's' :
00045                                                 switch(_methName.charAt(12)) {
00046                                                         case 's' :  return 3;  //method obtain_push_supplier coded as obtain_push_supplier
00047                                                         case 'c' :  return 4;  //method obtain_push_consumer coded as obtain_push_consumer
00048                                                         default: return -1; // should never occur !!!
00049                                                 }
00050                                         case 'l' :
00051                                                 switch(_methName.charAt(12)) {
00052                                                         case 's' :  return 5;  //method obtain_pull_supplier coded as obtain_pull_supplier
00053                                                         case 'c' :  return 6;  //method obtain_pull_consumer coded as obtain_pull_consumer
00054                                                         default: return -1; // should never occur !!!
00055                                                 }
00056                                         default: return -1; // should never occur !!!
00057                                 }
00058                         default: return -1; // should never occur !!!
00059                 }
00060         }

String[] _JacORBEventChannelImplBase::_ids ( ) [inline]
 

Definition at line 194 of file _JacORBEventChannelImplBase.java.

00194                                {
00195                 return _ids;
00196         }

OutputStream _JacORBEventChannelImplBase::_invoke ( String _method,
InputStream _istream,
ResponseHandler _handler ) [inline]
 

Definition at line 63 of file _JacORBEventChannelImplBase.java.

00063                                                                                                  {
00064                         switch(_getMethodSwitchKey(_method)) {
00065         case 0 : //method : for_consumers
00066                 {
00067                         //in and inout arguments unmarshaling
00068                         OutputStream _ostream;
00069                 //operation invocation on the target interface
00070                 org.omg.CosEventChannelAdmin.ConsumerAdmin _ret;
00071                 _ret = _cont.for_consumers();
00072                 _ostream = _handler.createReply();
00073                 //out and inout arguments marshaling
00074                 _ostream.write_Object(_ret);
00075                 return _ostream;
00076                 }
00077         case 1 : //method : for_suppliers
00078                 {
00079                         //in and inout arguments unmarshaling
00080                         OutputStream _ostream;
00081                 //operation invocation on the target interface
00082                 org.omg.CosEventChannelAdmin.SupplierAdmin _ret;
00083                 _ret = _cont.for_suppliers();
00084                 _ostream = _handler.createReply();
00085                 //out and inout arguments marshaling
00086                 _ostream.write_Object(_ret);
00087                 return _ostream;
00088                 }
00089         case 2 : //method : destroy
00090                 {
00091                         //in and inout arguments unmarshaling
00092                         OutputStream _ostream;
00093                 //operation invocation on the target interface
00094                 _cont.destroy();
00095                 _ostream = _handler.createReply();
00096                 //out and inout arguments marshaling
00097                 return _ostream;
00098                 }
00099         case 3 : //method : obtain_push_supplier
00100                 {
00101                         //in and inout arguments unmarshaling
00102                         OutputStream _ostream;
00103                 //operation invocation on the target interface
00104                 org.omg.CosEventChannelAdmin.ProxyPushSupplier _ret;
00105                 _ret = _cont.obtain_push_supplier();
00106                 _ostream = _handler.createReply();
00107                 //out and inout arguments marshaling
00108                 _ostream.write_Object(_ret);
00109                 return _ostream;
00110                 }
00111         case 4 : //method : obtain_push_consumer
00112                 {
00113                         //in and inout arguments unmarshaling
00114                         OutputStream _ostream;
00115                 //operation invocation on the target interface
00116                 org.omg.CosEventChannelAdmin.ProxyPushConsumer _ret;
00117                 _ret = _cont.obtain_push_consumer();
00118                 _ostream = _handler.createReply();
00119                 //out and inout arguments marshaling
00120                 _ostream.write_Object(_ret);
00121                 return _ostream;
00122                 }
00123         case 5 : //method : obtain_pull_supplier
00124                 {
00125                         //in and inout arguments unmarshaling
00126                         OutputStream _ostream;
00127                 //operation invocation on the target interface
00128                 org.omg.CosEventChannelAdmin.ProxyPullSupplier _ret;
00129                 _ret = _cont.obtain_pull_supplier();
00130                 _ostream = _handler.createReply();
00131                 //out and inout arguments marshaling
00132                 _ostream.write_Object(_ret);
00133                 return _ostream;
00134                 }
00135         case 6 : //method : obtain_pull_consumer
00136                 {
00137                         //in and inout arguments unmarshaling
00138                         OutputStream _ostream;
00139                 //operation invocation on the target interface
00140                 org.omg.CosEventChannelAdmin.ProxyPullConsumer _ret;
00141                 _ret = _cont.obtain_pull_consumer();
00142                 _ostream = _handler.createReply();
00143                 //out and inout arguments marshaling
00144                 _ostream.write_Object(_ret);
00145                 return _ostream;
00146                 }
00147         default : // unknown method name
00148                 throw new BAD_OPERATION();
00149         }
00150 
00151         }

void _JacORBEventChannelImplBase::_setContinuation ( java.lang.Object continuation ) [inline]
 

Definition at line 198 of file _JacORBEventChannelImplBase.java.

00198                                                                     {
00199         _cont = (JacORBEventChannelOperations) continuation;
00200         }

void _JacORBEventChannelImplBase::destroy ( ) [inline]
 

Reimplemented in EventChannelImpl.

Definition at line 164 of file _JacORBEventChannelImplBase.java.

00164                               {
00165                 if (_cont == this) {
00166                    throw new org.omg.CORBA.NO_IMPLEMENT("Method destroy not implemented by servant.");          }
00167                 _cont.destroy();
00168         }

org omg CosEventChannelAdmin ConsumerAdmin _JacORBEventChannelImplBase::for_consumers ( ) [inline]
 

Reimplemented in EventChannelImpl.

Definition at line 152 of file _JacORBEventChannelImplBase.java.

00152                                                                           {
00153                 if (_cont == this) {
00154                    throw new org.omg.CORBA.NO_IMPLEMENT("Method for_consumers not implemented by servant.");            }
00155                 return _cont.for_consumers();
00156         }

org omg CosEventChannelAdmin SupplierAdmin _JacORBEventChannelImplBase::for_suppliers ( ) [inline]
 

Reimplemented in EventChannelImpl.

Definition at line 158 of file _JacORBEventChannelImplBase.java.

00158                                                                           {
00159                 if (_cont == this) {
00160                    throw new org.omg.CORBA.NO_IMPLEMENT("Method for_suppliers not implemented by servant.");            }
00161                 return _cont.for_suppliers();
00162         }

org omg CosEventChannelAdmin ProxyPullConsumer _JacORBEventChannelImplBase::obtain_pull_consumer ( ) [inline]
 

Reimplemented in EventChannelImpl.

Definition at line 188 of file _JacORBEventChannelImplBase.java.

00188                                                                                      {
00189                 if (_cont == this) {
00190                    throw new org.omg.CORBA.NO_IMPLEMENT("Method obtain_pull_consumer not implemented by servant.");             }
00191                 return _cont.obtain_pull_consumer();
00192         }

org omg CosEventChannelAdmin ProxyPullSupplier _JacORBEventChannelImplBase::obtain_pull_supplier ( ) [inline]
 

Reimplemented in EventChannelImpl.

Definition at line 176 of file _JacORBEventChannelImplBase.java.

00176                                                                                      {
00177                 if (_cont == this) {
00178                    throw new org.omg.CORBA.NO_IMPLEMENT("Method obtain_pull_supplier not implemented by servant.");             }
00179                 return _cont.obtain_pull_supplier();
00180         }

org omg CosEventChannelAdmin ProxyPushConsumer _JacORBEventChannelImplBase::obtain_push_consumer ( ) [inline]
 

Reimplemented in EventChannelImpl.

Definition at line 182 of file _JacORBEventChannelImplBase.java.

00182                                                                                      {
00183                 if (_cont == this) {
00184                    throw new org.omg.CORBA.NO_IMPLEMENT("Method obtain_push_consumer not implemented by servant.");             }
00185                 return _cont.obtain_push_consumer();
00186         }

org omg CosEventChannelAdmin ProxyPushSupplier _JacORBEventChannelImplBase::obtain_push_supplier ( ) [inline]
 

Reimplemented in EventChannelImpl.

Definition at line 170 of file _JacORBEventChannelImplBase.java.

00170                                                                                      {
00171                 if (_cont == this) {
00172                    throw new org.omg.CORBA.NO_IMPLEMENT("Method obtain_push_supplier not implemented by servant.");             }
00173                 return _cont.obtain_push_supplier();
00174         }


Member Data Documentation

JacORBEventChannelOperations _JacORBEventChannelImplBase::_cont [private]
 

Definition at line 19 of file _JacORBEventChannelImplBase.java.

String[] _JacORBEventChannelImplBase::_ids = { org.objectweb.david.apis.services.jacorb_events.JacORBEventChannelHelper.id(),org.omg.CosEventChannelAdmin.EventChannelHelper.id(),org.omg.CosEventChannelAdmin.ConsumerAdminHelper.id(),org.omg.CosEventChannelAdmin.SupplierAdminHelper.id() } [inline, static, private]
 

Definition at line 194 of file _JacORBEventChannelImplBase.java.

00194                                {
00195                 return _ids;
00196         }


The documentation for this class was generated from the following file:
Generated at Fri May 31 19:23:38 2002 for Jonathan by doxygen1.2.6 written by Dimitri van Heesch, © 1997-2001