1
2
3 #include "auktion.h"
4
5
6 using namespace std;
7
8
9
10
11
12
13
14 Auktion::Kaeufer::~Kaeufer()
15 {
16 }
17
18 void *
19 Auktion::Kaeufer::_narrow_helper( const char *_repoid )
20 {
21 if( strcmp( _repoid, "IDL:r4/Auktion/Kaeufer:1.0" ) == 0 )
22 return (void *)this;
23 return NULL;
24 }
25
26 Auktion::Kaeufer_ptr
Auktion::Kaeufer::_narrow( CORBA::Object_ptr _obj )
27 {
28 Auktion::Kaeufer_ptr _o;
29 if( !CORBA::is_nil( _obj ) ) {
30 void *_p;
31 if( (_p = _obj->_narrow_helper( "IDL:r4/Auktion/Kaeufer:1.0" )))
32 return _duplicate( (Auktion::Kaeufer_ptr) _p );
33 if (!strcmp (_obj->_repoid(), "IDL:r4/Auktion/Kaeufer:1.0") || _obj->_is_a_remote ("IDL:r4/Auktion/Kaeufer:1.0")) {
34 _o = new Auktion::Kaeufer_stub;
35 _o->CORBA::Object::operator=( *_obj );
36 return _o;
37 }
38 }
39 return _nil();
40 }
41
42 Auktion::Kaeufer_ptr
Auktion::Kaeufer::_narrow( CORBA::AbstractBase_ptr _obj )
43 {
44 return _narrow (_obj->_to_object());
45 }
46
47 class _Marshaller_Auktion_Kaeufer : public ::CORBA::StaticTypeInfo {
48 typedef Auktion::Kaeufer_ptr _MICO_T;
49 public:
50 StaticValueType create () const;
51 void assign (StaticValueType dst, const StaticValueType src) const;
52 void free (StaticValueType) const;
53 void release (StaticValueType) const;
54 ::CORBA::Boolean demarshal (::CORBA::DataDecoder&, StaticValueType) const;
55 void marshal (::CORBA::DataEncoder &, StaticValueType) const;
56 };
57
58
59 ::CORBA::StaticValueType _Marshaller_Auktion_Kaeufer::create() const
{
60 return (StaticValueType) new _MICO_T( 0 );
61 }
62
63 void _Marshaller_Auktion_Kaeufer::assign( StaticValueType d, const StaticValueType s ) const
{
64 *(_MICO_T*) d = ::Auktion::Kaeufer::_duplicate( *(_MICO_T*) s );
65 }
66
67 void _Marshaller_Auktion_Kaeufer::free( StaticValueType v ) const
{
68 ::CORBA::release( *(_MICO_T *) v );
69 delete (_MICO_T*) v;
70 }
71
72 void _Marshaller_Auktion_Kaeufer::release( StaticValueType v ) const
{
73 ::CORBA::release( *(_MICO_T *) v );
74 }
75
76 ::CORBA::Boolean _Marshaller_Auktion_Kaeufer::demarshal( ::CORBA::DataDecoder &dc, StaticValueType v ) const
{
77 ::CORBA::Object_ptr obj;
78 if (!::CORBA::_stc_Object->demarshal(dc, &obj))
79 return FALSE;
80 *(_MICO_T *) v = ::Auktion::Kaeufer::_narrow( obj );
81 ::CORBA::Boolean ret = ::CORBA::is_nil (obj) || !::CORBA::is_nil (*(_MICO_T *)v);
82 ::CORBA::release (obj);
83 return ret;
84 }
85
86 void _Marshaller_Auktion_Kaeufer::marshal( ::CORBA::DataEncoder &ec, StaticValueType v ) const
{
87 ::CORBA::Object_ptr obj = *(_MICO_T *) v;
88 ::CORBA::_stc_Object->marshal( ec, &obj );
89 }
90
91 ::CORBA::StaticTypeInfo *_marshaller_Auktion_Kaeufer;
92
93
94
95
96 Auktion::Kaeufer_stub::~Kaeufer_stub()
97 {
98 }
99
100 #ifndef MICO_CONF_NO_POA
101
102 void *
103 POA_Auktion::Kaeufer::_narrow_helper (const char * repoid)
104 {
105 if (strcmp (repoid, "IDL:r4/Auktion/Kaeufer:1.0") == 0) {
106 return (void *) this;
107 }
108 return NULL;
109 }
110
111 POA_Auktion::Kaeufer *
112 POA_Auktion::Kaeufer::_narrow (PortableServer::Servant serv)
113 {
114 void * p;
115 if ((p = serv->_narrow_helper ("IDL:r4/Auktion/Kaeufer:1.0")) != NULL) {
116 serv->_add_ref ();
117 return (POA_Auktion::Kaeufer *) p;
118 }
119 return NULL;
120 }
121
122 Auktion::Kaeufer_stub_clp::Kaeufer_stub_clp ()
123 {
124 }
125
126 Auktion::Kaeufer_stub_clp::Kaeufer_stub_clp (PortableServer::POA_ptr poa, CORBA::Object_ptr obj)
127 : CORBA::Object(*obj), PortableServer::StubBase(poa)
128 {
129 }
130
131 Auktion::Kaeufer_stub_clp::~Kaeufer_stub_clp ()
132 {
133 }
134
135 #endif // MICO_CONF_NO_POA
136
137 void Auktion::Kaeufer_stub::zuschlag( Auktion::Versteigerung_ptr _par_gegenstand, Auktion::Verkaeufer_ptr _par_v )
138 {
139 CORBA::StaticAny _sa_gegenstand( _marshaller_Auktion_Versteigerung, &_par_gegenstand );
140 CORBA::StaticAny _sa_v( _marshaller_Auktion_Verkaeufer, &_par_v );
141 CORBA::StaticRequest __req( this, "zuschlag" );
142 __req.add_in_arg( &_sa_gegenstand );
143 __req.add_in_arg( &_sa_v );
144
145 __req.invoke();
146
147 mico_sii_throw( &__req,
148 0);
149 }
150
151
152 #ifndef MICO_CONF_NO_POA
153
154 void
Auktion::Kaeufer_stub_clp::zuschlag( Auktion::Versteigerung_ptr _par_gegenstand, Auktion::Verkaeufer_ptr _par_v )
155 {
156 PortableServer::Servant _serv = _preinvoke ();
157 if (_serv) {
158 POA_Auktion::Kaeufer * _myserv = POA_Auktion::Kaeufer::_narrow (_serv);
159 if (_myserv) {
160 #ifdef HAVE_EXCEPTIONS
161 try {
162 #endif
163 _myserv->zuschlag(_par_gegenstand, _par_v);
164 #ifdef HAVE_EXCEPTIONS
165 }
166 catch (...) {
167 _myserv->_remove_ref();
168 _postinvoke();
169 throw;
170 }
171 #endif
172
173 _myserv->_remove_ref();
174 _postinvoke ();
175 return;
176 }
177 _postinvoke ();
178 }
179
180 Auktion::Kaeufer_stub::zuschlag(_par_gegenstand, _par_v);
181 }
182
183 #endif // MICO_CONF_NO_POA
184
185
186
187
188 Auktion::CCM_Kaeufer::~CCM_Kaeufer()
189 {
190 }
191
192 void *
193 Auktion::CCM_Kaeufer::_narrow_helper( const char *_repoid )
194 {
195 if( strcmp( _repoid, "IDL:r4/Auktion/CCM_Kaeufer:1.0" ) == 0 )
196 return (void *)this;
197 {
198 void *_p;
199 if ((_p = Auktion::Kaeufer::_narrow_helper( _repoid )))
200 return _p;
201 }
202 {
203 void *_p;
204 if ((_p = ::CORBA::LocalObject::_narrow_helper (_repoid)))
205 return _p;
206 }
207 return NULL;
208 }
209
210 Auktion::CCM_Kaeufer_ptr
Auktion::CCM_Kaeufer::_narrow( CORBA::Object_ptr _obj )
211 {
212 if( !CORBA::is_nil( _obj ) ) {
213 void *_p;
214 if( (_p = _obj->_narrow_helper( "IDL:r4/Auktion/CCM_Kaeufer:1.0" )))
215 return _duplicate( (Auktion::CCM_Kaeufer_ptr) _p );
216 }
217 return _nil();
218 }
219
220 Auktion::CCM_Kaeufer_ptr
Auktion::CCM_Kaeufer::_narrow( CORBA::AbstractBase_ptr _obj )
221 {
222 return _narrow (_obj->_to_object());
223 }
224
225
226 #ifdef HAVE_EXPLICIT_STRUCT_OPS
227 Auktion::Bieter::versteigerungenConnection::versteigerungenConnection()
228 {
229 }
230
231 Auktion::Bieter::versteigerungenConnection::versteigerungenConnection( const versteigerungenConnection& _s )
232 {
233 objref = ((versteigerungenConnection&)_s).objref;
234 ck = Components::Cookie::_narrow ((versteigerungenConnection&)_s.ck->_copy_value());
235 }
236
237 Auktion::Bieter::versteigerungenConnection::~versteigerungenConnection()
238 {
239 }
240
241 Auktion::Bieter::versteigerungenConnection&
242 Auktion::Bieter::versteigerungenConnection::operator=( const versteigerungenConnection& _s )
243 {
244 objref = ((versteigerungenConnection&)_s).objref;
245 ck = Components::Cookie::_narrow ((versteigerungenConnection&)_s.ck->_copy_value());
246 return *this;
247 }
248 #endif
249
250 CORBA::Long
Auktion::Bieter::versteigerungenConnection::_count_refs (CORBA::ValueBase::visited * _seen)
251 {
252 CORBA::Long res = 0;
253 if (ck) {
254 res += ck->_count_refs (_seen);
255 }
256 return res;
257 }
258
259 void
Auktion::Bieter::versteigerungenConnection::_release_members ()
260 {
261 if (ck) {
262 ck->_release_members ();
263 }
264 ck = 0;
265 }
266
267 class _Marshaller_Auktion_Bieter_versteigerungenConnection : public ::CORBA::StaticTypeInfo {
268 typedef Auktion::Bieter::versteigerungenConnection _MICO_T;
269 public:
270 StaticValueType create () const;
271 void assign (StaticValueType dst, const StaticValueType src) const;
272 void free (StaticValueType) const;
273 ::CORBA::Boolean demarshal (::CORBA::DataDecoder&, StaticValueType) const;
274 void marshal (::CORBA::DataEncoder &, StaticValueType) const;
275 };
276
277
278 ::CORBA::StaticValueType _Marshaller_Auktion_Bieter_versteigerungenConnection::create() const
{
279 return (StaticValueType) new _MICO_T;
280 }
281
282 void _Marshaller_Auktion_Bieter_versteigerungenConnection::assign( StaticValueType d, const StaticValueType s ) const
{
283 *(_MICO_T*) d = *(_MICO_T*) s;
284 }
285
286 void _Marshaller_Auktion_Bieter_versteigerungenConnection::free( StaticValueType v ) const
{
287 delete (_MICO_T*) v;
288 }
289
290 ::CORBA::Boolean _Marshaller_Auktion_Bieter_versteigerungenConnection::demarshal( ::CORBA::DataDecoder &dc, StaticValueType v ) const
{
291 return
dc.struct_begin() &&
292 _marshaller_Auktion_Versteigerung->demarshal( dc, &((_MICO_T*)v)->objref._for_demarshal() ) &&
293 _marshaller_Components_Cookie->demarshal( dc, &((_MICO_T*)v)->ck._for_demarshal() ) &&
294 dc.struct_end();
295 }
296
297 void _Marshaller_Auktion_Bieter_versteigerungenConnection::marshal( ::CORBA::DataEncoder &ec, StaticValueType v ) const
{
298 ec.struct_begin();
299 _marshaller_Auktion_Versteigerung->marshal( ec, &((_MICO_T*)v)->objref.inout() );
300 _marshaller_Components_Cookie->marshal( ec, &((_MICO_T*)v)->ck.inout() );
301 ec.struct_end();
302 }
303
304 ::CORBA::StaticTypeInfo *_marshaller_Auktion_Bieter_versteigerungenConnection;
305
306
307
308
309
310 Auktion::Bieter::~Bieter()
311 {
312 }
313
314 void *
315 Auktion::Bieter::_narrow_helper( const char *_repoid )
316 {
317 if( strcmp( _repoid, "IDL:r4/Auktion/Bieter:1.0" ) == 0 )
318 return (void *)this;
319 {
320 void *_p;
321 if ((_p = Components::CCMObject::_narrow_helper( _repoid )))
322 return _p;
323 }
324 {
325 void *_p;
326 if ((_p = Auktion::Kaeufer::_narrow_helper( _repoid )))
327 return _p;
328 }
329 return NULL;
330 }
331
332 Auktion::Bieter_ptr
Auktion::Bieter::_narrow( CORBA::Object_ptr _obj )
333 {
334 Auktion::Bieter_ptr _o;
335 if( !CORBA::is_nil( _obj ) ) {
336 void *_p;
337 if( (_p = _obj->_narrow_helper( "IDL:r4/Auktion/Bieter:1.0" )))
338 return _duplicate( (Auktion::Bieter_ptr) _p );
339 if (!strcmp (_obj->_repoid(), "IDL:r4/Auktion/Bieter:1.0") || _obj->_is_a_remote ("IDL:r4/Auktion/Bieter:1.0")) {
340 _o = new Auktion::Bieter_stub;
341 _o->CORBA::Object::operator=( *_obj );
342 return _o;
343 }
344 }
345 return _nil();
346 }
347
348 Auktion::Bieter_ptr
Auktion::Bieter::_narrow( CORBA::AbstractBase_ptr _obj )
349 {
350 return _narrow (_obj->_to_object());
351 }
352
353 class _Marshaller_Auktion_Bieter : public ::CORBA::StaticTypeInfo {
354 typedef Auktion::Bieter_ptr _MICO_T;
355 public:
356 StaticValueType create () const;
357 void assign (StaticValueType dst, const StaticValueType src) const;
358 void free (StaticValueType) const;
359 void release (StaticValueType) const;
360 ::CORBA::Boolean demarshal (::CORBA::DataDecoder&, StaticValueType) const;
361 void marshal (::CORBA::DataEncoder &, StaticValueType) const;
362 };
363
364
365 ::CORBA::StaticValueType _Marshaller_Auktion_Bieter::create() const
{
366 return (StaticValueType) new _MICO_T( 0 );
367 }
368
369 void _Marshaller_Auktion_Bieter::assign( StaticValueType d, const StaticValueType s ) const
{
370 *(_MICO_T*) d = ::Auktion::Bieter::_duplicate( *(_MICO_T*) s );
371 }
372
373 void _Marshaller_Auktion_Bieter::free( StaticValueType v ) const
{
374 ::CORBA::release( *(_MICO_T *) v );
375 delete (_MICO_T*) v;
376 }
377
378 void _Marshaller_Auktion_Bieter::release( StaticValueType v ) const
{
379 ::CORBA::release( *(_MICO_T *) v );
380 }
381
382 ::CORBA::Boolean _Marshaller_Auktion_Bieter::demarshal( ::CORBA::DataDecoder &dc, StaticValueType v ) const
{
383 ::CORBA::Object_ptr obj;
384 if (!::CORBA::_stc_Object->demarshal(dc, &obj))
385 return FALSE;
386 *(_MICO_T *) v = ::Auktion::Bieter::_narrow( obj );
387 ::CORBA::Boolean ret = ::CORBA::is_nil (obj) || !::CORBA::is_nil (*(_MICO_T *)v);
388 ::CORBA::release (obj);
389 return ret;
390 }
391
392 void _Marshaller_Auktion_Bieter::marshal( ::CORBA::DataEncoder &ec, StaticValueType v ) const
{
393 ::CORBA::Object_ptr obj = *(_MICO_T *) v;
394 ::CORBA::_stc_Object->marshal( ec, &obj );
395 }
396
397 ::CORBA::StaticTypeInfo *_marshaller_Auktion_Bieter;
398
399
400
401
402 Auktion::Bieter_stub::~Bieter_stub()
403 {
404 }
405
406 #ifndef MICO_CONF_NO_POA
407
408 void *
409 POA_Auktion::Bieter::_narrow_helper (const char * repoid)
410 {
411 void * p;
412 if (strcmp (repoid, "IDL:r4/Auktion/Bieter:1.0") == 0) {
413 return (void *) this;
414 }
415 if ((p = POA_Components::CCMObject::_narrow_helper (repoid)) != NULL)
416 {
417 return p;
418 }
419 if ((p = POA_Auktion::Kaeufer::_narrow_helper (repoid)) != NULL)
420 {
421 return p;
422 }
423 return NULL;
424 }
425
426 POA_Auktion::Bieter *
427 POA_Auktion::Bieter::_narrow (PortableServer::Servant serv)
428 {
429 void * p;
430 if ((p = serv->_narrow_helper ("IDL:r4/Auktion/Bieter:1.0")) != NULL) {
431 serv->_add_ref ();
432 return (POA_Auktion::Bieter *) p;
433 }
434 return NULL;
435 }
436
437 Auktion::Bieter_stub_clp::Bieter_stub_clp ()
438 {
439 }
440
441 Auktion::Bieter_stub_clp::Bieter_stub_clp (PortableServer::POA_ptr poa, CORBA::Object_ptr obj)
442 : CORBA::Object(*obj), PortableServer::StubBase(poa)
443 {
444 }
445
446 Auktion::Bieter_stub_clp::~Bieter_stub_clp ()
447 {
448 }
449
450 #endif // MICO_CONF_NO_POA
451
452 Auktion::GebotConsumer_ptr Auktion::Bieter_stub::get_consumer_gebote()
453 {
454 Auktion::GebotConsumer_ptr _res;
455 CORBA::StaticAny __res( _marshaller_Auktion_GebotConsumer, &_res );
456
457 CORBA::StaticRequest __req( this, "get_consumer_gebote" );
458 __req.set_result( &__res );
459
460 __req.invoke();
461
462 mico_sii_throw( &__req,
463 0);
464 return _res;
465 }
466
467
468 #ifndef MICO_CONF_NO_POA
469
470 Auktion::GebotConsumer_ptr
Auktion::Bieter_stub_clp::get_consumer_gebote()
471 {
472 PortableServer::Servant _serv = _preinvoke ();
473 if (_serv) {
474 POA_Auktion::Bieter * _myserv = POA_Auktion::Bieter::_narrow (_serv);
475 if (_myserv) {
476 Auktion::GebotConsumer_ptr __res;
477
478 #ifdef HAVE_EXCEPTIONS
479 try {
480 #endif
481 __res = _myserv->get_consumer_gebote();
482 #ifdef HAVE_EXCEPTIONS
483 }
484 catch (...) {
485 _myserv->_remove_ref();
486 _postinvoke();
487 throw;
488 }
489 #endif
490
491 _myserv->_remove_ref();
492 _postinvoke ();
493 return __res;
494 }
495 _postinvoke ();
496 }
497
498 return Auktion::Bieter_stub::get_consumer_gebote();
499 }
500
501 #endif // MICO_CONF_NO_POA
502
503 Components::Cookie* Auktion::Bieter_stub::connect_versteigerungen( Auktion::Versteigerung_ptr _par_connection )
504 {
505 CORBA::StaticAny _sa_connection( _marshaller_Auktion_Versteigerung, &_par_connection );
506 Components::Cookie* _res;
507 CORBA::StaticAny __res( _marshaller_Components_Cookie, &_res );
508
509 CORBA::StaticRequest __req( this, "connect_versteigerungen" );
510 __req.add_in_arg( &_sa_connection );
511 __req.set_result( &__res );
512
513 __req.invoke();
514
515 mico_sii_throw( &__req,
516 _marshaller_Components_ExceededConnectionLimit, "IDL:omg.org/Components/ExceededConnectionLimit:1.0",
517 _marshaller_Components_InvalidConnection, "IDL:omg.org/Components/InvalidConnection:1.0",
518 0);
519 return _res;
520 }
521
522
523 #ifndef MICO_CONF_NO_POA
524
525 Components::Cookie*
526 Auktion::Bieter_stub_clp::connect_versteigerungen( Auktion::Versteigerung_ptr _par_connection )
527 {
528 PortableServer::Servant _serv = _preinvoke ();
529 if (_serv) {
530 POA_Auktion::Bieter * _myserv = POA_Auktion::Bieter::_narrow (_serv);
531 if (_myserv) {
532 Components::Cookie* __res;
533
534 #ifdef HAVE_EXCEPTIONS
535 try {
536 #endif
537 __res = _myserv->connect_versteigerungen(_par_connection);
538 #ifdef HAVE_EXCEPTIONS
539 }
540 catch (...) {
541 _myserv->_remove_ref();
542 _postinvoke();
543 throw;
544 }
545 #endif
546
547 _myserv->_remove_ref();
548 _postinvoke ();
549 Components::Cookie* __res2 = Components::Cookie::_downcast (__res->_copy_value ());
550 CORBA::remove_ref (__res);
551 return __res2;
552 }
553 _postinvoke ();
554 }
555
556 return Auktion::Bieter_stub::connect_versteigerungen(_par_connection);
557 }
558
559 #endif // MICO_CONF_NO_POA
560
561 Auktion::Versteigerung_ptr Auktion::Bieter_stub::disconnect_versteigerungen( Components::Cookie* _par_ck )
562 {
563 CORBA::StaticAny _sa_ck( _marshaller_Components_Cookie, &_par_ck );
564 Auktion::Versteigerung_ptr _res;
565 CORBA::StaticAny __res( _marshaller_Auktion_Versteigerung, &_res );
566
567 CORBA::StaticRequest __req( this, "disconnect_versteigerungen" );
568 __req.add_in_arg( &_sa_ck );
569 __req.set_result( &__res );
570
571 __req.invoke();
572
573 mico_sii_throw( &__req,
574 _marshaller_Components_InvalidConnection, "IDL:omg.org/Components/InvalidConnection:1.0",
575 0);
576 return _res;
577 }
578
579
580 #ifndef MICO_CONF_NO_POA
581
582 Auktion::Versteigerung_ptr
Auktion::Bieter_stub_clp::disconnect_versteigerungen( Components::Cookie* _par_ck )
583 {
584 PortableServer::Servant _serv = _preinvoke ();
585 if (_serv) {
586 POA_Auktion::Bieter * _myserv = POA_Auktion::Bieter::_narrow (_serv);
587 if (_myserv) {
588 Auktion::Versteigerung_ptr __res;
589
590 Components::Cookie* _copy_of_par_ck;
591 _copy_of_par_ck = Components::Cookie::_downcast (_par_ck->_copy_value());
592 #ifdef HAVE_EXCEPTIONS
593 try {
594 #endif
595 __res = _myserv->disconnect_versteigerungen(_copy_of_par_ck);
596 #ifdef HAVE_EXCEPTIONS
597 }
598 catch (...) {
599 _myserv->_remove_ref();
600 _postinvoke();
601 throw;
602 }
603 #endif
604
605 _myserv->_remove_ref();
606 _postinvoke ();
607 CORBA::remove_ref (_copy_of_par_ck);
608 return __res;
609 }
610 _postinvoke ();
611 }
612
613 return Auktion::Bieter_stub::disconnect_versteigerungen(_par_ck);
614 }
615
616 #endif // MICO_CONF_NO_POA
617
618 Auktion::Bieter::versteigerungenConnections* Auktion::Bieter_stub::get_connections_versteigerungen()
619 {
620 CORBA::StaticAny __res( _marshaller__seq_Auktion_Bieter_versteigerungenConnection );
621
622 CORBA::StaticRequest __req( this, "get_connections_versteigerungen" );
623 __req.set_result( &__res );
624
625 __req.invoke();
626
627 mico_sii_throw( &__req,
628 0);
629 return (Auktion::Bieter::versteigerungenConnections*) __res._retn();
630 }
631
632
633 #ifndef MICO_CONF_NO_POA
634
635 Auktion::Bieter::versteigerungenConnections*
636 Auktion::Bieter_stub_clp::get_connections_versteigerungen()
637 {
638 return Auktion::Bieter_stub::get_connections_versteigerungen();
639 }
640
641 #endif // MICO_CONF_NO_POA
642
643
644
645
646 Auktion::CCM_Bieter::~CCM_Bieter()
647 {
648 }
649
650 void *
651 Auktion::CCM_Bieter::_narrow_helper( const char *_repoid )
652 {
653 if( strcmp( _repoid, "IDL:r4/Auktion/CCM_Bieter:1.0" ) == 0 )
654 return (void *)this;
655 {
656 void *_p;
657 if ((_p = Components::EnterpriseComponent::_narrow_helper( _repoid )))
658 return _p;
659 }
660 {
661 void *_p;
662 if ((_p = Auktion::Kaeufer::_narrow_helper( _repoid )))
663 return _p;
664 }
665 return NULL;
666 }
667
668 Auktion::CCM_Bieter_ptr
Auktion::CCM_Bieter::_narrow( CORBA::Object_ptr _obj )
669 {
670 if( !CORBA::is_nil( _obj ) ) {
671 void *_p;
672 if( (_p = _obj->_narrow_helper( "IDL:r4/Auktion/CCM_Bieter:1.0" )))
673 return _duplicate( (Auktion::CCM_Bieter_ptr) _p );
674 }
675 return _nil();
676 }
677
678 Auktion::CCM_Bieter_ptr
Auktion::CCM_Bieter::_narrow( CORBA::AbstractBase_ptr _obj )
679 {
680 return _narrow (_obj->_to_object());
681 }
682
683
684
685
686
687 Auktion::CCM_Bieter_Executor::~CCM_Bieter_Executor()
688 {
689 }
690
691 void *
692 Auktion::CCM_Bieter_Executor::_narrow_helper( const char *_repoid )
693 {
694 if( strcmp( _repoid, "IDL:r4/Auktion/CCM_Bieter_Executor:1.0" ) == 0 )
695 return (void *)this;
696 {
697 void *_p;
698 if ((_p = Components::EnterpriseComponent::_narrow_helper( _repoid )))
699 return _p;
700 }
701 {
702 void *_p;
703 if ((_p = Auktion::Kaeufer::_narrow_helper( _repoid )))
704 return _p;
705 }
706 return NULL;
707 }
708
709 Auktion::CCM_Bieter_Executor_ptr
Auktion::CCM_Bieter_Executor::_narrow( CORBA::Object_ptr _obj )
710 {
711 if( !CORBA::is_nil( _obj ) ) {
712 void *_p;
713 if( (_p = _obj->_narrow_helper( "IDL:r4/Auktion/CCM_Bieter_Executor:1.0" )))
714 return _duplicate( (Auktion::CCM_Bieter_Executor_ptr) _p );
715 }
716 return _nil();
717 }
718
719 Auktion::CCM_Bieter_Executor_ptr
Auktion::CCM_Bieter_Executor::_narrow( CORBA::AbstractBase_ptr _obj )
720 {
721 return _narrow (_obj->_to_object());
722 }
723
724
725
726
727
728 Auktion::CCM_Bieter_Context::~CCM_Bieter_Context()
729 {
730 }
731
732 void *
733 Auktion::CCM_Bieter_Context::_narrow_helper( const char *_repoid )
734 {
735 if( strcmp( _repoid, "IDL:r4/Auktion/CCM_Bieter_Context:1.0" ) == 0 )
736 return (void *)this;
737 {
738 void *_p;
739 if ((_p = Components::SessionContext::_narrow_helper( _repoid )))
740 return _p;
741 }
742 return NULL;
743 }
744
745 Auktion::CCM_Bieter_Context_ptr
Auktion::CCM_Bieter_Context::_narrow( CORBA::Object_ptr _obj )
746 {
747 if( !CORBA::is_nil( _obj ) ) {
748 void *_p;
749 if( (_p = _obj->_narrow_helper( "IDL:r4/Auktion/CCM_Bieter_Context:1.0" )))
750 return _duplicate( (Auktion::CCM_Bieter_Context_ptr) _p );
751 }
752 return _nil();
753 }
754
755 Auktion::CCM_Bieter_Context_ptr
Auktion::CCM_Bieter_Context::_narrow( CORBA::AbstractBase_ptr _obj )
756 {
757 return _narrow (_obj->_to_object());
758 }
759
760
761
762
763 Auktion::Gebot::Gebot ()
764 {
765 }
766
767 Auktion::Gebot::~Gebot ()
768 {
769 }
770
771 void *
772 Auktion::Gebot::_narrow_helper (const char * repoid)
773 {
774 void * p;
775 if (strcmp (repoid, "IDL:r4/Auktion/Gebot:1.0") == 0) {
776 return (void *) this;
777 }
778 if ((p = ::Components::EventBase::_narrow_helper (repoid)) != NULL) {
779 return p;
780 }
781 return NULL;
782 }
783
784 Auktion::Gebot *
785 Auktion::Gebot::_downcast (CORBA::ValueBase * vb)
786 {
787 void * p;
788 if (vb && ((p = vb->_narrow_helper ("IDL:r4/Auktion/Gebot:1.0")))) {
789 return (Auktion::Gebot *) p;
790 }
791 return 0;
792 }
793
794 Auktion::Gebot *
795 Auktion::Gebot::_downcast (CORBA::AbstractBase * vb)
796 {
797 return _downcast (vb->_to_value());
798 }
799
800 CORBA::ValueDef_ptr
Auktion::Gebot::get_value_def ()
801 {
802 CORBA::ORB_var orb = CORBA::ORB_instance ("mico-local-orb");
803 CORBA::Object_var irobj =
804 orb->resolve_initial_references ("InterfaceRepository");
805 CORBA::Repository_var ifr = CORBA::Repository::_narrow (irobj);
806 if (CORBA::is_nil (ifr)) {
807 return CORBA::ValueDef::_nil ();
808 }
809
810 CORBA::Contained_var cv = ifr->lookup_id ("IDL:r4/Auktion/Gebot:1.0");
811 return CORBA::ValueDef::_narrow (cv);
812 }
813
814 void
Auktion::Gebot::_copy_members (const Gebot& other)
815 {
816 gegenstand (other.gegenstand());
817 angebot (other.angebot());
818 }
819
820 CORBA::ValueBase *
821 Auktion::Gebot::_copy_value ()
822 {
823 vector<string> _dummy;
824 string _repo_id = "IDL:r4/Auktion/Gebot:1.0";
825 Gebot * _res = _downcast (_create (_dummy, _repo_id));
826 assert (_res != 0);
827 _res->_copy_members (*this);
828 return _res;
829 }
830
831 void
Auktion::Gebot::_get_marshal_info (vector<string> & repoids, CORBA::Boolean & chunked)
832 {
833 repoids.push_back ("IDL:r4/Auktion/Gebot:1.0");
834 chunked = FALSE;
835 }
836
837 void
Auktion::Gebot::_marshal_members (CORBA::DataEncoder &ec)
838 {
839 Auktion::Versteigerung_ptr _gegenstand = gegenstand ();
840 _marshaller_Auktion_Versteigerung->marshal (ec, &_gegenstand);
841 CORBA::Long _angebot = angebot ();
842 CORBA::_stc_long->marshal (ec, &_angebot);
843 }
844
845 CORBA::Boolean
Auktion::Gebot::_demarshal_members (CORBA::DataDecoder &dc)
846 {
847 Auktion::Versteigerung_var _gegenstand;
848 if (!_marshaller_Auktion_Versteigerung->demarshal (dc, &_gegenstand._for_demarshal())) {
849 return FALSE;
850 }
851 gegenstand (_gegenstand);
852 CORBA::Long _angebot;
853 if (!CORBA::_stc_long->demarshal (dc, &_angebot)) {
854 return FALSE;
855 }
856 angebot (_angebot);
857 return TRUE;
858 }
859
860
861 class _Marshaller_Auktion_Gebot : public ::CORBA::StaticTypeInfo {
862 typedef Auktion::Gebot* _MICO_T;
863 public:
864 StaticValueType create () const;
865 void assign (StaticValueType dst, const StaticValueType src) const;
866 void free (StaticValueType) const;
867 ::CORBA::Boolean demarshal (::CORBA::DataDecoder&, StaticValueType) const;
868 void marshal (::CORBA::DataEncoder &, StaticValueType) const;
869 };
870
871
872 ::CORBA::StaticValueType _Marshaller_Auktion_Gebot::create() const
{
873 return (StaticValueType) new _MICO_T( 0 );
874 }
875
876 void _Marshaller_Auktion_Gebot::assign( StaticValueType d, const StaticValueType s ) const
{
877 ::CORBA::remove_ref (*(_MICO_T*)d);
878 ::CORBA::add_ref (*(_MICO_T*)s);
879 *(_MICO_T*) d = *(_MICO_T*) s;
880 }
881
882 void _Marshaller_Auktion_Gebot::free( StaticValueType v ) const
{
883 ::CORBA::remove_ref (*(_MICO_T*)v);
884 delete (_MICO_T*) v;
885 }
886
887 ::CORBA::Boolean _Marshaller_Auktion_Gebot::demarshal( ::CORBA::DataDecoder &dc, StaticValueType v ) const
{
888 ::CORBA::ValueBase* vb = NULL;
889 if (!::CORBA::ValueBase::_demarshal (dc, vb, "IDL:r4/Auktion/Gebot:1.0")) {
890 return FALSE;
891 }
892 *(_MICO_T *)v = ::Auktion::Gebot::_downcast (vb);
893 if (vb && !*(_MICO_T *)v) {
894 ::CORBA::remove_ref (vb);
895 return FALSE;
896 }
897 return TRUE;
898 }
899
900 void _Marshaller_Auktion_Gebot::marshal( ::CORBA::DataEncoder &ec, StaticValueType v ) const
{
901 ::CORBA::ValueBase::_marshal (ec, *(_MICO_T *)v);
902 }
903
904 ::CORBA::StaticTypeInfo *_marshaller_Auktion_Gebot;
905
906
907
908 OBV_Auktion::Gebot::Gebot ()
909 {
910 }
911
912 OBV_Auktion::Gebot::Gebot (::Auktion::Versteigerung_ptr _gegenstand, CORBA::Long _angebot)
913 {
914 _m.gegenstand = ::Auktion::Versteigerung::_duplicate( _gegenstand );
915 _m.angebot = _angebot;
916 }
917
918 OBV_Auktion::Gebot::~Gebot ()
919 {
920 }
921
922 void OBV_Auktion::Gebot::gegenstand( ::Auktion::Versteigerung_ptr _p )
923 {
924 _m.gegenstand = ::Auktion::Versteigerung::_duplicate( _p );
925 }
926
927 ::Auktion::Versteigerung_ptr OBV_Auktion::Gebot::gegenstand() const
{
928 return _m.gegenstand.in();
929 }
930
931 void OBV_Auktion::Gebot::angebot( CORBA::Long _p )
932 {
933 _m.angebot = _p;
934 }
935
936 CORBA::Long OBV_Auktion::Gebot::angebot() const
{
937 return (CORBA::Long)_m.angebot;
938 }
939
940
941
942
943 Auktion::GebotConsumer::~GebotConsumer()
944 {
945 }
946
947 void *
948 Auktion::GebotConsumer::_narrow_helper( const char *_repoid )
949 {
950 if( strcmp( _repoid, "IDL:r4/Auktion/GebotConsumer:1.0" ) == 0 )
951 return (void *)this;
952 {
953 void *_p;
954 if ((_p = Components::EventConsumerBase::_narrow_helper( _repoid )))
955 return _p;
956 }
957 return NULL;
958 }
959
960 Auktion::GebotConsumer_ptr
Auktion::GebotConsumer::_narrow( CORBA::Object_ptr _obj )
961 {
962 Auktion::GebotConsumer_ptr _o;
963 if( !CORBA::is_nil( _obj ) ) {
964 void *_p;
965 if( (_p = _obj->_narrow_helper( "IDL:r4/Auktion/GebotConsumer:1.0" )))
966 return _duplicate( (Auktion::GebotConsumer_ptr) _p );
967 if (!strcmp (_obj->_repoid(), "IDL:r4/Auktion/GebotConsumer:1.0") || _obj->_is_a_remote ("IDL:r4/Auktion/GebotConsumer:1.0")) {
968 _o = new Auktion::GebotConsumer_stub;
969 _o->CORBA::Object::operator=( *_obj );
970 return _o;
971 }
972 }
973 return _nil();
974 }
975
976 Auktion::GebotConsumer_ptr
Auktion::GebotConsumer::_narrow( CORBA::AbstractBase_ptr _obj )
977 {
978 return _narrow (_obj->_to_object());
979 }
980
981 class _Marshaller_Auktion_GebotConsumer : public ::CORBA::StaticTypeInfo {
982 typedef Auktion::GebotConsumer_ptr _MICO_T;
983 public:
984 StaticValueType create () const;
985 void assign (StaticValueType dst, const StaticValueType src) const;
986 void free (StaticValueType) const;
987 void release (StaticValueType) const;
988 ::CORBA::Boolean demarshal (::CORBA::DataDecoder&, StaticValueType) const;
989 void marshal (::CORBA::DataEncoder &, StaticValueType) const;
990 };
991
992
993 ::CORBA::StaticValueType _Marshaller_Auktion_GebotConsumer::create() const
{
994 return (StaticValueType) new _MICO_T( 0 );
995 }
996
997 void _Marshaller_Auktion_GebotConsumer::assign( StaticValueType d, const StaticValueType s ) const
{
998 *(_MICO_T*) d = ::Auktion::GebotConsumer::_duplicate( *(_MICO_T*) s );
999 }
1000
1001 void _Marshaller_Auktion_GebotConsumer::free( StaticValueType v ) const
{
1002 ::CORBA::release( *(_MICO_T *) v );
1003 delete (_MICO_T*) v;
1004 }
1005
1006 void _Marshaller_Auktion_GebotConsumer::release( StaticValueType v ) const
{
1007 ::CORBA::release( *(_MICO_T *) v );
1008 }
1009
1010 ::CORBA::Boolean _Marshaller_Auktion_GebotConsumer::demarshal( ::CORBA::DataDecoder &dc, StaticValueType v ) const
{
1011 ::CORBA::Object_ptr obj;
1012 if (!::CORBA::_stc_Object->demarshal(dc, &obj))
1013 return FALSE;
1014 *(_MICO_T *) v = ::Auktion::GebotConsumer::_narrow( obj );
1015 ::CORBA::Boolean ret = ::CORBA::is_nil (obj) || !::CORBA::is_nil (*(_MICO_T *)v);
1016 ::CORBA::release (obj);
1017 return ret;
1018 }
1019
1020 void _Marshaller_Auktion_GebotConsumer::marshal( ::CORBA::DataEncoder &ec, StaticValueType v ) const
{
1021 ::CORBA::Object_ptr obj = *(_MICO_T *) v;
1022 ::CORBA::_stc_Object->marshal( ec, &obj );
1023 }
1024
1025 ::CORBA::StaticTypeInfo *_marshaller_Auktion_GebotConsumer;
1026
1027
1028
1029
1030 Auktion::GebotConsumer_stub::~GebotConsumer_stub()
1031 {
1032 }
1033
1034 #ifndef MICO_CONF_NO_POA
1035
1036 void *
1037 POA_Auktion::GebotConsumer::_narrow_helper (const char * repoid)
1038 {
1039 void * p;
1040 if (strcmp (repoid, "IDL:r4/Auktion/GebotConsumer:1.0") == 0) {
1041 return (void *) this;
1042 }
1043 if ((p = POA_Components::EventConsumerBase::_narrow_helper (repoid)) != NULL)
1044 {
1045 return p;
1046 }
1047 return NULL;
1048 }
1049
1050 POA_Auktion::GebotConsumer *
1051 POA_Auktion::GebotConsumer::_narrow (PortableServer::Servant serv)
1052 {
1053 void * p;
1054 if ((p = serv->_narrow_helper ("IDL:r4/Auktion/GebotConsumer:1.0")) != NULL) {
1055 serv->_add_ref ();
1056 return (POA_Auktion::GebotConsumer *) p;
1057 }
1058 return NULL;
1059 }
1060
1061 Auktion::GebotConsumer_stub_clp::GebotConsumer_stub_clp ()
1062 {
1063 }
1064
1065 Auktion::GebotConsumer_stub_clp::GebotConsumer_stub_clp (PortableServer::POA_ptr poa, CORBA::Object_ptr obj)
1066 : CORBA::Object(*obj), PortableServer::StubBase(poa)
1067 {
1068 }
1069
1070 Auktion::GebotConsumer_stub_clp::~GebotConsumer_stub_clp ()
1071 {
1072 }
1073
1074 #endif // MICO_CONF_NO_POA
1075
1076 void Auktion::GebotConsumer_stub::push_Gebot( Auktion::Gebot* _par_event )
1077 {
1078 CORBA::StaticAny _sa_event( _marshaller_Auktion_Gebot, &_par_event );
1079 CORBA::StaticRequest __req( this, "push_Gebot" );
1080 __req.add_in_arg( &_sa_event );
1081
1082 __req.invoke();
1083
1084 mico_sii_throw( &__req,
1085 0);
1086 }
1087
1088
1089 #ifndef MICO_CONF_NO_POA
1090
1091 void
Auktion::GebotConsumer_stub_clp::push_Gebot( Auktion::Gebot* _par_event )
1092 {
1093 PortableServer::Servant _serv = _preinvoke ();
1094 if (_serv) {
1095 POA_Auktion::GebotConsumer * _myserv = POA_Auktion::GebotConsumer::_narrow (_serv);
1096 if (_myserv) {
1097 Auktion::Gebot* _copy_of_par_event;
1098 _copy_of_par_event = Auktion::Gebot::_downcast (_par_event->_copy_value());
1099 #ifdef HAVE_EXCEPTIONS
1100 try {
1101 #endif
1102 _myserv->push_Gebot(_copy_of_par_event);
1103 #ifdef HAVE_EXCEPTIONS
1104 }
1105 catch (...) {
1106 _myserv->_remove_ref();
1107 _postinvoke();
1108 throw;
1109 }
1110 #endif
1111
1112 _myserv->_remove_ref();
1113 _postinvoke ();
1114 CORBA::remove_ref (_copy_of_par_event);
1115 return;
1116 }
1117 _postinvoke ();
1118 }
1119
1120 Auktion::GebotConsumer_stub::push_Gebot(_par_event);
1121 }
1122
1123 #endif // MICO_CONF_NO_POA
1124
1125
1126
1127
1128 Auktion::CCM_GebotConsumer::~CCM_GebotConsumer()
1129 {
1130 }
1131
1132 void *
1133 Auktion::CCM_GebotConsumer::_narrow_helper( const char *_repoid )
1134 {
1135 if( strcmp( _repoid, "IDL:r4/Auktion/CCM_GebotConsumer:1.0" ) == 0 )
1136 return (void *)this;
1137 {
1138 void *_p;
1139 if ((_p = ::CORBA::LocalObject::_narrow_helper (_repoid)))
1140 return _p;
1141 }
1142 return NULL;
1143 }
1144
1145 Auktion::CCM_GebotConsumer_ptr
Auktion::CCM_GebotConsumer::_narrow( CORBA::Object_ptr _obj )
1146 {
1147 if( !CORBA::is_nil( _obj ) ) {
1148 void *_p;
1149 if( (_p = _obj->_narrow_helper( "IDL:r4/Auktion/CCM_GebotConsumer:1.0" )))
1150 return _duplicate( (Auktion::CCM_GebotConsumer_ptr) _p );
1151 }
1152 return _nil();
1153 }
1154
1155 Auktion::CCM_GebotConsumer_ptr
Auktion::CCM_GebotConsumer::_narrow( CORBA::AbstractBase_ptr _obj )
1156 {
1157 return _narrow (_obj->_to_object());
1158 }
1159
1160
1161
1162
1163
1164 Auktion::Versteigerung::~Versteigerung()
1165 {
1166 }
1167
1168 void *
1169 Auktion::Versteigerung::_narrow_helper( const char *_repoid )
1170 {
1171 if( strcmp( _repoid, "IDL:r4/Auktion/Versteigerung:1.0" ) == 0 )
1172 return (void *)this;
1173 return NULL;
1174 }
1175
1176 Auktion::Versteigerung_ptr
Auktion::Versteigerung::_narrow( CORBA::Object_ptr _obj )
1177 {
1178 Auktion::Versteigerung_ptr _o;
1179 if( !CORBA::is_nil( _obj ) ) {
1180 void *_p;
1181 if( (_p = _obj->_narrow_helper( "IDL:r4/Auktion/Versteigerung:1.0" )))
1182 return _duplicate( (Auktion::Versteigerung_ptr) _p );
1183 if (!strcmp (_obj->_repoid(), "IDL:r4/Auktion/Versteigerung:1.0") || _obj->_is_a_remote ("IDL:r4/Auktion/Versteigerung:1.0")) {
1184 _o = new Auktion::Versteigerung_stub;
1185 _o->CORBA::Object::operator=( *_obj );
1186 return _o;
1187 }
1188 }
1189 return _nil();
1190 }
1191
1192 Auktion::Versteigerung_ptr
Auktion::Versteigerung::_narrow( CORBA::AbstractBase_ptr _obj )
1193 {
1194 return _narrow (_obj->_to_object());
1195 }
1196
1197 class _Marshaller_Auktion_Versteigerung : public ::CORBA::StaticTypeInfo {
1198 typedef Auktion::Versteigerung_ptr _MICO_T;
1199 public:
1200 StaticValueType create () const;
1201 void assign (StaticValueType dst, const StaticValueType src) const;
1202 void free (StaticValueType) const;
1203 void release (StaticValueType) const;
1204 ::CORBA::Boolean demarshal (::CORBA::DataDecoder&, StaticValueType) const;
1205 void marshal (::CORBA::DataEncoder &, StaticValueType) const;
1206 };
1207
1208
1209 ::CORBA::StaticValueType _Marshaller_Auktion_Versteigerung::create() const
{
1210 return (StaticValueType) new _MICO_T( 0 );
1211 }
1212
1213 void _Marshaller_Auktion_Versteigerung::assign( StaticValueType d, const StaticValueType s ) const
{
1214 *(_MICO_T*) d = ::Auktion::Versteigerung::_duplicate( *(_MICO_T*) s );
1215 }
1216
1217 void _Marshaller_Auktion_Versteigerung::free( StaticValueType v ) const
{
1218 ::CORBA::release( *(_MICO_T *) v );
1219 delete (_MICO_T*) v;
1220 }
1221
1222 void _Marshaller_Auktion_Versteigerung::release( StaticValueType v ) const
{
1223 ::CORBA::release( *(_MICO_T *) v );
1224 }
1225
1226 ::CORBA::Boolean _Marshaller_Auktion_Versteigerung::demarshal( ::CORBA::DataDecoder &dc, StaticValueType v ) const
{
1227 ::CORBA::Object_ptr obj;
1228 if (!::CORBA::_stc_Object->demarshal(dc, &obj))
1229 return FALSE;
1230 *(_MICO_T *) v = ::Auktion::Versteigerung::_narrow( obj );
1231 ::CORBA::Boolean ret = ::CORBA::is_nil (obj) || !::CORBA::is_nil (*(_MICO_T *)v);
1232 ::CORBA::release (obj);
1233 return ret;
1234 }
1235
1236 void _Marshaller_Auktion_Versteigerung::marshal( ::CORBA::DataEncoder &ec, StaticValueType v ) const
{
1237 ::CORBA::Object_ptr obj = *(_MICO_T *) v;
1238 ::CORBA::_stc_Object->marshal( ec, &obj );
1239 }
1240
1241 ::CORBA::StaticTypeInfo *_marshaller_Auktion_Versteigerung;
1242
1243
1244
1245
1246 Auktion::Versteigerung_stub::~Versteigerung_stub()
1247 {
1248 }
1249
1250 #ifndef MICO_CONF_NO_POA
1251
1252 void *
1253 POA_Auktion::Versteigerung::_narrow_helper (const char * repoid)
1254 {
1255 if (strcmp (repoid, "IDL:r4/Auktion/Versteigerung:1.0") == 0) {
1256 return (void *) this;
1257 }
1258 return NULL;
1259 }
1260
1261 POA_Auktion::Versteigerung *
1262 POA_Auktion::Versteigerung::_narrow (PortableServer::Servant serv)
1263 {
1264 void * p;
1265 if ((p = serv->_narrow_helper ("IDL:r4/Auktion/Versteigerung:1.0")) != NULL) {
1266 serv->_add_ref ();
1267 return (POA_Auktion::Versteigerung *) p;
1268 }
1269 return NULL;
1270 }
1271
1272 Auktion::Versteigerung_stub_clp::Versteigerung_stub_clp ()
1273 {
1274 }
1275
1276 Auktion::Versteigerung_stub_clp::Versteigerung_stub_clp (PortableServer::POA_ptr poa, CORBA::Object_ptr obj)
1277 : CORBA::Object(*obj), PortableServer::StubBase(poa)
1278 {
1279 }
1280
1281 Auktion::Versteigerung_stub_clp::~Versteigerung_stub_clp ()
1282 {
1283 }
1284
1285 #endif // MICO_CONF_NO_POA
1286
1287 char* Auktion::Versteigerung_stub::name()
1288 {
1289 char* _res;
1290 CORBA::StaticAny __res( CORBA::_stc_string, &_res );
1291
1292 CORBA::StaticRequest __req( this, "_get_name" );
1293 __req.set_result( &__res );
1294
1295 __req.invoke();
1296
1297 mico_sii_throw( &__req,
1298 0);
1299 return _res;
1300 }
1301
1302
1303 #ifndef MICO_CONF_NO_POA
1304
1305 char*
1306 Auktion::Versteigerung_stub_clp::name()
1307 {
1308 PortableServer::Servant _serv = _preinvoke ();
1309 if (_serv) {
1310 POA_Auktion::Versteigerung * _myserv = POA_Auktion::Versteigerung::_narrow (_serv);
1311 if (_myserv) {
1312 char* __res;
1313
1314 #ifdef HAVE_EXCEPTIONS
1315 try {
1316 #endif
1317 __res = _myserv->name();
1318 #ifdef HAVE_EXCEPTIONS
1319 }
1320 catch (...) {
1321 _myserv->_remove_ref();
1322 _postinvoke();
1323 throw;
1324 }
1325 #endif
1326
1327 _myserv->_remove_ref();
1328 _postinvoke ();
1329 return __res;
1330 }
1331 _postinvoke ();
1332 }
1333
1334 return Auktion::Versteigerung_stub::name();
1335 }
1336
1337 #endif // MICO_CONF_NO_POA
1338
1339 CORBA::Long Auktion::Versteigerung_stub::aktuelles_gebot()
1340 {
1341 CORBA::Long _res;
1342 CORBA::StaticAny __res( CORBA::_stc_long, &_res );
1343
1344 CORBA::StaticRequest __req( this, "_get_aktuelles_gebot" );
1345 __req.set_result( &__res );
1346
1347 __req.invoke();
1348
1349 mico_sii_throw( &__req,
1350 0);
1351 return _res;
1352 }
1353
1354
1355 #ifndef MICO_CONF_NO_POA
1356
1357 CORBA::Long
Auktion::Versteigerung_stub_clp::aktuelles_gebot()
1358 {
1359 PortableServer::Servant _serv = _preinvoke ();
1360 if (_serv) {
1361 POA_Auktion::Versteigerung * _myserv = POA_Auktion::Versteigerung::_narrow (_serv);
1362 if (_myserv) {
1363 CORBA::Long __res;
1364
1365 #ifdef HAVE_EXCEPTIONS
1366 try {
1367 #endif
1368 __res = _myserv->aktuelles_gebot();
1369 #ifdef HAVE_EXCEPTIONS
1370 }
1371 catch (...) {
1372 _myserv->_remove_ref();
1373 _postinvoke();
1374 throw;
1375 }
1376 #endif
1377
1378 _myserv->_remove_ref();
1379 _postinvoke ();
1380 return __res;
1381 }
1382 _postinvoke ();
1383 }
1384
1385 return Auktion::Versteigerung_stub::aktuelles_gebot();
1386 }
1387
1388 #endif // MICO_CONF_NO_POA
1389
1390 void Auktion::Versteigerung_stub::biete( CORBA::Long _par_gebot, Auktion::Bieter_ptr _par_potentieller_kaeufer )
1391 {
1392 CORBA::StaticAny _sa_gebot( CORBA::_stc_long, &_par_gebot );
1393 CORBA::StaticAny _sa_potentieller_kaeufer( _marshaller_Auktion_Bieter, &_par_potentieller_kaeufer );
1394 CORBA::StaticRequest __req( this, "biete" );
1395 __req.add_in_arg( &_sa_gebot );
1396 __req.add_in_arg( &_sa_potentieller_kaeufer );
1397
1398 __req.invoke();
1399
1400 mico_sii_throw( &__req,
1401 0);
1402 }
1403
1404
1405 #ifndef MICO_CONF_NO_POA
1406
1407 void
Auktion::Versteigerung_stub_clp::biete( CORBA::Long _par_gebot, Auktion::Bieter_ptr _par_potentieller_kaeufer )
1408 {
1409 PortableServer::Servant _serv = _preinvoke ();
1410 if (_serv) {
1411 POA_Auktion::Versteigerung * _myserv = POA_Auktion::Versteigerung::_narrow (_serv);
1412 if (_myserv) {
1413 #ifdef HAVE_EXCEPTIONS
1414 try {
1415 #endif
1416 _myserv->biete(_par_gebot, _par_potentieller_kaeufer);
1417 #ifdef HAVE_EXCEPTIONS
1418 }
1419 catch (...) {
1420 _myserv->_remove_ref();
1421 _postinvoke();
1422 throw;
1423 }
1424 #endif
1425
1426 _myserv->_remove_ref();
1427 _postinvoke ();
1428 return;
1429 }
1430 _postinvoke ();
1431 }
1432
1433 Auktion::Versteigerung_stub::biete(_par_gebot, _par_potentieller_kaeufer);
1434 }
1435
1436 #endif // MICO_CONF_NO_POA
1437
1438
1439
1440
1441 Auktion::CCM_Versteigerung::~CCM_Versteigerung()
1442 {
1443 }
1444
1445 void *
1446 Auktion::CCM_Versteigerung::_narrow_helper( const char *_repoid )
1447 {
1448 if( strcmp( _repoid, "IDL:r4/Auktion/CCM_Versteigerung:1.0" ) == 0 )
1449 return (void *)this;
1450 {
1451 void *_p;
1452 if ((_p = Auktion::Versteigerung::_narrow_helper( _repoid )))
1453 return _p;
1454 }
1455 {
1456 void *_p;
1457 if ((_p = ::CORBA::LocalObject::_narrow_helper (_repoid)))
1458 return _p;
1459 }
1460 return NULL;
1461 }
1462
1463 Auktion::CCM_Versteigerung_ptr
Auktion::CCM_Versteigerung::_narrow( CORBA::Object_ptr _obj )
1464 {
1465 if( !CORBA::is_nil( _obj ) ) {
1466 void *_p;
1467 if( (_p = _obj->_narrow_helper( "IDL:r4/Auktion/CCM_Versteigerung:1.0" )))
1468 return _duplicate( (Auktion::CCM_Versteigerung_ptr) _p );
1469 }
1470 return _nil();
1471 }
1472
1473 Auktion::CCM_Versteigerung_ptr
Auktion::CCM_Versteigerung::_narrow( CORBA::AbstractBase_ptr _obj )
1474 {
1475 return _narrow (_obj->_to_object());
1476 }
1477
1478
1479
1480
1481
1482 Auktion::Verkaeufer::~Verkaeufer()
1483 {
1484 }
1485
1486 void *
1487 Auktion::Verkaeufer::_narrow_helper( const char *_repoid )
1488 {
1489 if( strcmp( _repoid, "IDL:r4/Auktion/Verkaeufer:1.0" ) == 0 )
1490 return (void *)this;
1491 {
1492 void *_p;
1493 if ((_p = Components::CCMObject::_narrow_helper( _repoid )))
1494 return _p;
1495 }
1496 return NULL;
1497 }
1498
1499 Auktion::Verkaeufer_ptr
Auktion::Verkaeufer::_narrow( CORBA::Object_ptr _obj )
1500 {
1501 Auktion::Verkaeufer_ptr _o;
1502 if( !CORBA::is_nil( _obj ) ) {
1503 void *_p;
1504 if( (_p = _obj->_narrow_helper( "IDL:r4/Auktion/Verkaeufer:1.0" )))
1505 return _duplicate( (Auktion::Verkaeufer_ptr) _p );
1506 if (!strcmp (_obj->_repoid(), "IDL:r4/Auktion/Verkaeufer:1.0") || _obj->_is_a_remote ("IDL:r4/Auktion/Verkaeufer:1.0")) {
1507 _o = new Auktion::Verkaeufer_stub;
1508 _o->CORBA::Object::operator=( *_obj );
1509 return _o;
1510 }
1511 }
1512 return _nil();
1513 }
1514
1515 Auktion::Verkaeufer_ptr
Auktion::Verkaeufer::_narrow( CORBA::AbstractBase_ptr _obj )
1516 {
1517 return _narrow (_obj->_to_object());
1518 }
1519
1520 class _Marshaller_Auktion_Verkaeufer : public ::CORBA::StaticTypeInfo {
1521 typedef Auktion::Verkaeufer_ptr _MICO_T;
1522 public:
1523 StaticValueType create () const;
1524 void assign (StaticValueType dst, const StaticValueType src) const;
1525 void free (StaticValueType) const;
1526 void release (StaticValueType) const;
1527 ::CORBA::Boolean demarshal (::CORBA::DataDecoder&, StaticValueType) const;
1528 void marshal (::CORBA::DataEncoder &, StaticValueType) const;
1529 };
1530
1531
1532 ::CORBA::StaticValueType _Marshaller_Auktion_Verkaeufer::create() const
{
1533 return (StaticValueType) new _MICO_T( 0 );
1534 }
1535
1536 void _Marshaller_Auktion_Verkaeufer::assign( StaticValueType d, const StaticValueType s ) const
{
1537 *(_MICO_T*) d = ::Auktion::Verkaeufer::_duplicate( *(_MICO_T*) s );
1538 }
1539
1540 void _Marshaller_Auktion_Verkaeufer::free( StaticValueType v ) const
{
1541 ::CORBA::release( *(_MICO_T *) v );
1542 delete (_MICO_T*) v;
1543 }
1544
1545 void _Marshaller_Auktion_Verkaeufer::release( StaticValueType v ) const
{
1546 ::CORBA::release( *(_MICO_T *) v );
1547 }
1548
1549 ::CORBA::Boolean _Marshaller_Auktion_Verkaeufer::demarshal( ::CORBA::DataDecoder &dc, StaticValueType v ) const
{
1550 ::CORBA::Object_ptr obj;
1551 if (!::CORBA::_stc_Object->demarshal(dc, &obj))
1552 return FALSE;
1553 *(_MICO_T *) v = ::Auktion::Verkaeufer::_narrow( obj );
1554 ::CORBA::Boolean ret = ::CORBA::is_nil (obj) || !::CORBA::is_nil (*(_MICO_T *)v);
1555 ::CORBA::release (obj);
1556 return ret;
1557 }
1558
1559 void _Marshaller_Auktion_Verkaeufer::marshal( ::CORBA::DataEncoder &ec, StaticValueType v ) const
{
1560 ::CORBA::Object_ptr obj = *(_MICO_T *) v;
1561 ::CORBA::_stc_Object->marshal( ec, &obj );
1562 }
1563
1564 ::CORBA::StaticTypeInfo *_marshaller_Auktion_Verkaeufer;
1565
1566
1567
1568
1569 Auktion::Verkaeufer_stub::~Verkaeufer_stub()
1570 {
1571 }
1572
1573 #ifndef MICO_CONF_NO_POA
1574
1575 void *
1576 POA_Auktion::Verkaeufer::_narrow_helper (const char * repoid)
1577 {
1578 void * p;
1579 if (strcmp (repoid, "IDL:r4/Auktion/Verkaeufer:1.0") == 0) {
1580 return (void *) this;
1581 }
1582 if ((p = POA_Components::CCMObject::_narrow_helper (repoid)) != NULL)
1583 {
1584 return p;
1585 }
1586 return NULL;
1587 }
1588
1589 POA_Auktion::Verkaeufer *
1590 POA_Auktion::Verkaeufer::_narrow (PortableServer::Servant serv)
1591 {
1592 void * p;
1593 if ((p = serv->_narrow_helper ("IDL:r4/Auktion/Verkaeufer:1.0")) != NULL) {
1594 serv->_add_ref ();
1595 return (POA_Auktion::Verkaeufer *) p;
1596 }
1597 return NULL;
1598 }
1599
1600 Auktion::Verkaeufer_stub_clp::Verkaeufer_stub_clp ()
1601 {
1602 }
1603
1604 Auktion::Verkaeufer_stub_clp::Verkaeufer_stub_clp (PortableServer::POA_ptr poa, CORBA::Object_ptr obj)
1605 : CORBA::Object(*obj), PortableServer::StubBase(poa)
1606 {
1607 }
1608
1609 Auktion::Verkaeufer_stub_clp::~Verkaeufer_stub_clp ()
1610 {
1611 }
1612
1613 #endif // MICO_CONF_NO_POA
1614
1615 void Auktion::Verkaeufer_stub::connect_handelsplatz( Auktion::VersteigerungsFabrik_ptr _par_conxn )
1616 {
1617 CORBA::StaticAny _sa_conxn( _marshaller_Auktion_VersteigerungsFabrik, &_par_conxn );
1618 CORBA::StaticRequest __req( this, "connect_handelsplatz" );
1619 __req.add_in_arg( &_sa_conxn );
1620
1621 __req.invoke();
1622
1623 mico_sii_throw( &__req,
1624 _marshaller_Components_AlreadyConnected, "IDL:omg.org/Components/AlreadyConnected:1.0",
1625 _marshaller_Components_InvalidConnection, "IDL:omg.org/Components/InvalidConnection:1.0",
1626 0);
1627 }
1628
1629
1630 #ifndef MICO_CONF_NO_POA
1631
1632 void
Auktion::Verkaeufer_stub_clp::connect_handelsplatz( Auktion::VersteigerungsFabrik_ptr _par_conxn )
1633 {
1634 PortableServer::Servant _serv = _preinvoke ();
1635 if (_serv) {
1636 POA_Auktion::Verkaeufer * _myserv = POA_Auktion::Verkaeufer::_narrow (_serv);
1637 if (_myserv) {
1638 #ifdef HAVE_EXCEPTIONS
1639 try {
1640 #endif
1641 _myserv->connect_handelsplatz(_par_conxn);
1642 #ifdef HAVE_EXCEPTIONS
1643 }
1644 catch (...) {
1645 _myserv->_remove_ref();
1646 _postinvoke();
1647 throw;
1648 }
1649 #endif
1650
1651 _myserv->_remove_ref();
1652 _postinvoke ();
1653 return;
1654 }
1655 _postinvoke ();
1656 }
1657
1658 Auktion::Verkaeufer_stub::connect_handelsplatz(_par_conxn);
1659 }
1660
1661 #endif // MICO_CONF_NO_POA
1662
1663 Auktion::VersteigerungsFabrik_ptr Auktion::Verkaeufer_stub::disconnect_handelsplatz()
1664 {
1665 Auktion::VersteigerungsFabrik_ptr _res;
1666 CORBA::StaticAny __res( _marshaller_Auktion_VersteigerungsFabrik, &_res );
1667
1668 CORBA::StaticRequest __req( this, "disconnect_handelsplatz" );
1669 __req.set_result( &__res );
1670
1671 __req.invoke();
1672
1673 mico_sii_throw( &__req,
1674 _marshaller_Components_NoConnection, "IDL:omg.org/Components/NoConnection:1.0",
1675 0);
1676 return _res;
1677 }
1678
1679
1680 #ifndef MICO_CONF_NO_POA
1681
1682 Auktion::VersteigerungsFabrik_ptr
Auktion::Verkaeufer_stub_clp::disconnect_handelsplatz()
1683 {
1684 PortableServer::Servant _serv = _preinvoke ();
1685 if (_serv) {
1686 POA_Auktion::Verkaeufer * _myserv = POA_Auktion::Verkaeufer::_narrow (_serv);
1687 if (_myserv) {
1688 Auktion::VersteigerungsFabrik_ptr __res;
1689
1690 #ifdef HAVE_EXCEPTIONS
1691 try {
1692 #endif
1693 __res = _myserv->disconnect_handelsplatz();
1694 #ifdef HAVE_EXCEPTIONS
1695 }
1696 catch (...) {
1697 _myserv->_remove_ref();
1698 _postinvoke();
1699 throw;
1700 }
1701 #endif
1702
1703 _myserv->_remove_ref();
1704 _postinvoke ();
1705 return __res;
1706 }
1707 _postinvoke ();
1708 }
1709
1710 return Auktion::Verkaeufer_stub::disconnect_handelsplatz();
1711 }
1712
1713 #endif // MICO_CONF_NO_POA
1714
1715 Auktion::VersteigerungsFabrik_ptr Auktion::Verkaeufer_stub::get_connection_handelsplatz()
1716 {
1717 Auktion::VersteigerungsFabrik_ptr _res;
1718 CORBA::StaticAny __res( _marshaller_Auktion_VersteigerungsFabrik, &_res );
1719
1720 CORBA::StaticRequest __req( this, "get_connection_handelsplatz" );
1721 __req.set_result( &__res );
1722
1723 __req.invoke();
1724
1725 mico_sii_throw( &__req,
1726 0);
1727 return _res;
1728 }
1729
1730
1731 #ifndef MICO_CONF_NO_POA
1732
1733 Auktion::VersteigerungsFabrik_ptr
Auktion::Verkaeufer_stub_clp::get_connection_handelsplatz()
1734 {
1735 PortableServer::Servant _serv = _preinvoke ();
1736 if (_serv) {
1737 POA_Auktion::Verkaeufer * _myserv = POA_Auktion::Verkaeufer::_narrow (_serv);
1738 if (_myserv) {
1739 Auktion::VersteigerungsFabrik_ptr __res;
1740
1741 #ifdef HAVE_EXCEPTIONS
1742 try {
1743 #endif
1744 __res = _myserv->get_connection_handelsplatz();
1745 #ifdef HAVE_EXCEPTIONS
1746 }
1747 catch (...) {
1748 _myserv->_remove_ref();
1749 _postinvoke();
1750 throw;
1751 }
1752 #endif
1753
1754 _myserv->_remove_ref();
1755 _postinvoke ();
1756 return __res;
1757 }
1758 _postinvoke ();
1759 }
1760
1761 return Auktion::Verkaeufer_stub::get_connection_handelsplatz();
1762 }
1763
1764 #endif // MICO_CONF_NO_POA
1765
1766 Auktion::KaufConsumer_ptr Auktion::Verkaeufer_stub::get_consumer_zuschlag()
1767 {
1768 Auktion::KaufConsumer_ptr _res;
1769 CORBA::StaticAny __res( _marshaller_Auktion_KaufConsumer, &_res );
1770
1771 CORBA::StaticRequest __req( this, "get_consumer_zuschlag" );
1772 __req.set_result( &__res );
1773
1774 __req.invoke();
1775
1776 mico_sii_throw( &__req,
1777 0);
1778 return _res;
1779 }
1780
1781
1782 #ifndef MICO_CONF_NO_POA
1783
1784 Auktion::KaufConsumer_ptr
Auktion::Verkaeufer_stub_clp::get_consumer_zuschlag()
1785 {
1786 PortableServer::Servant _serv = _preinvoke ();
1787 if (_serv) {
1788 POA_Auktion::Verkaeufer * _myserv = POA_Auktion::Verkaeufer::_narrow (_serv);
1789 if (_myserv) {
1790 Auktion::KaufConsumer_ptr __res;
1791
1792 #ifdef HAVE_EXCEPTIONS
1793 try {
1794 #endif
1795 __res = _myserv->get_consumer_zuschlag();
1796 #ifdef HAVE_EXCEPTIONS
1797 }
1798 catch (...) {
1799 _myserv->_remove_ref();
1800 _postinvoke();
1801 throw;
1802 }
1803 #endif
1804
1805 _myserv->_remove_ref();
1806 _postinvoke ();
1807 return __res;
1808 }
1809 _postinvoke ();
1810 }
1811
1812 return Auktion::Verkaeufer_stub::get_consumer_zuschlag();
1813 }
1814
1815 #endif // MICO_CONF_NO_POA
1816
1817
1818
1819
1820 Auktion::CCM_Verkaeufer::~CCM_Verkaeufer()
1821 {
1822 }
1823
1824 void *
1825 Auktion::CCM_Verkaeufer::_narrow_helper( const char *_repoid )
1826 {
1827 if( strcmp( _repoid, "IDL:r4/Auktion/CCM_Verkaeufer:1.0" ) == 0 )
1828 return (void *)this;
1829 {
1830 void *_p;
1831 if ((_p = Components::EnterpriseComponent::_narrow_helper( _repoid )))
1832 return _p;
1833 }
1834 return NULL;
1835 }
1836
1837 Auktion::CCM_Verkaeufer_ptr
Auktion::CCM_Verkaeufer::_narrow( CORBA::Object_ptr _obj )
1838 {
1839 if( !CORBA::is_nil( _obj ) ) {
1840 void *_p;
1841 if( (_p = _obj->_narrow_helper( "IDL:r4/Auktion/CCM_Verkaeufer:1.0" )))
1842 return _duplicate( (Auktion::CCM_Verkaeufer_ptr) _p );
1843 }
1844 return _nil();
1845 }
1846
1847 Auktion::CCM_Verkaeufer_ptr
Auktion::CCM_Verkaeufer::_narrow( CORBA::AbstractBase_ptr _obj )
1848 {
1849 return _narrow (_obj->_to_object());
1850 }
1851
1852
1853
1854
1855
1856 Auktion::CCM_Verkaeufer_Executor::~CCM_Verkaeufer_Executor()
1857 {
1858 }
1859
1860 void *
1861 Auktion::CCM_Verkaeufer_Executor::_narrow_helper( const char *_repoid )
1862 {
1863 if( strcmp( _repoid, "IDL:r4/Auktion/CCM_Verkaeufer_Executor:1.0" ) == 0 )
1864 return (void *)this;
1865 {
1866 void *_p;
1867 if ((_p = Components::EnterpriseComponent::_narrow_helper( _repoid )))
1868 return _p;
1869 }
1870 return NULL;
1871 }
1872
1873 Auktion::CCM_Verkaeufer_Executor_ptr
Auktion::CCM_Verkaeufer_Executor::_narrow( CORBA::Object_ptr _obj )
1874 {
1875 if( !CORBA::is_nil( _obj ) ) {
1876 void *_p;
1877 if( (_p = _obj->_narrow_helper( "IDL:r4/Auktion/CCM_Verkaeufer_Executor:1.0" )))
1878 return _duplicate( (Auktion::CCM_Verkaeufer_Executor_ptr) _p );
1879 }
1880 return _nil();
1881 }
1882
1883 Auktion::CCM_Verkaeufer_Executor_ptr
Auktion::CCM_Verkaeufer_Executor::_narrow( CORBA::AbstractBase_ptr _obj )
1884 {
1885 return _narrow (_obj->_to_object());
1886 }
1887
1888
1889
1890
1891
1892 Auktion::CCM_Verkaeufer_Context::~CCM_Verkaeufer_Context()
1893 {
1894 }
1895
1896 void *
1897 Auktion::CCM_Verkaeufer_Context::_narrow_helper( const char *_repoid )
1898 {
1899 if( strcmp( _repoid, "IDL:r4/Auktion/CCM_Verkaeufer_Context:1.0" ) == 0 )
1900 return (void *)this;
1901 {
1902 void *_p;
1903 if ((_p = Components::SessionContext::_narrow_helper( _repoid )))
1904 return _p;
1905 }
1906 return NULL;
1907 }
1908
1909 Auktion::CCM_Verkaeufer_Context_ptr
Auktion::CCM_Verkaeufer_Context::_narrow( CORBA::Object_ptr _obj )
1910 {
1911 if( !CORBA::is_nil( _obj ) ) {
1912 void *_p;
1913 if( (_p = _obj->_narrow_helper( "IDL:r4/Auktion/CCM_Verkaeufer_Context:1.0" )))
1914 return _duplicate( (Auktion::CCM_Verkaeufer_Context_ptr) _p );
1915 }
1916 return _nil();
1917 }
1918
1919 Auktion::CCM_Verkaeufer_Context_ptr
Auktion::CCM_Verkaeufer_Context::_narrow( CORBA::AbstractBase_ptr _obj )
1920 {
1921 return _narrow (_obj->_to_object());
1922 }
1923
1924
1925
1926
1927
1928 Auktion::VersteigerungsFabrik::~VersteigerungsFabrik()
1929 {
1930 }
1931
1932 void *
1933 Auktion::VersteigerungsFabrik::_narrow_helper( const char *_repoid )
1934 {
1935 if( strcmp( _repoid, "IDL:r4/Auktion/VersteigerungsFabrik:1.0" ) == 0 )
1936 return (void *)this;
1937 return NULL;
1938 }
1939
1940 Auktion::VersteigerungsFabrik_ptr
Auktion::VersteigerungsFabrik::_narrow( CORBA::Object_ptr _obj )
1941 {
1942 Auktion::VersteigerungsFabrik_ptr _o;
1943 if( !CORBA::is_nil( _obj ) ) {
1944 void *_p;
1945 if( (_p = _obj->_narrow_helper( "IDL:r4/Auktion/VersteigerungsFabrik:1.0" )))
1946 return _duplicate( (Auktion::VersteigerungsFabrik_ptr) _p );
1947 if (!strcmp (_obj->_repoid(), "IDL:r4/Auktion/VersteigerungsFabrik:1.0") || _obj->_is_a_remote ("IDL:r4/Auktion/VersteigerungsFabrik:1.0")) {
1948 _o = new Auktion::VersteigerungsFabrik_stub;
1949 _o->CORBA::Object::operator=( *_obj );
1950 return _o;
1951 }
1952 }
1953 return _nil();
1954 }
1955
1956 Auktion::VersteigerungsFabrik_ptr
Auktion::VersteigerungsFabrik::_narrow( CORBA::AbstractBase_ptr _obj )
1957 {
1958 return _narrow (_obj->_to_object());
1959 }
1960
1961 class _Marshaller_Auktion_VersteigerungsFabrik : public ::CORBA::StaticTypeInfo {
1962 typedef Auktion::VersteigerungsFabrik_ptr _MICO_T;
1963 public:
1964 StaticValueType create () const;
1965 void assign (StaticValueType dst, const StaticValueType src) const;
1966 void free (StaticValueType) const;
1967 void release (StaticValueType) const;
1968 ::CORBA::Boolean demarshal (::CORBA::DataDecoder&, StaticValueType) const;
1969 void marshal (::CORBA::DataEncoder &, StaticValueType) const;
1970 };
1971
1972
1973 ::CORBA::StaticValueType _Marshaller_Auktion_VersteigerungsFabrik::create() const
{
1974 return (StaticValueType) new _MICO_T( 0 );
1975 }
1976
1977 void _Marshaller_Auktion_VersteigerungsFabrik::assign( StaticValueType d, const StaticValueType s ) const
{
1978 *(_MICO_T*) d = ::Auktion::VersteigerungsFabrik::_duplicate( *(_MICO_T*) s );
1979 }
1980
1981 void _Marshaller_Auktion_VersteigerungsFabrik::free( StaticValueType v ) const
{
1982 ::CORBA::release( *(_MICO_T *) v );
1983 delete (_MICO_T*) v;
1984 }
1985
1986 void _Marshaller_Auktion_VersteigerungsFabrik::release( StaticValueType v ) const
{
1987 ::CORBA::release( *(_MICO_T *) v );
1988 }
1989
1990 ::CORBA::Boolean _Marshaller_Auktion_VersteigerungsFabrik::demarshal( ::CORBA::DataDecoder &dc, StaticValueType v ) const
{
1991 ::CORBA::Object_ptr obj;
1992 if (!::CORBA::_stc_Object->demarshal(dc, &obj))
1993 return FALSE;
1994 *(_MICO_T *) v = ::Auktion::VersteigerungsFabrik::_narrow( obj );
1995 ::CORBA::Boolean ret = ::CORBA::is_nil (obj) || !::CORBA::is_nil (*(_MICO_T *)v);
1996 ::CORBA::release (obj);
1997 return ret;
1998 }
1999
2000 void _Marshaller_Auktion_VersteigerungsFabrik::marshal( ::CORBA::DataEncoder &ec, StaticValueType v ) const
{
2001 ::CORBA::Object_ptr obj = *(_MICO_T *) v;
2002 ::CORBA::_stc_Object->marshal( ec, &obj );
2003 }
2004
2005 ::CORBA::StaticTypeInfo *_marshaller_Auktion_VersteigerungsFabrik;
2006
2007
2008
2009
2010 Auktion::VersteigerungsFabrik_stub::~VersteigerungsFabrik_stub()
2011 {
2012 }
2013
2014 #ifndef MICO_CONF_NO_POA
2015
2016 void *
2017 POA_Auktion::VersteigerungsFabrik::_narrow_helper (const char * repoid)
2018 {
2019 if (strcmp (repoid, "IDL:r4/Auktion/VersteigerungsFabrik:1.0") == 0) {
2020 return (void *) this;
2021 }
2022 return NULL;
2023 }
2024
2025 POA_Auktion::VersteigerungsFabrik *
2026 POA_Auktion::VersteigerungsFabrik::_narrow (PortableServer::Servant serv)
2027 {
2028 void * p;
2029 if ((p = serv->_narrow_helper ("IDL:r4/Auktion/VersteigerungsFabrik:1.0")) != NULL) {
2030 serv->_add_ref ();
2031 return (POA_Auktion::VersteigerungsFabrik *) p;
2032 }
2033 return NULL;
2034 }
2035
2036 Auktion::VersteigerungsFabrik_stub_clp::VersteigerungsFabrik_stub_clp ()
2037 {
2038 }
2039
2040 Auktion::VersteigerungsFabrik_stub_clp::VersteigerungsFabrik_stub_clp (PortableServer::POA_ptr poa, CORBA::Object_ptr obj)
2041 : CORBA::Object(*obj), PortableServer::StubBase(poa)
2042 {
2043 }
2044
2045 Auktion::VersteigerungsFabrik_stub_clp::~VersteigerungsFabrik_stub_clp ()
2046 {
2047 }
2048
2049 #endif // MICO_CONF_NO_POA
2050
2051 Auktion::Versteigerung_ptr Auktion::VersteigerungsFabrik_stub::neue_auktion( const char* _par_name, CORBA::Long _par_minimalgebot, Auktion::Verkaeufer_ptr _par_besitzer )
2052 {
2053 CORBA::StaticAny _sa_name( CORBA::_stc_string, &_par_name );
2054 CORBA::StaticAny _sa_minimalgebot( CORBA::_stc_long, &_par_minimalgebot );
2055 CORBA::StaticAny _sa_besitzer( _marshaller_Auktion_Verkaeufer, &_par_besitzer );
2056 Auktion::Versteigerung_ptr _res;
2057 CORBA::StaticAny __res( _marshaller_Auktion_Versteigerung, &_res );
2058
2059 CORBA::StaticRequest __req( this, "neue_auktion" );
2060 __req.add_in_arg( &_sa_name );
2061 __req.add_in_arg( &_sa_minimalgebot );
2062 __req.add_in_arg( &_sa_besitzer );
2063 __req.set_result( &__res );
2064
2065 __req.invoke();
2066
2067 mico_sii_throw( &__req,
2068 0);
2069 return _res;
2070 }
2071
2072
2073 #ifndef MICO_CONF_NO_POA
2074
2075 Auktion::Versteigerung_ptr
Auktion::VersteigerungsFabrik_stub_clp::neue_auktion( const char* _par_name, CORBA::Long _par_minimalgebot, Auktion::Verkaeufer_ptr _par_besitzer )
2076 {
2077 PortableServer::Servant _serv = _preinvoke ();
2078 if (_serv) {
2079 POA_Auktion::VersteigerungsFabrik * _myserv = POA_Auktion::VersteigerungsFabrik::_narrow (_serv);
2080 if (_myserv) {
2081 Auktion::Versteigerung_ptr __res;
2082
2083 #ifdef HAVE_EXCEPTIONS
2084 try {
2085 #endif
2086 __res = _myserv->neue_auktion(_par_name, _par_minimalgebot, _par_besitzer);
2087 #ifdef HAVE_EXCEPTIONS
2088 }
2089 catch (...) {
2090 _myserv->_remove_ref();
2091 _postinvoke();
2092 throw;
2093 }
2094 #endif
2095
2096 _myserv->_remove_ref();
2097 _postinvoke ();
2098 return __res;
2099 }
2100 _postinvoke ();
2101 }
2102
2103 return Auktion::VersteigerungsFabrik_stub::neue_auktion(_par_name, _par_minimalgebot, _par_besitzer);
2104 }
2105
2106 #endif // MICO_CONF_NO_POA
2107
2108
2109
2110
2111 Auktion::CCM_VersteigerungsFabrik::~CCM_VersteigerungsFabrik()
2112 {
2113 }
2114
2115 void *
2116 Auktion::CCM_VersteigerungsFabrik::_narrow_helper( const char *_repoid )
2117 {
2118 if( strcmp( _repoid, "IDL:r4/Auktion/CCM_VersteigerungsFabrik:1.0" ) == 0 )
2119 return (void *)this;
2120 {
2121 void *_p;
2122 if ((_p = Auktion::VersteigerungsFabrik::_narrow_helper( _repoid )))
2123 return _p;
2124 }
2125 {
2126 void *_p;
2127 if ((_p = ::CORBA::LocalObject::_narrow_helper (_repoid)))
2128 return _p;
2129 }
2130 return NULL;
2131 }
2132
2133 Auktion::CCM_VersteigerungsFabrik_ptr
Auktion::CCM_VersteigerungsFabrik::_narrow( CORBA::Object_ptr _obj )
2134 {
2135 if( !CORBA::is_nil( _obj ) ) {
2136 void *_p;
2137 if( (_p = _obj->_narrow_helper( "IDL:r4/Auktion/CCM_VersteigerungsFabrik:1.0" )))
2138 return _duplicate( (Auktion::CCM_VersteigerungsFabrik_ptr) _p );
2139 }
2140 return _nil();
2141 }
2142
2143 Auktion::CCM_VersteigerungsFabrik_ptr
Auktion::CCM_VersteigerungsFabrik::_narrow( CORBA::AbstractBase_ptr _obj )
2144 {
2145 return _narrow (_obj->_to_object());
2146 }
2147
2148
2149
2150
2151 Auktion::Kauf::Kauf ()
2152 {
2153 }
2154
2155 Auktion::Kauf::~Kauf ()
2156 {
2157 }
2158
2159 void *
2160 Auktion::Kauf::_narrow_helper (const char * repoid)
2161 {
2162 void * p;
2163 if (strcmp (repoid, "IDL:r4/Auktion/Kauf:1.0") == 0) {
2164 return (void *) this;
2165 }
2166 if ((p = Auktion::Gebot::_narrow_helper (repoid)) != NULL) {
2167 return p;
2168 }
2169 return NULL;
2170 }
2171
2172 Auktion::Kauf *
2173 Auktion::Kauf::_downcast (CORBA::ValueBase * vb)
2174 {
2175 void * p;
2176 if (vb && ((p = vb->_narrow_helper ("IDL:r4/Auktion/Kauf:1.0")))) {
2177 return (Auktion::Kauf *) p;
2178 }
2179 return 0;
2180 }
2181
2182 Auktion::Kauf *
2183 Auktion::Kauf::_downcast (CORBA::AbstractBase * vb)
2184 {
2185 return _downcast (vb->_to_value());
2186 }
2187
2188 CORBA::ValueDef_ptr
Auktion::Kauf::get_value_def ()
2189 {
2190 CORBA::ORB_var orb = CORBA::ORB_instance ("mico-local-orb");
2191 CORBA::Object_var irobj =
2192 orb->resolve_initial_references ("InterfaceRepository");
2193 CORBA::Repository_var ifr = CORBA::Repository::_narrow (irobj);
2194 if (CORBA::is_nil (ifr)) {
2195 return CORBA::ValueDef::_nil ();
2196 }
2197
2198 CORBA::Contained_var cv = ifr->lookup_id ("IDL:r4/Auktion/Kauf:1.0");
2199 return CORBA::ValueDef::_narrow (cv);
2200 }
2201
2202 void
Auktion::Kauf::_copy_members (const Kauf& other)
2203 {
2204 kaeufer (other.kaeufer());
2205 }
2206
2207 CORBA::ValueBase *
2208 Auktion::Kauf::_copy_value ()
2209 {
2210 vector<string> _dummy;
2211 string _repo_id = "IDL:r4/Auktion/Kauf:1.0";
2212 Kauf * _res = _downcast (_create (_dummy, _repo_id));
2213 assert (_res != 0);
2214 _res->Auktion::Gebot::_copy_members (*this);
2215 _res->_copy_members (*this);
2216 return _res;
2217 }
2218
2219 void
Auktion::Kauf::_get_marshal_info (vector<string> & repoids, CORBA::Boolean & chunked)
2220 {
2221 repoids.push_back ("IDL:r4/Auktion/Kauf:1.0");
2222 chunked = FALSE;
2223 }
2224
2225 void
Auktion::Kauf::_marshal_members (CORBA::DataEncoder &ec)
2226 {
2227 Auktion::Gebot::_marshal_members (ec);
2228 Auktion::Kaeufer_ptr _kaeufer = kaeufer ();
2229 _marshaller_Auktion_Kaeufer->marshal (ec, &_kaeufer);
2230 }
2231
2232 CORBA::Boolean
Auktion::Kauf::_demarshal_members (CORBA::DataDecoder &dc)
2233 {
2234 if (!Auktion::Gebot::_demarshal_members (dc)) {
2235 return FALSE;
2236 }
2237 Auktion::Kaeufer_var _kaeufer;
2238 if (!_marshaller_Auktion_Kaeufer->demarshal (dc, &_kaeufer._for_demarshal())) {
2239 return FALSE;
2240 }
2241 kaeufer (_kaeufer);
2242 return TRUE;
2243 }
2244
2245
2246 class _Marshaller_Auktion_Kauf : public ::CORBA::StaticTypeInfo {
2247 typedef Auktion::Kauf* _MICO_T;
2248 public:
2249 StaticValueType create () const;
2250 void assign (StaticValueType dst, const StaticValueType src) const;
2251 void free (StaticValueType) const;
2252 ::CORBA::Boolean demarshal (::CORBA::DataDecoder&, StaticValueType) const;
2253 void marshal (::CORBA::DataEncoder &, StaticValueType) const;
2254 };
2255
2256
2257 ::CORBA::StaticValueType _Marshaller_Auktion_Kauf::create() const
{
2258 return (StaticValueType) new _MICO_T( 0 );
2259 }
2260
2261 void _Marshaller_Auktion_Kauf::assign( StaticValueType d, const StaticValueType s ) const
{
2262 ::CORBA::remove_ref (*(_MICO_T*)d);
2263 ::CORBA::add_ref (*(_MICO_T*)s);
2264 *(_MICO_T*) d = *(_MICO_T*) s;
2265 }
2266
2267 void _Marshaller_Auktion_Kauf::free( StaticValueType v ) const
{
2268 ::CORBA::remove_ref (*(_MICO_T*)v);
2269 delete (_MICO_T*) v;
2270 }
2271
2272 ::CORBA::Boolean _Marshaller_Auktion_Kauf::demarshal( ::CORBA::DataDecoder &dc, StaticValueType v ) const
{
2273 ::CORBA::ValueBase* vb = NULL;
2274 if (!::CORBA::ValueBase::_demarshal (dc, vb, "IDL:r4/Auktion/Kauf:1.0")) {
2275 return FALSE;
2276 }
2277 *(_MICO_T *)v = ::Auktion::Kauf::_downcast (vb);
2278 if (vb && !*(_MICO_T *)v) {
2279 ::CORBA::remove_ref (vb);
2280 return FALSE;
2281 }
2282 return TRUE;
2283 }
2284
2285 void _Marshaller_Auktion_Kauf::marshal( ::CORBA::DataEncoder &ec, StaticValueType v ) const
{
2286 ::CORBA::ValueBase::_marshal (ec, *(_MICO_T *)v);
2287 }
2288
2289 ::CORBA::StaticTypeInfo *_marshaller_Auktion_Kauf;
2290
2291
2292
2293 OBV_Auktion::Kauf::Kauf ()
2294 {
2295 }
2296
2297 OBV_Auktion::Kauf::Kauf (::Auktion::Kaeufer_ptr _kaeufer)
2298 {
2299 _m.kaeufer = ::Auktion::Kaeufer::_duplicate( _kaeufer );
2300 }
2301
2302 OBV_Auktion::Kauf::~Kauf ()
2303 {
2304 }
2305
2306 void OBV_Auktion::Kauf::kaeufer( ::Auktion::Kaeufer_ptr _p )
2307 {
2308 _m.kaeufer = ::Auktion::Kaeufer::_duplicate( _p );
2309 }
2310
2311 ::Auktion::Kaeufer_ptr OBV_Auktion::Kauf::kaeufer() const
{
2312 return _m.kaeufer.in();
2313 }
2314
2315
2316
2317
2318 Auktion::KaufConsumer::~KaufConsumer()
2319 {
2320 }
2321
2322 void *
2323 Auktion::KaufConsumer::_narrow_helper( const char *_repoid )
2324 {
2325 if( strcmp( _repoid, "IDL:r4/Auktion/KaufConsumer:1.0" ) == 0 )
2326 return (void *)this;
2327 {
2328 void *_p;
2329 if ((_p = Components::EventConsumerBase::_narrow_helper( _repoid )))
2330 return _p;
2331 }
2332 return NULL;
2333 }
2334
2335 Auktion::KaufConsumer_ptr
Auktion::KaufConsumer::_narrow( CORBA::Object_ptr _obj )
2336 {
2337 Auktion::KaufConsumer_ptr _o;
2338 if( !CORBA::is_nil( _obj ) ) {
2339 void *_p;
2340 if( (_p = _obj->_narrow_helper( "IDL:r4/Auktion/KaufConsumer:1.0" )))
2341 return _duplicate( (Auktion::KaufConsumer_ptr) _p );
2342 if (!strcmp (_obj->_repoid(), "IDL:r4/Auktion/KaufConsumer:1.0") || _obj->_is_a_remote ("IDL:r4/Auktion/KaufConsumer:1.0")) {
2343 _o = new Auktion::KaufConsumer_stub;
2344 _o->CORBA::Object::operator=( *_obj );
2345 return _o;
2346 }
2347 }
2348 return _nil();
2349 }
2350
2351 Auktion::KaufConsumer_ptr
Auktion::KaufConsumer::_narrow( CORBA::AbstractBase_ptr _obj )
2352 {
2353 return _narrow (_obj->_to_object());
2354 }
2355
2356 class _Marshaller_Auktion_KaufConsumer : public ::CORBA::StaticTypeInfo {
2357 typedef Auktion::KaufConsumer_ptr _MICO_T;
2358 public:
2359 StaticValueType create () const;
2360 void assign (StaticValueType dst, const StaticValueType src) const;
2361 void free (StaticValueType) const;
2362 void release (StaticValueType) const;
2363 ::CORBA::Boolean demarshal (::CORBA::DataDecoder&, StaticValueType) const;
2364 void marshal (::CORBA::DataEncoder &, StaticValueType) const;
2365 };
2366
2367
2368 ::CORBA::StaticValueType _Marshaller_Auktion_KaufConsumer::create() const
{
2369 return (StaticValueType) new _MICO_T( 0 );
2370 }
2371
2372 void _Marshaller_Auktion_KaufConsumer::assign( StaticValueType d, const StaticValueType s ) const
{
2373 *(_MICO_T*) d = ::Auktion::KaufConsumer::_duplicate( *(_MICO_T*) s );
2374 }
2375
2376 void _Marshaller_Auktion_KaufConsumer::free( StaticValueType v ) const
{
2377 ::CORBA::release( *(_MICO_T *) v );
2378 delete (_MICO_T*) v;
2379 }
2380
2381 void _Marshaller_Auktion_KaufConsumer::release( StaticValueType v ) const
{
2382 ::CORBA::release( *(_MICO_T *) v );
2383 }
2384
2385 ::CORBA::Boolean _Marshaller_Auktion_KaufConsumer::demarshal( ::CORBA::DataDecoder &dc, StaticValueType v ) const
{
2386 ::CORBA::Object_ptr obj;
2387 if (!::CORBA::_stc_Object->demarshal(dc, &obj))
2388 return FALSE;
2389 *(_MICO_T *) v = ::Auktion::KaufConsumer::_narrow( obj );
2390 ::CORBA::Boolean ret = ::CORBA::is_nil (obj) || !::CORBA::is_nil (*(_MICO_T *)v);
2391 ::CORBA::release (obj);
2392 return ret;
2393 }
2394
2395 void _Marshaller_Auktion_KaufConsumer::marshal( ::CORBA::DataEncoder &ec, StaticValueType v ) const
{
2396 ::CORBA::Object_ptr obj = *(_MICO_T *) v;
2397 ::CORBA::_stc_Object->marshal( ec, &obj );
2398 }
2399
2400 ::CORBA::StaticTypeInfo *_marshaller_Auktion_KaufConsumer;
2401
2402
2403
2404
2405 Auktion::KaufConsumer_stub::~KaufConsumer_stub()
2406 {
2407 }
2408
2409 #ifndef MICO_CONF_NO_POA
2410
2411 void *
2412 POA_Auktion::KaufConsumer::_narrow_helper (const char * repoid)
2413 {
2414 void * p;
2415 if (strcmp (repoid, "IDL:r4/Auktion/KaufConsumer:1.0") == 0) {
2416 return (void *) this;
2417 }
2418 if ((p = POA_Components::EventConsumerBase::_narrow_helper (repoid)) != NULL)
2419 {
2420 return p;
2421 }
2422 return NULL;
2423 }
2424
2425 POA_Auktion::KaufConsumer *
2426 POA_Auktion::KaufConsumer::_narrow (PortableServer::Servant serv)
2427 {
2428 void * p;
2429 if ((p = serv->_narrow_helper ("IDL:r4/Auktion/KaufConsumer:1.0")) != NULL) {
2430 serv->_add_ref ();
2431 return (POA_Auktion::KaufConsumer *) p;
2432 }
2433 return NULL;
2434 }
2435
2436 Auktion::KaufConsumer_stub_clp::KaufConsumer_stub_clp ()
2437 {
2438 }
2439
2440 Auktion::KaufConsumer_stub_clp::KaufConsumer_stub_clp (PortableServer::POA_ptr poa, CORBA::Object_ptr obj)
2441 : CORBA::Object(*obj), PortableServer::StubBase(poa)
2442 {
2443 }
2444
2445 Auktion::KaufConsumer_stub_clp::~KaufConsumer_stub_clp ()
2446 {
2447 }
2448
2449 #endif // MICO_CONF_NO_POA
2450
2451 void Auktion::KaufConsumer_stub::push_Kauf( Auktion::Kauf* _par_event )
2452 {
2453 CORBA::StaticAny _sa_event( _marshaller_Auktion_Kauf, &_par_event );
2454 CORBA::StaticRequest __req( this, "push_Kauf" );
2455 __req.add_in_arg( &_sa_event );
2456
2457 __req.invoke();
2458
2459 mico_sii_throw( &__req,
2460 0);
2461 }
2462
2463
2464 #ifndef MICO_CONF_NO_POA
2465
2466 void
Auktion::KaufConsumer_stub_clp::push_Kauf( Auktion::Kauf* _par_event )
2467 {
2468 PortableServer::Servant _serv = _preinvoke ();
2469 if (_serv) {
2470 POA_Auktion::KaufConsumer * _myserv = POA_Auktion::KaufConsumer::_narrow (_serv);
2471 if (_myserv) {
2472 Auktion::Kauf* _copy_of_par_event;
2473 _copy_of_par_event = Auktion::Kauf::_downcast (_par_event->_copy_value());
2474 #ifdef HAVE_EXCEPTIONS
2475 try {
2476 #endif
2477 _myserv->push_Kauf(_copy_of_par_event);
2478 #ifdef HAVE_EXCEPTIONS
2479 }
2480 catch (...) {
2481 _myserv->_remove_ref();
2482 _postinvoke();
2483 throw;
2484 }
2485 #endif
2486
2487 _myserv->_remove_ref();
2488 _postinvoke ();
2489 CORBA::remove_ref (_copy_of_par_event);
2490 return;
2491 }
2492 _postinvoke ();
2493 }
2494
2495 Auktion::KaufConsumer_stub::push_Kauf(_par_event);
2496 }
2497
2498 #endif // MICO_CONF_NO_POA
2499
2500
2501
2502
2503 Auktion::CCM_KaufConsumer::~CCM_KaufConsumer()
2504 {
2505 }
2506
2507 void *
2508 Auktion::CCM_KaufConsumer::_narrow_helper( const char *_repoid )
2509 {
2510 if( strcmp( _repoid, "IDL:r4/Auktion/CCM_KaufConsumer:1.0" ) == 0 )
2511 return (void *)this;
2512 {
2513 void *_p;
2514 if ((_p = ::CORBA::LocalObject::_narrow_helper (_repoid)))
2515 return _p;
2516 }
2517 return NULL;
2518 }
2519
2520 Auktion::CCM_KaufConsumer_ptr
Auktion::CCM_KaufConsumer::_narrow( CORBA::Object_ptr _obj )
2521 {
2522 if( !CORBA::is_nil( _obj ) ) {
2523 void *_p;
2524 if( (_p = _obj->_narrow_helper( "IDL:r4/Auktion/CCM_KaufConsumer:1.0" )))
2525 return _duplicate( (Auktion::CCM_KaufConsumer_ptr) _p );
2526 }
2527 return _nil();
2528 }
2529
2530 Auktion::CCM_KaufConsumer_ptr
Auktion::CCM_KaufConsumer::_narrow( CORBA::AbstractBase_ptr _obj )
2531 {
2532 return _narrow (_obj->_to_object());
2533 }
2534
2535
2536
2537
2538
2539 Auktion::Auktionshaus::~Auktionshaus()
2540 {
2541 }
2542
2543 void *
2544 Auktion::Auktionshaus::_narrow_helper( const char *_repoid )
2545 {
2546 if( strcmp( _repoid, "IDL:r4/Auktion/Auktionshaus:1.0" ) == 0 )
2547 return (void *)this;
2548 {
2549 void *_p;
2550 if ((_p = Components::CCMObject::_narrow_helper( _repoid )))
2551 return _p;
2552 }
2553 return NULL;
2554 }
2555
2556 Auktion::Auktionshaus_ptr
Auktion::Auktionshaus::_narrow( CORBA::Object_ptr _obj )
2557 {
2558 Auktion::Auktionshaus_ptr _o;
2559 if( !CORBA::is_nil( _obj ) ) {
2560 void *_p;
2561 if( (_p = _obj->_narrow_helper( "IDL:r4/Auktion/Auktionshaus:1.0" )))
2562 return _duplicate( (Auktion::Auktionshaus_ptr) _p );
2563 if (!strcmp (_obj->_repoid(), "IDL:r4/Auktion/Auktionshaus:1.0") || _obj->_is_a_remote ("IDL:r4/Auktion/Auktionshaus:1.0")) {
2564 _o = new Auktion::Auktionshaus_stub;
2565 _o->CORBA::Object::operator=( *_obj );
2566 return _o;
2567 }
2568 }
2569 return _nil();
2570 }
2571
2572 Auktion::Auktionshaus_ptr
Auktion::Auktionshaus::_narrow( CORBA::AbstractBase_ptr _obj )
2573 {
2574 return _narrow (_obj->_to_object());
2575 }
2576
2577 class _Marshaller_Auktion_Auktionshaus : public ::CORBA::StaticTypeInfo {
2578 typedef Auktion::Auktionshaus_ptr _MICO_T;
2579 public:
2580 StaticValueType create () const;
2581 void assign (StaticValueType dst, const StaticValueType src) const;
2582 void free (StaticValueType) const;
2583 void release (StaticValueType) const;
2584 ::CORBA::Boolean demarshal (::CORBA::DataDecoder&, StaticValueType) const;
2585 void marshal (::CORBA::DataEncoder &, StaticValueType) const;
2586 };
2587
2588
2589 ::CORBA::StaticValueType _Marshaller_Auktion_Auktionshaus::create() const
{
2590 return (StaticValueType) new _MICO_T( 0 );
2591 }
2592
2593 void _Marshaller_Auktion_Auktionshaus::assign( StaticValueType d, const StaticValueType s ) const
{
2594 *(_MICO_T*) d = ::Auktion::Auktionshaus::_duplicate( *(_MICO_T*) s );
2595 }
2596
2597 void _Marshaller_Auktion_Auktionshaus::free( StaticValueType v ) const
{
2598 ::CORBA::release( *(_MICO_T *) v );
2599 delete (_MICO_T*) v;
2600 }
2601
2602 void _Marshaller_Auktion_Auktionshaus::release( StaticValueType v ) const
{
2603 ::CORBA::release( *(_MICO_T *) v );
2604 }
2605
2606 ::CORBA::Boolean _Marshaller_Auktion_Auktionshaus::demarshal( ::CORBA::DataDecoder &dc, StaticValueType v ) const
{
2607 ::CORBA::Object_ptr obj;
2608 if (!::CORBA::_stc_Object->demarshal(dc, &obj))
2609 return FALSE;
2610 *(_MICO_T *) v = ::Auktion::Auktionshaus::_narrow( obj );
2611 ::CORBA::Boolean ret = ::CORBA::is_nil (obj) || !::CORBA::is_nil (*(_MICO_T *)v);
2612 ::CORBA::release (obj);
2613 return ret;
2614 }
2615
2616 void _Marshaller_Auktion_Auktionshaus::marshal( ::CORBA::DataEncoder &ec, StaticValueType v ) const
{
2617 ::CORBA::Object_ptr obj = *(_MICO_T *) v;
2618 ::CORBA::_stc_Object->marshal( ec, &obj );
2619 }
2620
2621 ::CORBA::StaticTypeInfo *_marshaller_Auktion_Auktionshaus;
2622
2623
2624
2625
2626 Auktion::Auktionshaus_stub::~Auktionshaus_stub()
2627 {
2628 }
2629
2630 #ifndef MICO_CONF_NO_POA
2631
2632 void *
2633 POA_Auktion::Auktionshaus::_narrow_helper (const char * repoid)
2634 {
2635 void * p;
2636 if (strcmp (repoid, "IDL:r4/Auktion/Auktionshaus:1.0") == 0) {
2637 return (void *) this;
2638 }
2639 if ((p = POA_Components::CCMObject::_narrow_helper (repoid)) != NULL)
2640 {
2641 return p;
2642 }
2643 return NULL;
2644 }
2645
2646 POA_Auktion::Auktionshaus *
2647 POA_Auktion::Auktionshaus::_narrow (PortableServer::Servant serv)
2648 {
2649 void * p;
2650 if ((p = serv->_narrow_helper ("IDL:r4/Auktion/Auktionshaus:1.0")) != NULL) {
2651 serv->_add_ref ();
2652 return (POA_Auktion::Auktionshaus *) p;
2653 }
2654 return NULL;
2655 }
2656
2657 Auktion::Auktionshaus_stub_clp::Auktionshaus_stub_clp ()
2658 {
2659 }
2660
2661 Auktion::Auktionshaus_stub_clp::Auktionshaus_stub_clp (PortableServer::POA_ptr poa, CORBA::Object_ptr obj)
2662 : CORBA::Object(*obj), PortableServer::StubBase(poa)
2663 {
2664 }
2665
2666 Auktion::Auktionshaus_stub_clp::~Auktionshaus_stub_clp ()
2667 {
2668 }
2669
2670 #endif // MICO_CONF_NO_POA
2671
2672 Auktion::VersteigerungsFabrik_ptr Auktion::Auktionshaus_stub::provide_auktionen()
2673 {
2674 Auktion::VersteigerungsFabrik_ptr _res;
2675 CORBA::StaticAny __res( _marshaller_Auktion_VersteigerungsFabrik, &_res );
2676
2677 CORBA::StaticRequest __req( this, "provide_auktionen" );
2678 __req.set_result( &__res );
2679
2680 __req.invoke();
2681
2682 mico_sii_throw( &__req,
2683 0);
2684 return _res;
2685 }
2686
2687
2688 #ifndef MICO_CONF_NO_POA
2689
2690 Auktion::VersteigerungsFabrik_ptr
Auktion::Auktionshaus_stub_clp::provide_auktionen()
2691 {
2692 PortableServer::Servant _serv = _preinvoke ();
2693 if (_serv) {
2694 POA_Auktion::Auktionshaus * _myserv = POA_Auktion::Auktionshaus::_narrow (_serv);
2695 if (_myserv) {
2696 Auktion::VersteigerungsFabrik_ptr __res;
2697
2698 #ifdef HAVE_EXCEPTIONS
2699 try {
2700 #endif
2701 __res = _myserv->provide_auktionen();
2702 #ifdef HAVE_EXCEPTIONS
2703 }
2704 catch (...) {
2705 _myserv->_remove_ref();
2706 _postinvoke();
2707 throw;
2708 }
2709 #endif
2710
2711 _myserv->_remove_ref();
2712 _postinvoke ();
2713 return __res;
2714 }
2715 _postinvoke ();
2716 }
2717
2718 return Auktion::Auktionshaus_stub::provide_auktionen();
2719 }
2720
2721 #endif // MICO_CONF_NO_POA
2722
2723 Components::Cookie* Auktion::Auktionshaus_stub::subscribe_gebote( Auktion::GebotConsumer_ptr _par_consumer )
2724 {
2725 CORBA::StaticAny _sa_consumer( _marshaller_Auktion_GebotConsumer, &_par_consumer );
2726 Components::Cookie* _res;
2727 CORBA::StaticAny __res( _marshaller_Components_Cookie, &_res );
2728
2729 CORBA::StaticRequest __req( this, "subscribe_gebote" );
2730 __req.add_in_arg( &_sa_consumer );
2731 __req.set_result( &__res );
2732
2733 __req.invoke();
2734
2735 mico_sii_throw( &__req,
2736 0);
2737 return _res;
2738 }
2739
2740
2741 #ifndef MICO_CONF_NO_POA
2742
2743 Components::Cookie*
2744 Auktion::Auktionshaus_stub_clp::subscribe_gebote( Auktion::GebotConsumer_ptr _par_consumer )
2745 {
2746 PortableServer::Servant _serv = _preinvoke ();
2747 if (_serv) {
2748 POA_Auktion::Auktionshaus * _myserv = POA_Auktion::Auktionshaus::_narrow (_serv);
2749 if (_myserv) {
2750 Components::Cookie* __res;
2751
2752 #ifdef HAVE_EXCEPTIONS
2753 try {
2754 #endif
2755 __res = _myserv->subscribe_gebote(_par_consumer);
2756 #ifdef HAVE_EXCEPTIONS
2757 }
2758 catch (...) {
2759 _myserv->_remove_ref();
2760 _postinvoke();
2761 throw;
2762 }
2763 #endif
2764
2765 _myserv->_remove_ref();
2766 _postinvoke ();
2767 Components::Cookie* __res2 = Components::Cookie::_downcast (__res->_copy_value ());
2768 CORBA::remove_ref (__res);
2769 return __res2;
2770 }
2771 _postinvoke ();
2772 }
2773
2774 return Auktion::Auktionshaus_stub::subscribe_gebote(_par_consumer);
2775 }
2776
2777 #endif // MICO_CONF_NO_POA
2778
2779 Auktion::GebotConsumer_ptr Auktion::Auktionshaus_stub::unsubscribe_gebote( Components::Cookie* _par_ck )
2780 {
2781 CORBA::StaticAny _sa_ck( _marshaller_Components_Cookie, &_par_ck );
2782 Auktion::GebotConsumer_ptr _res;
2783 CORBA::StaticAny __res( _marshaller_Auktion_GebotConsumer, &_res );
2784
2785 CORBA::StaticRequest __req( this, "unsubscribe_gebote" );
2786 __req.add_in_arg( &_sa_ck );
2787 __req.set_result( &__res );
2788
2789 __req.invoke();
2790
2791 mico_sii_throw( &__req,
2792 0);
2793 return _res;
2794 }
2795
2796
2797 #ifndef MICO_CONF_NO_POA
2798
2799 Auktion::GebotConsumer_ptr
Auktion::Auktionshaus_stub_clp::unsubscribe_gebote( Components::Cookie* _par_ck )
2800 {
2801 PortableServer::Servant _serv = _preinvoke ();
2802 if (_serv) {
2803 POA_Auktion::Auktionshaus * _myserv = POA_Auktion::Auktionshaus::_narrow (_serv);
2804 if (_myserv) {
2805 Auktion::GebotConsumer_ptr __res;
2806
2807 Components::Cookie* _copy_of_par_ck;
2808 _copy_of_par_ck = Components::Cookie::_downcast (_par_ck->_copy_value());
2809 #ifdef HAVE_EXCEPTIONS
2810 try {
2811 #endif
2812 __res = _myserv->unsubscribe_gebote(_copy_of_par_ck);
2813 #ifdef HAVE_EXCEPTIONS
2814 }
2815 catch (...) {
2816 _myserv->_remove_ref();
2817 _postinvoke();
2818 throw;
2819 }
2820 #endif
2821
2822 _myserv->_remove_ref();
2823 _postinvoke ();
2824 CORBA::remove_ref (_copy_of_par_ck);
2825 return __res;
2826 }
2827 _postinvoke ();
2828 }
2829
2830 return Auktion::Auktionshaus_stub::unsubscribe_gebote(_par_ck);
2831 }
2832
2833 #endif // MICO_CONF_NO_POA
2834
2835
2836
2837
2838 Auktion::CCM_Auktionshaus::~CCM_Auktionshaus()
2839 {
2840 }
2841
2842 void *
2843 Auktion::CCM_Auktionshaus::_narrow_helper( const char *_repoid )
2844 {
2845 if( strcmp( _repoid, "IDL:r4/Auktion/CCM_Auktionshaus:1.0" ) == 0 )
2846 return (void *)this;
2847 {
2848 void *_p;
2849 if ((_p = Components::EnterpriseComponent::_narrow_helper( _repoid )))
2850 return _p;
2851 }
2852 return NULL;
2853 }
2854
2855 Auktion::CCM_Auktionshaus_ptr
Auktion::CCM_Auktionshaus::_narrow( CORBA::Object_ptr _obj )
2856 {
2857 if( !CORBA::is_nil( _obj ) ) {
2858 void *_p;
2859 if( (_p = _obj->_narrow_helper( "IDL:r4/Auktion/CCM_Auktionshaus:1.0" )))
2860 return _duplicate( (Auktion::CCM_Auktionshaus_ptr) _p );
2861 }
2862 return _nil();
2863 }
2864
2865 Auktion::CCM_Auktionshaus_ptr
Auktion::CCM_Auktionshaus::_narrow( CORBA::AbstractBase_ptr _obj )
2866 {
2867 return _narrow (_obj->_to_object());
2868 }
2869
2870
2871
2872
2873
2874 Auktion::CCM_Auktionshaus_Executor::~CCM_Auktionshaus_Executor()
2875 {
2876 }
2877
2878 void *
2879 Auktion::CCM_Auktionshaus_Executor::_narrow_helper( const char *_repoid )
2880 {
2881 if( strcmp( _repoid, "IDL:r4/Auktion/CCM_Auktionshaus_Executor:1.0" ) == 0 )
2882 return (void *)this;
2883 {
2884 void *_p;
2885 if ((_p = Components::EnterpriseComponent::_narrow_helper( _repoid )))
2886 return _p;
2887 }
2888 return NULL;
2889 }
2890
2891 Auktion::CCM_Auktionshaus_Executor_ptr
Auktion::CCM_Auktionshaus_Executor::_narrow( CORBA::Object_ptr _obj )
2892 {
2893 if( !CORBA::is_nil( _obj ) ) {
2894 void *_p;
2895 if( (_p = _obj->_narrow_helper( "IDL:r4/Auktion/CCM_Auktionshaus_Executor:1.0" )))
2896 return _duplicate( (Auktion::CCM_Auktionshaus_Executor_ptr) _p );
2897 }
2898 return _nil();
2899 }
2900
2901 Auktion::CCM_Auktionshaus_Executor_ptr
Auktion::CCM_Auktionshaus_Executor::_narrow( CORBA::AbstractBase_ptr _obj )
2902 {
2903 return _narrow (_obj->_to_object());
2904 }
2905
2906
2907
2908
2909
2910 Auktion::CCM_Auktionshaus_Context::~CCM_Auktionshaus_Context()
2911 {
2912 }
2913
2914 void *
2915 Auktion::CCM_Auktionshaus_Context::_narrow_helper( const char *_repoid )
2916 {
2917 if( strcmp( _repoid, "IDL:r4/Auktion/CCM_Auktionshaus_Context:1.0" ) == 0 )
2918 return (void *)this;
2919 {
2920 void *_p;
2921 if ((_p = Components::SessionContext::_narrow_helper( _repoid )))
2922 return _p;
2923 }
2924 return NULL;
2925 }
2926
2927 Auktion::CCM_Auktionshaus_Context_ptr
Auktion::CCM_Auktionshaus_Context::_narrow( CORBA::Object_ptr _obj )
2928 {
2929 if( !CORBA::is_nil( _obj ) ) {
2930 void *_p;
2931 if( (_p = _obj->_narrow_helper( "IDL:r4/Auktion/CCM_Auktionshaus_Context:1.0" )))
2932 return _duplicate( (Auktion::CCM_Auktionshaus_Context_ptr) _p );
2933 }
2934 return _nil();
2935 }
2936
2937 Auktion::CCM_Auktionshaus_Context_ptr
Auktion::CCM_Auktionshaus_Context::_narrow( CORBA::AbstractBase_ptr _obj )
2938 {
2939 return _narrow (_obj->_to_object());
2940 }
2941
2942
2943
2944
2945
2946 Auktion::WeltExplicit::~WeltExplicit()
2947 {
2948 }
2949
2950 void *
2951 Auktion::WeltExplicit::_narrow_helper( const char *_repoid )
2952 {
2953 if( strcmp( _repoid, "IDL:r4/Auktion/WeltExplicit:1.0" ) == 0 )
2954 return (void *)this;
2955 {
2956 void *_p;
2957 if ((_p = Components::CCMHome::_narrow_helper( _repoid )))
2958 return _p;
2959 }
2960 return NULL;
2961 }
2962
2963 Auktion::WeltExplicit_ptr
Auktion::WeltExplicit::_narrow( CORBA::Object_ptr _obj )
2964 {
2965 Auktion::WeltExplicit_ptr _o;
2966 if( !CORBA::is_nil( _obj ) ) {
2967 void *_p;
2968 if( (_p = _obj->_narrow_helper( "IDL:r4/Auktion/WeltExplicit:1.0" )))
2969 return _duplicate( (Auktion::WeltExplicit_ptr) _p );
2970 if (!strcmp (_obj->_repoid(), "IDL:r4/Auktion/WeltExplicit:1.0") || _obj->_is_a_remote ("IDL:r4/Auktion/WeltExplicit:1.0")) {
2971 _o = new Auktion::WeltExplicit_stub;
2972 _o->CORBA::Object::operator=( *_obj );
2973 return _o;
2974 }
2975 }
2976 return _nil();
2977 }
2978
2979 Auktion::WeltExplicit_ptr
Auktion::WeltExplicit::_narrow( CORBA::AbstractBase_ptr _obj )
2980 {
2981 return _narrow (_obj->_to_object());
2982 }
2983
2984 class _Marshaller_Auktion_WeltExplicit : public ::CORBA::StaticTypeInfo {
2985 typedef Auktion::WeltExplicit_ptr _MICO_T;
2986 public:
2987 StaticValueType create () const;
2988 void assign (StaticValueType dst, const StaticValueType src) const;
2989 void free (StaticValueType) const;
2990 void release (StaticValueType) const;
2991 ::CORBA::Boolean demarshal (::CORBA::DataDecoder&, StaticValueType) const;
2992 void marshal (::CORBA::DataEncoder &, StaticValueType) const;
2993 };
2994
2995
2996 ::CORBA::StaticValueType _Marshaller_Auktion_WeltExplicit::create() const
{
2997 return (StaticValueType) new _MICO_T( 0 );
2998 }
2999
3000 void _Marshaller_Auktion_WeltExplicit::assign( StaticValueType d, const StaticValueType s ) const
{
3001 *(_MICO_T*) d = ::Auktion::WeltExplicit::_duplicate( *(_MICO_T*) s );
3002 }
3003
3004 void _Marshaller_Auktion_WeltExplicit::free( StaticValueType v ) const
{
3005 ::CORBA::release( *(_MICO_T *) v );
3006 delete (_MICO_T*) v;
3007 }
3008
3009 void _Marshaller_Auktion_WeltExplicit::release( StaticValueType v ) const
{
3010 ::CORBA::release( *(_MICO_T *) v );
3011 }
3012
3013 ::CORBA::Boolean _Marshaller_Auktion_WeltExplicit::demarshal( ::CORBA::DataDecoder &dc, StaticValueType v ) const
{
3014 ::CORBA::Object_ptr obj;
3015 if (!::CORBA::_stc_Object->demarshal(dc, &obj))
3016 return FALSE;
3017 *(_MICO_T *) v = ::Auktion::WeltExplicit::_narrow( obj );
3018 ::CORBA::Boolean ret = ::CORBA::is_nil (obj) || !::CORBA::is_nil (*(_MICO_T *)v);
3019 ::CORBA::release (obj);
3020 return ret;
3021 }
3022
3023 void _Marshaller_Auktion_WeltExplicit::marshal( ::CORBA::DataEncoder &ec, StaticValueType v ) const
{
3024 ::CORBA::Object_ptr obj = *(_MICO_T *) v;
3025 ::CORBA::_stc_Object->marshal( ec, &obj );
3026 }
3027
3028 ::CORBA::StaticTypeInfo *_marshaller_Auktion_WeltExplicit;
3029
3030
3031
3032
3033 Auktion::WeltExplicit_stub::~WeltExplicit_stub()
3034 {
3035 }
3036
3037 #ifndef MICO_CONF_NO_POA
3038
3039 void *
3040 POA_Auktion::WeltExplicit::_narrow_helper (const char * repoid)
3041 {
3042 void * p;
3043 if (strcmp (repoid, "IDL:r4/Auktion/WeltExplicit:1.0") == 0) {
3044 return (void *) this;
3045 }
3046 if ((p = POA_Components::CCMHome::_narrow_helper (repoid)) != NULL)
3047 {
3048 return p;
3049 }
3050 return NULL;
3051 }
3052
3053 POA_Auktion::WeltExplicit *
3054 POA_Auktion::WeltExplicit::_narrow (PortableServer::Servant serv)
3055 {
3056 void * p;
3057 if ((p = serv->_narrow_helper ("IDL:r4/Auktion/WeltExplicit:1.0")) != NULL) {
3058 serv->_add_ref ();
3059 return (POA_Auktion::WeltExplicit *) p;
3060 }
3061 return NULL;
3062 }
3063
3064 Auktion::WeltExplicit_stub_clp::WeltExplicit_stub_clp ()
3065 {
3066 }
3067
3068 Auktion::WeltExplicit_stub_clp::WeltExplicit_stub_clp (PortableServer::POA_ptr poa, CORBA::Object_ptr obj)
3069 : CORBA::Object(*obj), PortableServer::StubBase(poa)
3070 {
3071 }
3072
3073 Auktion::WeltExplicit_stub_clp::~WeltExplicit_stub_clp ()
3074 {
3075 }
3076
3077 #endif // MICO_CONF_NO_POA
3078
3079
3080
3081
3082 Auktion::WeltImplicit::~WeltImplicit()
3083 {
3084 }
3085
3086 void *
3087 Auktion::WeltImplicit::_narrow_helper( const char *_repoid )
3088 {
3089 if( strcmp( _repoid, "IDL:r4/Auktion/WeltImplicit:1.0" ) == 0 )
3090 return (void *)this;
3091 {
3092 void *_p;
3093 if ((_p = Components::KeylessCCMHome::_narrow_helper( _repoid )))
3094 return _p;
3095 }
3096 return NULL;
3097 }
3098
3099 Auktion::WeltImplicit_ptr
Auktion::WeltImplicit::_narrow( CORBA::Object_ptr _obj )
3100 {
3101 Auktion::WeltImplicit_ptr _o;
3102 if( !CORBA::is_nil( _obj ) ) {
3103 void *_p;
3104 if( (_p = _obj->_narrow_helper( "IDL:r4/Auktion/WeltImplicit:1.0" )))
3105 return _duplicate( (Auktion::WeltImplicit_ptr) _p );
3106 if (!strcmp (_obj->_repoid(), "IDL:r4/Auktion/WeltImplicit:1.0") || _obj->_is_a_remote ("IDL:r4/Auktion/WeltImplicit:1.0")) {
3107 _o = new Auktion::WeltImplicit_stub;
3108 _o->CORBA::Object::operator=( *_obj );
3109 return _o;
3110 }
3111 }
3112 return _nil();
3113 }
3114
3115 Auktion::WeltImplicit_ptr
Auktion::WeltImplicit::_narrow( CORBA::AbstractBase_ptr _obj )
3116 {
3117 return _narrow (_obj->_to_object());
3118 }
3119
3120 class _Marshaller_Auktion_WeltImplicit : public ::CORBA::StaticTypeInfo {
3121 typedef Auktion::WeltImplicit_ptr _MICO_T;
3122 public:
3123 StaticValueType create () const;
3124 void assign (StaticValueType dst, const StaticValueType src) const;
3125 void free (StaticValueType) const;
3126 void release (StaticValueType) const;
3127 ::CORBA::Boolean demarshal (::CORBA::DataDecoder&, StaticValueType) const;
3128 void marshal (::CORBA::DataEncoder &, StaticValueType) const;
3129 };
3130
3131
3132 ::CORBA::StaticValueType _Marshaller_Auktion_WeltImplicit::create() const
{
3133 return (StaticValueType) new _MICO_T( 0 );
3134 }
3135
3136 void _Marshaller_Auktion_WeltImplicit::assign( StaticValueType d, const StaticValueType s ) const
{
3137 *(_MICO_T*) d = ::Auktion::WeltImplicit::_duplicate( *(_MICO_T*) s );
3138 }
3139
3140 void _Marshaller_Auktion_WeltImplicit::free( StaticValueType v ) const
{
3141 ::CORBA::release( *(_MICO_T *) v );
3142 delete (_MICO_T*) v;
3143 }
3144
3145 void _Marshaller_Auktion_WeltImplicit::release( StaticValueType v ) const
{
3146 ::CORBA::release( *(_MICO_T *) v );
3147 }
3148
3149 ::CORBA::Boolean _Marshaller_Auktion_WeltImplicit::demarshal( ::CORBA::DataDecoder &dc, StaticValueType v ) const
{
3150 ::CORBA::Object_ptr obj;
3151 if (!::CORBA::_stc_Object->demarshal(dc, &obj))
3152 return FALSE;
3153 *(_MICO_T *) v = ::Auktion::WeltImplicit::_narrow( obj );
3154 ::CORBA::Boolean ret = ::CORBA::is_nil (obj) || !::CORBA::is_nil (*(_MICO_T *)v);
3155 ::CORBA::release (obj);
3156 return ret;
3157 }
3158
3159 void _Marshaller_Auktion_WeltImplicit::marshal( ::CORBA::DataEncoder &ec, StaticValueType v ) const
{
3160 ::CORBA::Object_ptr obj = *(_MICO_T *) v;
3161 ::CORBA::_stc_Object->marshal( ec, &obj );
3162 }
3163
3164 ::CORBA::StaticTypeInfo *_marshaller_Auktion_WeltImplicit;
3165
3166
3167
3168
3169 Auktion::WeltImplicit_stub::~WeltImplicit_stub()
3170 {
3171 }
3172
3173 #ifndef MICO_CONF_NO_POA
3174
3175 void *
3176 POA_Auktion::WeltImplicit::_narrow_helper (const char * repoid)
3177 {
3178 void * p;
3179 if (strcmp (repoid, "IDL:r4/Auktion/WeltImplicit:1.0") == 0) {
3180 return (void *) this;
3181 }
3182 if ((p = POA_Components::KeylessCCMHome::_narrow_helper (repoid)) != NULL)
3183 {
3184 return p;
3185 }
3186 return NULL;
3187 }
3188
3189 POA_Auktion::WeltImplicit *
3190 POA_Auktion::WeltImplicit::_narrow (PortableServer::Servant serv)
3191 {
3192 void * p;
3193 if ((p = serv->_narrow_helper ("IDL:r4/Auktion/WeltImplicit:1.0")) != NULL) {
3194 serv->_add_ref ();
3195 return (POA_Auktion::WeltImplicit *) p;
3196 }
3197 return NULL;
3198 }
3199
3200 Auktion::WeltImplicit_stub_clp::WeltImplicit_stub_clp ()
3201 {
3202 }
3203
3204 Auktion::WeltImplicit_stub_clp::WeltImplicit_stub_clp (PortableServer::POA_ptr poa, CORBA::Object_ptr obj)
3205 : CORBA::Object(*obj), PortableServer::StubBase(poa)
3206 {
3207 }
3208
3209 Auktion::WeltImplicit_stub_clp::~WeltImplicit_stub_clp ()
3210 {
3211 }
3212
3213 #endif // MICO_CONF_NO_POA
3214
3215 Auktion::Auktionshaus_ptr Auktion::WeltImplicit_stub::create()
3216 {
3217 Auktion::Auktionshaus_ptr _res;
3218 CORBA::StaticAny __res( _marshaller_Auktion_Auktionshaus, &_res );
3219
3220 CORBA::StaticRequest __req( this, "create" );
3221 __req.set_result( &__res );
3222
3223 __req.invoke();
3224
3225 mico_sii_throw( &__req,
3226 0);
3227 return _res;
3228 }
3229
3230
3231 #ifndef MICO_CONF_NO_POA
3232
3233 Auktion::Auktionshaus_ptr
Auktion::WeltImplicit_stub_clp::create()
3234 {
3235 PortableServer::Servant _serv = _preinvoke ();
3236 if (_serv) {
3237 POA_Auktion::WeltImplicit * _myserv = POA_Auktion::WeltImplicit::_narrow (_serv);
3238 if (_myserv) {
3239 Auktion::Auktionshaus_ptr __res;
3240
3241 #ifdef HAVE_EXCEPTIONS
3242 try {
3243 #endif
3244 __res = _myserv->create();
3245 #ifdef HAVE_EXCEPTIONS
3246 }
3247 catch (...) {
3248 _myserv->_remove_ref();
3249 _postinvoke();
3250 throw;
3251 }
3252 #endif
3253
3254 _myserv->_remove_ref();
3255 _postinvoke ();
3256 return __res;
3257 }
3258 _postinvoke ();
3259 }
3260
3261 return Auktion::WeltImplicit_stub::create();
3262 }
3263
3264 #endif // MICO_CONF_NO_POA
3265
3266
3267
3268
3269 Auktion::Welt::~Welt()
3270 {
3271 }
3272
3273 void *
3274 Auktion::Welt::_narrow_helper( const char *_repoid )
3275 {
3276 if( strcmp( _repoid, "IDL:r4/Auktion/Welt:1.0" ) == 0 )
3277 return (void *)this;
3278 {
3279 void *_p;
3280 if ((_p = Auktion::WeltExplicit::_narrow_helper( _repoid )))
3281 return _p;
3282 }
3283 {
3284 void *_p;
3285 if ((_p = Auktion::WeltImplicit::_narrow_helper( _repoid )))
3286 return _p;
3287 }
3288 return NULL;
3289 }
3290
3291 Auktion::Welt_ptr
Auktion::Welt::_narrow( CORBA::Object_ptr _obj )
3292 {
3293 Auktion::Welt_ptr _o;
3294 if( !CORBA::is_nil( _obj ) ) {
3295 void *_p;
3296 if( (_p = _obj->_narrow_helper( "IDL:r4/Auktion/Welt:1.0" )))
3297 return _duplicate( (Auktion::Welt_ptr) _p );
3298 if (!strcmp (_obj->_repoid(), "IDL:r4/Auktion/Welt:1.0") || _obj->_is_a_remote ("IDL:r4/Auktion/Welt:1.0")) {
3299 _o = new Auktion::Welt_stub;
3300 _o->CORBA::Object::operator=( *_obj );
3301 return _o;
3302 }
3303 }
3304 return _nil();
3305 }
3306
3307 Auktion::Welt_ptr
Auktion::Welt::_narrow( CORBA::AbstractBase_ptr _obj )
3308 {
3309 return _narrow (_obj->_to_object());
3310 }
3311
3312 class _Marshaller_Auktion_Welt : public ::CORBA::StaticTypeInfo {
3313 typedef Auktion::Welt_ptr _MICO_T;
3314 public:
3315 StaticValueType create () const;
3316 void assign (StaticValueType dst, const StaticValueType src) const;
3317 void free (StaticValueType) const;
3318 void release (StaticValueType) const;
3319 ::CORBA::Boolean demarshal (::CORBA::DataDecoder&, StaticValueType) const;
3320 void marshal (::CORBA::DataEncoder &, StaticValueType) const;
3321 };
3322
3323
3324 ::CORBA::StaticValueType _Marshaller_Auktion_Welt::create() const
{
3325 return (StaticValueType) new _MICO_T( 0 );
3326 }
3327
3328 void _Marshaller_Auktion_Welt::assign( StaticValueType d, const StaticValueType s ) const
{
3329 *(_MICO_T*) d = ::Auktion::Welt::_duplicate( *(_MICO_T*) s );
3330 }
3331
3332 void _Marshaller_Auktion_Welt::free( StaticValueType v ) const
{
3333 ::CORBA::release( *(_MICO_T *) v );
3334 delete (_MICO_T*) v;
3335 }
3336
3337 void _Marshaller_Auktion_Welt::release( StaticValueType v ) const
{
3338 ::CORBA::release( *(_MICO_T *) v );
3339 }
3340
3341 ::CORBA::Boolean _Marshaller_Auktion_Welt::demarshal( ::CORBA::DataDecoder &dc, StaticValueType v ) const
{
3342 ::CORBA::Object_ptr obj;
3343 if (!::CORBA::_stc_Object->demarshal(dc, &obj))
3344 return FALSE;
3345 *(_MICO_T *) v = ::Auktion::Welt::_narrow( obj );
3346 ::CORBA::Boolean ret = ::CORBA::is_nil (obj) || !::CORBA::is_nil (*(_MICO_T *)v);
3347 ::CORBA::release (obj);
3348 return ret;
3349 }
3350
3351 void _Marshaller_Auktion_Welt::marshal( ::CORBA::DataEncoder &ec, StaticValueType v ) const
{
3352 ::CORBA::Object_ptr obj = *(_MICO_T *) v;
3353 ::CORBA::_stc_Object->marshal( ec, &obj );
3354 }
3355
3356 ::CORBA::StaticTypeInfo *_marshaller_Auktion_Welt;
3357
3358
3359
3360
3361 Auktion::Welt_stub::~Welt_stub()
3362 {
3363 }
3364
3365 #ifndef MICO_CONF_NO_POA
3366
3367 void *
3368 POA_Auktion::Welt::_narrow_helper (const char * repoid)
3369 {
3370 void * p;
3371 if (strcmp (repoid, "IDL:r4/Auktion/Welt:1.0") == 0) {
3372 return (void *) this;
3373 }
3374 if ((p = POA_Auktion::WeltExplicit::_narrow_helper (repoid)) != NULL)
3375 {
3376 return p;
3377 }
3378 if ((p = POA_Auktion::WeltImplicit::_narrow_helper (repoid)) != NULL)
3379 {
3380 return p;
3381 }
3382 return NULL;
3383 }
3384
3385 POA_Auktion::Welt *
3386 POA_Auktion::Welt::_narrow (PortableServer::Servant serv)
3387 {
3388 void * p;
3389 if ((p = serv->_narrow_helper ("IDL:r4/Auktion/Welt:1.0")) != NULL) {
3390 serv->_add_ref ();
3391 return (POA_Auktion::Welt *) p;
3392 }
3393 return NULL;
3394 }
3395
3396 Auktion::Welt_stub_clp::Welt_stub_clp ()
3397 {
3398 }
3399
3400 Auktion::Welt_stub_clp::Welt_stub_clp (PortableServer::POA_ptr poa, CORBA::Object_ptr obj)
3401 : CORBA::Object(*obj), PortableServer::StubBase(poa)
3402 {
3403 }
3404
3405 Auktion::Welt_stub_clp::~Welt_stub_clp ()
3406 {
3407 }
3408
3409 #endif // MICO_CONF_NO_POA
3410
3411
3412
3413
3414 Auktion::CCM_WeltExplicit::~CCM_WeltExplicit()
3415 {
3416 }
3417
3418 void *
3419 Auktion::CCM_WeltExplicit::_narrow_helper( const char *_repoid )
3420 {
3421 if( strcmp( _repoid, "IDL:r4/Auktion/CCM_WeltExplicit:1.0" ) == 0 )
3422 return (void *)this;
3423 {
3424 void *_p;
3425 if ((_p = Components::HomeExecutorBase::_narrow_helper( _repoid )))
3426 return _p;
3427 }
3428 return NULL;
3429 }
3430
3431 Auktion::CCM_WeltExplicit_ptr
Auktion::CCM_WeltExplicit::_narrow( CORBA::Object_ptr _obj )
3432 {
3433 if( !CORBA::is_nil( _obj ) ) {
3434 void *_p;
3435 if( (_p = _obj->_narrow_helper( "IDL:r4/Auktion/CCM_WeltExplicit:1.0" )))
3436 return _duplicate( (Auktion::CCM_WeltExplicit_ptr) _p );
3437 }
3438 return _nil();
3439 }
3440
3441 Auktion::CCM_WeltExplicit_ptr
Auktion::CCM_WeltExplicit::_narrow( CORBA::AbstractBase_ptr _obj )
3442 {
3443 return _narrow (_obj->_to_object());
3444 }
3445
3446
3447
3448
3449
3450 Auktion::CCM_WeltImplicit::~CCM_WeltImplicit()
3451 {
3452 }
3453
3454 void *
3455 Auktion::CCM_WeltImplicit::_narrow_helper( const char *_repoid )
3456 {
3457 if( strcmp( _repoid, "IDL:r4/Auktion/CCM_WeltImplicit:1.0" ) == 0 )
3458 return (void *)this;
3459 {
3460 void *_p;
3461 if ((_p = ::CORBA::LocalObject::_narrow_helper (_repoid)))
3462 return _p;
3463 }
3464 return NULL;
3465 }
3466
3467 Auktion::CCM_WeltImplicit_ptr
Auktion::CCM_WeltImplicit::_narrow( CORBA::Object_ptr _obj )
3468 {
3469 if( !CORBA::is_nil( _obj ) ) {
3470 void *_p;
3471 if( (_p = _obj->_narrow_helper( "IDL:r4/Auktion/CCM_WeltImplicit:1.0" )))
3472 return _duplicate( (Auktion::CCM_WeltImplicit_ptr) _p );
3473 }
3474 return _nil();
3475 }
3476
3477 Auktion::CCM_WeltImplicit_ptr
Auktion::CCM_WeltImplicit::_narrow( CORBA::AbstractBase_ptr _obj )
3478 {
3479 return _narrow (_obj->_to_object());
3480 }
3481
3482
3483
3484
3485
3486 Auktion::CCM_Welt::~CCM_Welt()
3487 {
3488 }
3489
3490 void *
3491 Auktion::CCM_Welt::_narrow_helper( const char *_repoid )
3492 {
3493 if( strcmp( _repoid, "IDL:r4/Auktion/CCM_Welt:1.0" ) == 0 )
3494 return (void *)this;
3495 {
3496 void *_p;
3497 if ((_p = Auktion::CCM_WeltExplicit::_narrow_helper( _repoid )))
3498 return _p;
3499 }
3500 {
3501 void *_p;
3502 if ((_p = Auktion::CCM_WeltImplicit::_narrow_helper( _repoid )))
3503 return _p;
3504 }
3505 return NULL;
3506 }
3507
3508 Auktion::CCM_Welt_ptr
Auktion::CCM_Welt::_narrow( CORBA::Object_ptr _obj )
3509 {
3510 if( !CORBA::is_nil( _obj ) ) {
3511 void *_p;
3512 if( (_p = _obj->_narrow_helper( "IDL:r4/Auktion/CCM_Welt:1.0" )))
3513 return _duplicate( (Auktion::CCM_Welt_ptr) _p );
3514 }
3515 return _nil();
3516 }
3517
3518 Auktion::CCM_Welt_ptr
Auktion::CCM_Welt::_narrow( CORBA::AbstractBase_ptr _obj )
3519 {
3520 return _narrow (_obj->_to_object());
3521 }
3522
3523
3524
3525
3526
3527 Auktion::ProduktFilter::~ProduktFilter()
3528 {
3529 }
3530
3531 void *
3532 Auktion::ProduktFilter::_narrow_helper( const char *_repoid )
3533 {
3534 if( strcmp( _repoid, "IDL:r4/Auktion/ProduktFilter:1.0" ) == 0 )
3535 return (void *)this;
3536 {
3537 void *_p;
3538 if ((_p = Components::CCMObject::_narrow_helper( _repoid )))
3539 return _p;
3540 }
3541 return NULL;
3542 }
3543
3544 Auktion::ProduktFilter_ptr
Auktion::ProduktFilter::_narrow( CORBA::Object_ptr _obj )
3545 {
3546 Auktion::ProduktFilter_ptr _o;
3547 if( !CORBA::is_nil( _obj ) ) {
3548 void *_p;
3549 if( (_p = _obj->_narrow_helper( "IDL:r4/Auktion/ProduktFilter:1.0" )))
3550 return _duplicate( (Auktion::ProduktFilter_ptr) _p );
3551 if (!strcmp (_obj->_repoid(), "IDL:r4/Auktion/ProduktFilter:1.0") || _obj->_is_a_remote ("IDL:r4/Auktion/ProduktFilter:1.0")) {
3552 _o = new Auktion::ProduktFilter_stub;
3553 _o->CORBA::Object::operator=( *_obj );
3554 return _o;
3555 }
3556 }
3557 return _nil();
3558 }
3559
3560 Auktion::ProduktFilter_ptr
Auktion::ProduktFilter::_narrow( CORBA::AbstractBase_ptr _obj )
3561 {
3562 return _narrow (_obj->_to_object());
3563 }
3564
3565 class _Marshaller_Auktion_ProduktFilter : public ::CORBA::StaticTypeInfo {
3566 typedef Auktion::ProduktFilter_ptr _MICO_T;
3567 public:
3568 StaticValueType create () const;
3569 void assign (StaticValueType dst, const StaticValueType src) const;
3570 void free (StaticValueType) const;
3571 void release (StaticValueType) const;
3572 ::CORBA::Boolean demarshal (::CORBA::DataDecoder&, StaticValueType) const;
3573 void marshal (::CORBA::DataEncoder &, StaticValueType) const;
3574 };
3575
3576
3577 ::CORBA::StaticValueType _Marshaller_Auktion_ProduktFilter::create() const
{
3578 return (StaticValueType) new _MICO_T( 0 );
3579 }
3580
3581 void _Marshaller_Auktion_ProduktFilter::assign( StaticValueType d, const StaticValueType s ) const
{
3582 *(_MICO_T*) d = ::Auktion::ProduktFilter::_duplicate( *(_MICO_T*) s );
3583 }
3584
3585 void _Marshaller_Auktion_ProduktFilter::free( StaticValueType v ) const
{
3586 ::CORBA::release( *(_MICO_T *) v );
3587 delete (_MICO_T*) v;
3588 }
3589
3590 void _Marshaller_Auktion_ProduktFilter::release( StaticValueType v ) const
{
3591 ::CORBA::release( *(_MICO_T *) v );
3592 }
3593
3594 ::CORBA::Boolean _Marshaller_Auktion_ProduktFilter::demarshal( ::CORBA::DataDecoder &dc, StaticValueType v ) const
{
3595 ::CORBA::Object_ptr obj;
3596 if (!::CORBA::_stc_Object->demarshal(dc, &obj))
3597 return FALSE;
3598 *(_MICO_T *) v = ::Auktion::ProduktFilter::_narrow( obj );
3599 ::CORBA::Boolean ret = ::CORBA::is_nil (obj) || !::CORBA::is_nil (*(_MICO_T *)v);
3600 ::CORBA::release (obj);
3601 return ret;
3602 }
3603
3604 void _Marshaller_Auktion_ProduktFilter::marshal( ::CORBA::DataEncoder &ec, StaticValueType v ) const
{
3605 ::CORBA::Object_ptr obj = *(_MICO_T *) v;
3606 ::CORBA::_stc_Object->marshal( ec, &obj );
3607 }
3608
3609 ::CORBA::StaticTypeInfo *_marshaller_Auktion_ProduktFilter;
3610
3611
3612
3613
3614 Auktion::ProduktFilter_stub::~ProduktFilter_stub()
3615 {
3616 }
3617
3618 #ifndef MICO_CONF_NO_POA
3619
3620 void *
3621 POA_Auktion::ProduktFilter::_narrow_helper (const char * repoid)
3622 {
3623 void * p;
3624 if (strcmp (repoid, "IDL:r4/Auktion/ProduktFilter:1.0") == 0) {
3625 return (void *) this;
3626 }
3627 if ((p = POA_Components::CCMObject::_narrow_helper (repoid)) != NULL)
3628 {
3629 return p;
3630 }
3631 return NULL;
3632 }
3633
3634 POA_Auktion::ProduktFilter *
3635 POA_Auktion::ProduktFilter::_narrow (PortableServer::Servant serv)
3636 {
3637 void * p;
3638 if ((p = serv->_narrow_helper ("IDL:r4/Auktion/ProduktFilter:1.0")) != NULL) {
3639 serv->_add_ref ();
3640 return (POA_Auktion::ProduktFilter *) p;
3641 }
3642 return NULL;
3643 }
3644
3645 Auktion::ProduktFilter_stub_clp::ProduktFilter_stub_clp ()
3646 {
3647 }
3648
3649 Auktion::ProduktFilter_stub_clp::ProduktFilter_stub_clp (PortableServer::POA_ptr poa, CORBA::Object_ptr obj)
3650 : CORBA::Object(*obj), PortableServer::StubBase(poa)
3651 {
3652 }
3653
3654 Auktion::ProduktFilter_stub_clp::~ProduktFilter_stub_clp ()
3655 {
3656 }
3657
3658 #endif // MICO_CONF_NO_POA
3659
3660 char* Auktion::ProduktFilter_stub::interessanter_gegenstand()
3661 {
3662 char* _res;
3663 CORBA::StaticAny __res( CORBA::_stc_string, &_res );
3664
3665 CORBA::StaticRequest __req( this, "_get_interessanter_gegenstand" );
3666 __req.set_result( &__res );
3667
3668 __req.invoke();
3669
3670 mico_sii_throw( &__req,
3671 0);
3672 return _res;
3673 }
3674
3675
3676 #ifndef MICO_CONF_NO_POA
3677
3678 char*
3679 Auktion::ProduktFilter_stub_clp::interessanter_gegenstand()
3680 {
3681 PortableServer::Servant _serv = _preinvoke ();
3682 if (_serv) {
3683 POA_Auktion::ProduktFilter * _myserv = POA_Auktion::ProduktFilter::_narrow (_serv);
3684 if (_myserv) {
3685 char* __res;
3686
3687 #ifdef HAVE_EXCEPTIONS
3688 try {
3689 #endif
3690 __res = _myserv->interessanter_gegenstand();
3691 #ifdef HAVE_EXCEPTIONS
3692 }
3693 catch (...) {
3694 _myserv->_remove_ref();
3695 _postinvoke();
3696 throw;
3697 }
3698 #endif
3699
3700 _myserv->_remove_ref();
3701 _postinvoke ();
3702 return __res;
3703 }
3704 _postinvoke ();
3705 }
3706
3707 return Auktion::ProduktFilter_stub::interessanter_gegenstand();
3708 }
3709
3710 #endif // MICO_CONF_NO_POA
3711
3712 void Auktion::ProduktFilter_stub::interessanter_gegenstand( const char* _par__value )
3713 {
3714 CORBA::StaticAny _sa__value( CORBA::_stc_string, &_par__value );
3715 CORBA::StaticRequest __req( this, "_set_interessanter_gegenstand" );
3716 __req.add_in_arg( &_sa__value );
3717
3718 __req.invoke();
3719
3720 mico_sii_throw( &__req,
3721 0);
3722 }
3723
3724
3725 #ifndef MICO_CONF_NO_POA
3726
3727 void
Auktion::ProduktFilter_stub_clp::interessanter_gegenstand( const char* _par__value )
3728 {
3729 PortableServer::Servant _serv = _preinvoke ();
3730 if (_serv) {
3731 POA_Auktion::ProduktFilter * _myserv = POA_Auktion::ProduktFilter::_narrow (_serv);
3732 if (_myserv) {
3733 #ifdef HAVE_EXCEPTIONS
3734 try {
3735 #endif
3736 _myserv->interessanter_gegenstand(_par__value);
3737 #ifdef HAVE_EXCEPTIONS
3738 }
3739 catch (...) {
3740 _myserv->_remove_ref();
3741 _postinvoke();
3742 throw;
3743 }
3744 #endif
3745
3746 _myserv->_remove_ref();
3747 _postinvoke ();
3748 return;
3749 }
3750 _postinvoke ();
3751 }
3752
3753 Auktion::ProduktFilter_stub::interessanter_gegenstand(_par__value);
3754 }
3755
3756 #endif // MICO_CONF_NO_POA
3757
3758 Auktion::GebotConsumer_ptr Auktion::ProduktFilter_stub::get_consumer_eingehende_gebote()
3759 {
3760 Auktion::GebotConsumer_ptr _res;
3761 CORBA::StaticAny __res( _marshaller_Auktion_GebotConsumer, &_res );
3762
3763 CORBA::StaticRequest __req( this, "get_consumer_eingehende_gebote" );
3764 __req.set_result( &__res );
3765
3766 __req.invoke();
3767
3768 mico_sii_throw( &__req,
3769 0);
3770 return _res;
3771 }
3772
3773
3774 #ifndef MICO_CONF_NO_POA
3775
3776 Auktion::GebotConsumer_ptr
Auktion::ProduktFilter_stub_clp::get_consumer_eingehende_gebote()
3777 {
3778 PortableServer::Servant _serv = _preinvoke ();
3779 if (_serv) {
3780 POA_Auktion::ProduktFilter * _myserv = POA_Auktion::ProduktFilter::_narrow (_serv);
3781 if (_myserv) {
3782 Auktion::GebotConsumer_ptr __res;
3783
3784 #ifdef HAVE_EXCEPTIONS
3785 try {
3786 #endif
3787 __res = _myserv->get_consumer_eingehende_gebote();
3788 #ifdef HAVE_EXCEPTIONS
3789 }
3790 catch (...) {
3791 _myserv->_remove_ref();
3792 _postinvoke();
3793 throw;
3794 }
3795 #endif
3796
3797 _myserv->_remove_ref();
3798 _postinvoke ();
3799 return __res;
3800 }
3801 _postinvoke ();
3802 }
3803
3804 return Auktion::ProduktFilter_stub::get_consumer_eingehende_gebote();
3805 }
3806
3807 #endif // MICO_CONF_NO_POA
3808
3809 Components::Cookie* Auktion::ProduktFilter_stub::subscribe_interessante_gebote( Auktion::GebotConsumer_ptr _par_consumer )
3810 {
3811 CORBA::StaticAny _sa_consumer( _marshaller_Auktion_GebotConsumer, &_par_consumer );
3812 Components::Cookie* _res;
3813 CORBA::StaticAny __res( _marshaller_Components_Cookie, &_res );
3814
3815 CORBA::StaticRequest __req( this, "subscribe_interessante_gebote" );
3816 __req.add_in_arg( &_sa_consumer );
3817 __req.set_result( &__res );
3818
3819 __req.invoke();
3820
3821 mico_sii_throw( &__req,
3822 0);
3823 return _res;
3824 }
3825
3826
3827 #ifndef MICO_CONF_NO_POA
3828
3829 Components::Cookie*
3830 Auktion::ProduktFilter_stub_clp::subscribe_interessante_gebote( Auktion::GebotConsumer_ptr _par_consumer )
3831 {
3832 PortableServer::Servant _serv = _preinvoke ();
3833 if (_serv) {
3834 POA_Auktion::ProduktFilter * _myserv = POA_Auktion::ProduktFilter::_narrow (_serv);
3835 if (_myserv) {
3836 Components::Cookie* __res;
3837
3838 #ifdef HAVE_EXCEPTIONS
3839 try {
3840 #endif
3841 __res = _myserv->subscribe_interessante_gebote(_par_consumer);
3842 #ifdef HAVE_EXCEPTIONS
3843 }
3844 catch (...) {
3845 _myserv->_remove_ref();
3846 _postinvoke();
3847 throw;
3848 }
3849 #endif
3850
3851 _myserv->_remove_ref();
3852 _postinvoke ();
3853 Components::Cookie* __res2 = Components::Cookie::_downcast (__res->_copy_value ());
3854 CORBA::remove_ref (__res);
3855 return __res2;
3856 }
3857 _postinvoke ();
3858 }
3859
3860 return Auktion::ProduktFilter_stub::subscribe_interessante_gebote(_par_consumer);
3861 }
3862
3863 #endif // MICO_CONF_NO_POA
3864
3865 Auktion::GebotConsumer_ptr Auktion::ProduktFilter_stub::unsubscribe_interessante_gebote( Components::Cookie* _par_ck )
3866 {
3867 CORBA::StaticAny _sa_ck( _marshaller_Components_Cookie, &_par_ck );
3868 Auktion::GebotConsumer_ptr _res;
3869 CORBA::StaticAny __res( _marshaller_Auktion_GebotConsumer, &_res );
3870
3871 CORBA::StaticRequest __req( this, "unsubscribe_interessante_gebote" );
3872 __req.add_in_arg( &_sa_ck );
3873 __req.set_result( &__res );
3874
3875 __req.invoke();
3876
3877 mico_sii_throw( &__req,
3878 0);
3879 return _res;
3880 }
3881
3882
3883 #ifndef MICO_CONF_NO_POA
3884
3885 Auktion::GebotConsumer_ptr
Auktion::ProduktFilter_stub_clp::unsubscribe_interessante_gebote( Components::Cookie* _par_ck )
3886 {
3887 PortableServer::Servant _serv = _preinvoke ();
3888 if (_serv) {
3889 POA_Auktion::ProduktFilter * _myserv = POA_Auktion::ProduktFilter::_narrow (_serv);
3890 if (_myserv) {
3891 Auktion::GebotConsumer_ptr __res;
3892
3893 Components::Cookie* _copy_of_par_ck;
3894 _copy_of_par_ck = Components::Cookie::_downcast (_par_ck->_copy_value());
3895 #ifdef HAVE_EXCEPTIONS
3896 try {
3897 #endif
3898 __res = _myserv->unsubscribe_interessante_gebote(_copy_of_par_ck);
3899 #ifdef HAVE_EXCEPTIONS
3900 }
3901 catch (...) {
3902 _myserv->_remove_ref();
3903 _postinvoke();
3904 throw;
3905 }
3906 #endif
3907
3908 _myserv->_remove_ref();
3909 _postinvoke ();
3910 CORBA::remove_ref (_copy_of_par_ck);
3911 return __res;
3912 }
3913 _postinvoke ();
3914 }
3915
3916 return Auktion::ProduktFilter_stub::unsubscribe_interessante_gebote(_par_ck);
3917 }
3918
3919 #endif // MICO_CONF_NO_POA
3920
3921
3922
3923
3924 Auktion::CCM_ProduktFilter::~CCM_ProduktFilter()
3925 {
3926 }
3927
3928 void *
3929 Auktion::CCM_ProduktFilter::_narrow_helper( const char *_repoid )
3930 {
3931 if( strcmp( _repoid, "IDL:r4/Auktion/CCM_ProduktFilter:1.0" ) == 0 )
3932 return (void *)this;
3933 {
3934 void *_p;
3935 if ((_p = Components::EnterpriseComponent::_narrow_helper( _repoid )))
3936 return _p;
3937 }
3938 return NULL;
3939 }
3940
3941 Auktion::CCM_ProduktFilter_ptr
Auktion::CCM_ProduktFilter::_narrow( CORBA::Object_ptr _obj )
3942 {
3943 if( !CORBA::is_nil( _obj ) ) {
3944 void *_p;
3945 if( (_p = _obj->_narrow_helper( "IDL:r4/Auktion/CCM_ProduktFilter:1.0" )))
3946 return _duplicate( (Auktion::CCM_ProduktFilter_ptr) _p );
3947 }
3948 return _nil();
3949 }
3950
3951 Auktion::CCM_ProduktFilter_ptr
Auktion::CCM_ProduktFilter::_narrow( CORBA::AbstractBase_ptr _obj )
3952 {
3953 return _narrow (_obj->_to_object());
3954 }
3955
3956
3957
3958
3959
3960 Auktion::CCM_ProduktFilter_Executor::~CCM_ProduktFilter_Executor()
3961 {
3962 }
3963
3964 void *
3965 Auktion::CCM_ProduktFilter_Executor::_narrow_helper( const char *_repoid )
3966 {
3967 if( strcmp( _repoid, "IDL:r4/Auktion/CCM_ProduktFilter_Executor:1.0" ) == 0 )
3968 return (void *)this;
3969 {
3970 void *_p;
3971 if ((_p = Components::EnterpriseComponent::_narrow_helper( _repoid )))
3972 return _p;
3973 }
3974 return NULL;
3975 }
3976
3977 Auktion::CCM_ProduktFilter_Executor_ptr
Auktion::CCM_ProduktFilter_Executor::_narrow( CORBA::Object_ptr _obj )
3978 {
3979 if( !CORBA::is_nil( _obj ) ) {
3980 void *_p;
3981 if( (_p = _obj->_narrow_helper( "IDL:r4/Auktion/CCM_ProduktFilter_Executor:1.0" )))
3982 return _duplicate( (Auktion::CCM_ProduktFilter_Executor_ptr) _p );
3983 }
3984 return _nil();
3985 }
3986
3987 Auktion::CCM_ProduktFilter_Executor_ptr
Auktion::CCM_ProduktFilter_Executor::_narrow( CORBA::AbstractBase_ptr _obj )
3988 {
3989 return _narrow (_obj->_to_object());
3990 }
3991
3992
3993
3994
3995
3996 Auktion::CCM_ProduktFilter_Context::~CCM_ProduktFilter_Context()
3997 {
3998 }
3999
4000 void *
4001 Auktion::CCM_ProduktFilter_Context::_narrow_helper( const char *_repoid )
4002 {
4003 if( strcmp( _repoid, "IDL:r4/Auktion/CCM_ProduktFilter_Context:1.0" ) == 0 )
4004 return (void *)this;
4005 {
4006 void *_p;
4007 if ((_p = Components::SessionContext::_narrow_helper( _repoid )))
4008 return _p;
4009 }
4010 return NULL;
4011 }
4012
4013 Auktion::CCM_ProduktFilter_Context_ptr
Auktion::CCM_ProduktFilter_Context::_narrow( CORBA::Object_ptr _obj )
4014 {
4015 if( !CORBA::is_nil( _obj ) ) {
4016 void *_p;
4017 if( (_p = _obj->_narrow_helper( "IDL:r4/Auktion/CCM_ProduktFilter_Context:1.0" )))
4018 return _duplicate( (Auktion::CCM_ProduktFilter_Context_ptr) _p );
4019 }
4020 return _nil();
4021 }
4022
4023 Auktion::CCM_ProduktFilter_Context_ptr
Auktion::CCM_ProduktFilter_Context::_narrow( CORBA::AbstractBase_ptr _obj )
4024 {
4025 return _narrow (_obj->_to_object());
4026 }
4027
4028
4029
4030
4031
4032 Auktion::FilterHomeExplicit::~FilterHomeExplicit()
4033 {
4034 }
4035
4036 void *
4037 Auktion::FilterHomeExplicit::_narrow_helper( const char *_repoid )
4038 {
4039 if( strcmp( _repoid, "IDL:r4/Auktion/FilterHomeExplicit:1.0" ) == 0 )
4040 return (void *)this;
4041 {
4042 void *_p;
4043 if ((_p = Components::CCMHome::_narrow_helper( _repoid )))
4044 return _p;
4045 }
4046 return NULL;
4047 }
4048
4049 Auktion::FilterHomeExplicit_ptr
Auktion::FilterHomeExplicit::_narrow( CORBA::Object_ptr _obj )
4050 {
4051 Auktion::FilterHomeExplicit_ptr _o;
4052 if( !CORBA::is_nil( _obj ) ) {
4053 void *_p;
4054 if( (_p = _obj->_narrow_helper( "IDL:r4/Auktion/FilterHomeExplicit:1.0" )))
4055 return _duplicate( (Auktion::FilterHomeExplicit_ptr) _p );
4056 if (!strcmp (_obj->_repoid(), "IDL:r4/Auktion/FilterHomeExplicit:1.0") || _obj->_is_a_remote ("IDL:r4/Auktion/FilterHomeExplicit:1.0")) {
4057 _o = new Auktion::FilterHomeExplicit_stub;
4058 _o->CORBA::Object::operator=( *_obj );
4059 return _o;
4060 }
4061 }
4062 return _nil();
4063 }
4064
4065 Auktion::FilterHomeExplicit_ptr
Auktion::FilterHomeExplicit::_narrow( CORBA::AbstractBase_ptr _obj )
4066 {
4067 return _narrow (_obj->_to_object());
4068 }
4069
4070 class _Marshaller_Auktion_FilterHomeExplicit : public ::CORBA::StaticTypeInfo {
4071 typedef Auktion::FilterHomeExplicit_ptr _MICO_T;
4072 public:
4073 StaticValueType create () const;
4074 void assign (StaticValueType dst, const StaticValueType src) const;
4075 void free (StaticValueType) const;
4076 void release (StaticValueType) const;
4077 ::CORBA::Boolean demarshal (::CORBA::DataDecoder&, StaticValueType) const;
4078 void marshal (::CORBA::DataEncoder &, StaticValueType) const;
4079 };
4080
4081
4082 ::CORBA::StaticValueType _Marshaller_Auktion_FilterHomeExplicit::create() const
{
4083 return (StaticValueType) new _MICO_T( 0 );
4084 }
4085
4086 void _Marshaller_Auktion_FilterHomeExplicit::assign( StaticValueType d, const StaticValueType s ) const
{
4087 *(_MICO_T*) d = ::Auktion::FilterHomeExplicit::_duplicate( *(_MICO_T*) s );
4088 }
4089
4090 void _Marshaller_Auktion_FilterHomeExplicit::free( StaticValueType v ) const
{
4091 ::CORBA::release( *(_MICO_T *) v );
4092 delete (_MICO_T*) v;
4093 }
4094
4095 void _Marshaller_Auktion_FilterHomeExplicit::release( StaticValueType v ) const
{
4096 ::CORBA::release( *(_MICO_T *) v );
4097 }
4098
4099 ::CORBA::Boolean _Marshaller_Auktion_FilterHomeExplicit::demarshal( ::CORBA::DataDecoder &dc, StaticValueType v ) const
{
4100 ::CORBA::Object_ptr obj;
4101 if (!::CORBA::_stc_Object->demarshal(dc, &obj))
4102 return FALSE;
4103 *(_MICO_T *) v = ::Auktion::FilterHomeExplicit::_narrow( obj );
4104 ::CORBA::Boolean ret = ::CORBA::is_nil (obj) || !::CORBA::is_nil (*(_MICO_T *)v);
4105 ::CORBA::release (obj);
4106 return ret;
4107 }
4108
4109 void _Marshaller_Auktion_FilterHomeExplicit::marshal( ::CORBA::DataEncoder &ec, StaticValueType v ) const
{
4110 ::CORBA::Object_ptr obj = *(_MICO_T *) v;
4111 ::CORBA::_stc_Object->marshal( ec, &obj );
4112 }
4113
4114 ::CORBA::StaticTypeInfo *_marshaller_Auktion_FilterHomeExplicit;
4115
4116
4117
4118
4119 Auktion::FilterHomeExplicit_stub::~FilterHomeExplicit_stub()
4120 {
4121 }
4122
4123 #ifndef MICO_CONF_NO_POA
4124
4125 void *
4126 POA_Auktion::FilterHomeExplicit::_narrow_helper (const char * repoid)
4127 {
4128 void * p;
4129 if (strcmp (repoid, "IDL:r4/Auktion/FilterHomeExplicit:1.0") == 0) {
4130 return (void *) this;
4131 }
4132 if ((p = POA_Components::CCMHome::_narrow_helper (repoid)) != NULL)
4133 {
4134 return p;
4135 }
4136 return NULL;
4137 }
4138
4139 POA_Auktion::FilterHomeExplicit *
4140 POA_Auktion::FilterHomeExplicit::_narrow (PortableServer::Servant serv)
4141 {
4142 void * p;
4143 if ((p = serv->_narrow_helper ("IDL:r4/Auktion/FilterHomeExplicit:1.0")) != NULL) {
4144 serv->_add_ref ();
4145 return (POA_Auktion::FilterHomeExplicit *) p;
4146 }
4147 return NULL;
4148 }
4149
4150 Auktion::FilterHomeExplicit_stub_clp::FilterHomeExplicit_stub_clp ()
4151 {
4152 }
4153
4154 Auktion::FilterHomeExplicit_stub_clp::FilterHomeExplicit_stub_clp (PortableServer::POA_ptr poa, CORBA::Object_ptr obj)
4155 : CORBA::Object(*obj), PortableServer::StubBase(poa)
4156 {
4157 }
4158
4159 Auktion::FilterHomeExplicit_stub_clp::~FilterHomeExplicit_stub_clp ()
4160 {
4161 }
4162
4163 #endif // MICO_CONF_NO_POA
4164
4165 Auktion::ProduktFilter_ptr Auktion::FilterHomeExplicit_stub::new_filter( const char* _par_gegenstand )
4166 {
4167 CORBA::StaticAny _sa_gegenstand( CORBA::_stc_string, &_par_gegenstand );
4168 Auktion::ProduktFilter_ptr _res;
4169 CORBA::StaticAny __res( _marshaller_Auktion_ProduktFilter, &_res );
4170
4171 CORBA::StaticRequest __req( this, "new_filter" );
4172 __req.add_in_arg( &_sa_gegenstand );
4173 __req.set_result( &__res );
4174
4175 __req.invoke();
4176
4177 mico_sii_throw( &__req,
4178 0);
4179 return _res;
4180 }
4181
4182
4183 #ifndef MICO_CONF_NO_POA
4184
4185 Auktion::ProduktFilter_ptr
Auktion::FilterHomeExplicit_stub_clp::new_filter( const char* _par_gegenstand )
4186 {
4187 PortableServer::Servant _serv = _preinvoke ();
4188 if (_serv) {
4189 POA_Auktion::FilterHomeExplicit * _myserv = POA_Auktion::FilterHomeExplicit::_narrow (_serv);
4190 if (_myserv) {
4191 Auktion::ProduktFilter_ptr __res;
4192
4193 #ifdef HAVE_EXCEPTIONS
4194 try {
4195 #endif
4196 __res = _myserv->new_filter(_par_gegenstand);
4197 #ifdef HAVE_EXCEPTIONS
4198 }
4199 catch (...) {
4200 _myserv->_remove_ref();
4201 _postinvoke();
4202 throw;
4203 }
4204 #endif
4205
4206 _myserv->_remove_ref();
4207 _postinvoke ();
4208 return __res;
4209 }
4210 _postinvoke ();
4211 }
4212
4213 return Auktion::FilterHomeExplicit_stub::new_filter(_par_gegenstand);
4214 }
4215
4216 #endif // MICO_CONF_NO_POA
4217
4218
4219
4220
4221 Auktion::FilterHomeImplicit::~FilterHomeImplicit()
4222 {
4223 }
4224
4225 void *
4226 Auktion::FilterHomeImplicit::_narrow_helper( const char *_repoid )
4227 {
4228 if( strcmp( _repoid, "IDL:r4/Auktion/FilterHomeImplicit:1.0" ) == 0 )
4229 return (void *)this;
4230 {
4231 void *_p;
4232 if ((_p = Components::KeylessCCMHome::_narrow_helper( _repoid )))
4233 return _p;
4234 }
4235 return NULL;
4236 }
4237
4238 Auktion::FilterHomeImplicit_ptr
Auktion::FilterHomeImplicit::_narrow( CORBA::Object_ptr _obj )
4239 {
4240 Auktion::FilterHomeImplicit_ptr _o;
4241 if( !CORBA::is_nil( _obj ) ) {
4242 void *_p;
4243 if( (_p = _obj->_narrow_helper( "IDL:r4/Auktion/FilterHomeImplicit:1.0" )))
4244 return _duplicate( (Auktion::FilterHomeImplicit_ptr) _p );
4245 if (!strcmp (_obj->_repoid(), "IDL:r4/Auktion/FilterHomeImplicit:1.0") || _obj->_is_a_remote ("IDL:r4/Auktion/FilterHomeImplicit:1.0")) {
4246 _o = new Auktion::FilterHomeImplicit_stub;
4247 _o->CORBA::Object::operator=( *_obj );
4248 return _o;
4249 }
4250 }
4251 return _nil();
4252 }
4253
4254 Auktion::FilterHomeImplicit_ptr
Auktion::FilterHomeImplicit::_narrow( CORBA::AbstractBase_ptr _obj )
4255 {
4256 return _narrow (_obj->_to_object());
4257 }
4258
4259 class _Marshaller_Auktion_FilterHomeImplicit : public ::CORBA::StaticTypeInfo {
4260 typedef Auktion::FilterHomeImplicit_ptr _MICO_T;
4261 public:
4262 StaticValueType create () const;
4263 void assign (StaticValueType dst, const StaticValueType src) const;
4264 void free (StaticValueType) const;
4265 void release (StaticValueType) const;
4266 ::CORBA::Boolean demarshal (::CORBA::DataDecoder&, StaticValueType) const;
4267 void marshal (::CORBA::DataEncoder &, StaticValueType) const;
4268 };
4269
4270
4271 ::CORBA::StaticValueType _Marshaller_Auktion_FilterHomeImplicit::create() const
{
4272 return (StaticValueType) new _MICO_T( 0 );
4273 }
4274
4275 void _Marshaller_Auktion_FilterHomeImplicit::assign( StaticValueType d, const StaticValueType s ) const
{
4276 *(_MICO_T*) d = ::Auktion::FilterHomeImplicit::_duplicate( *(_MICO_T*) s );
4277 }
4278
4279 void _Marshaller_Auktion_FilterHomeImplicit::free( StaticValueType v ) const
{
4280 ::CORBA::release( *(_MICO_T *) v );
4281 delete (_MICO_T*) v;
4282 }
4283
4284 void _Marshaller_Auktion_FilterHomeImplicit::release( StaticValueType v ) const
{
4285 ::CORBA::release( *(_MICO_T *) v );
4286 }
4287
4288 ::CORBA::Boolean _Marshaller_Auktion_FilterHomeImplicit::demarshal( ::CORBA::DataDecoder &dc, StaticValueType v ) const
{
4289 ::CORBA::Object_ptr obj;
4290 if (!::CORBA::_stc_Object->demarshal(dc, &obj))
4291 return FALSE;
4292 *(_MICO_T *) v = ::Auktion::FilterHomeImplicit::_narrow( obj );
4293 ::CORBA::Boolean ret = ::CORBA::is_nil (obj) || !::CORBA::is_nil (*(_MICO_T *)v);
4294 ::CORBA::release (obj);
4295 return ret;
4296 }
4297
4298 void _Marshaller_Auktion_FilterHomeImplicit::marshal( ::CORBA::DataEncoder &ec, StaticValueType v ) const
{
4299 ::CORBA::Object_ptr obj = *(_MICO_T *) v;
4300 ::CORBA::_stc_Object->marshal( ec, &obj );
4301 }
4302
4303 ::CORBA::StaticTypeInfo *_marshaller_Auktion_FilterHomeImplicit;
4304
4305
4306
4307
4308 Auktion::FilterHomeImplicit_stub::~FilterHomeImplicit_stub()
4309 {
4310 }
4311
4312 #ifndef MICO_CONF_NO_POA
4313
4314 void *
4315 POA_Auktion::FilterHomeImplicit::_narrow_helper (const char * repoid)
4316 {
4317 void * p;
4318 if (strcmp (repoid, "IDL:r4/Auktion/FilterHomeImplicit:1.0") == 0) {
4319 return (void *) this;
4320 }
4321 if ((p = POA_Components::KeylessCCMHome::_narrow_helper (repoid)) != NULL)
4322 {
4323 return p;
4324 }
4325 return NULL;
4326 }
4327
4328 POA_Auktion::FilterHomeImplicit *
4329 POA_Auktion::FilterHomeImplicit::_narrow (PortableServer::Servant serv)
4330 {
4331 void * p;
4332 if ((p = serv->_narrow_helper ("IDL:r4/Auktion/FilterHomeImplicit:1.0")) != NULL) {
4333 serv->_add_ref ();
4334 return (POA_Auktion::FilterHomeImplicit *) p;
4335 }
4336 return NULL;
4337 }
4338
4339 Auktion::FilterHomeImplicit_stub_clp::FilterHomeImplicit_stub_clp ()
4340 {
4341 }
4342
4343 Auktion::FilterHomeImplicit_stub_clp::FilterHomeImplicit_stub_clp (PortableServer::POA_ptr poa, CORBA::Object_ptr obj)
4344 : CORBA::Object(*obj), PortableServer::StubBase(poa)
4345 {
4346 }
4347
4348 Auktion::FilterHomeImplicit_stub_clp::~FilterHomeImplicit_stub_clp ()
4349 {
4350 }
4351
4352 #endif // MICO_CONF_NO_POA
4353
4354 Auktion::ProduktFilter_ptr Auktion::FilterHomeImplicit_stub::create()
4355 {
4356 Auktion::ProduktFilter_ptr _res;
4357 CORBA::StaticAny __res( _marshaller_Auktion_ProduktFilter, &_res );
4358
4359 CORBA::StaticRequest __req( this, "create" );
4360 __req.set_result( &__res );
4361
4362 __req.invoke();
4363
4364 mico_sii_throw( &__req,
4365 0);
4366 return _res;
4367 }
4368
4369
4370 #ifndef MICO_CONF_NO_POA
4371
4372 Auktion::ProduktFilter_ptr
Auktion::FilterHomeImplicit_stub_clp::create()
4373 {
4374 PortableServer::Servant _serv = _preinvoke ();
4375 if (_serv) {
4376 POA_Auktion::FilterHomeImplicit * _myserv = POA_Auktion::FilterHomeImplicit::_narrow (_serv);
4377 if (_myserv) {
4378 Auktion::ProduktFilter_ptr __res;
4379
4380 #ifdef HAVE_EXCEPTIONS
4381 try {
4382 #endif
4383 __res = _myserv->create();
4384 #ifdef HAVE_EXCEPTIONS
4385 }
4386 catch (...) {
4387 _myserv->_remove_ref();
4388 _postinvoke();
4389 throw;
4390 }
4391 #endif
4392
4393 _myserv->_remove_ref();
4394 _postinvoke ();
4395 return __res;
4396 }
4397 _postinvoke ();
4398 }
4399
4400 return Auktion::FilterHomeImplicit_stub::create();
4401 }
4402
4403 #endif // MICO_CONF_NO_POA
4404
4405
4406
4407
4408 Auktion::FilterHome::~FilterHome()
4409 {
4410 }
4411
4412 void *
4413 Auktion::FilterHome::_narrow_helper( const char *_repoid )
4414 {
4415 if( strcmp( _repoid, "IDL:r4/Auktion/FilterHome:1.0" ) == 0 )
4416 return (void *)this;
4417 {
4418 void *_p;
4419 if ((_p = Auktion::FilterHomeExplicit::_narrow_helper( _repoid )))
4420 return _p;
4421 }
4422 {
4423 void *_p;
4424 if ((_p = Auktion::FilterHomeImplicit::_narrow_helper( _repoid )))
4425 return _p;
4426 }
4427 return NULL;
4428 }
4429
4430 Auktion::FilterHome_ptr
Auktion::FilterHome::_narrow( CORBA::Object_ptr _obj )
4431 {
4432 Auktion::FilterHome_ptr _o;
4433 if( !CORBA::is_nil( _obj ) ) {
4434 void *_p;
4435 if( (_p = _obj->_narrow_helper( "IDL:r4/Auktion/FilterHome:1.0" )))
4436 return _duplicate( (Auktion::FilterHome_ptr) _p );
4437 if (!strcmp (_obj->_repoid(), "IDL:r4/Auktion/FilterHome:1.0") || _obj->_is_a_remote ("IDL:r4/Auktion/FilterHome:1.0")) {
4438 _o = new Auktion::FilterHome_stub;
4439 _o->CORBA::Object::operator=( *_obj );
4440 return _o;
4441 }
4442 }
4443 return _nil();
4444 }
4445
4446 Auktion::FilterHome_ptr
Auktion::FilterHome::_narrow( CORBA::AbstractBase_ptr _obj )
4447 {
4448 return _narrow (_obj->_to_object());
4449 }
4450
4451 class _Marshaller_Auktion_FilterHome : public ::CORBA::StaticTypeInfo {
4452 typedef Auktion::FilterHome_ptr _MICO_T;
4453 public:
4454 StaticValueType create () const;
4455 void assign (StaticValueType dst, const StaticValueType src) const;
4456 void free (StaticValueType) const;
4457 void release (StaticValueType) const;
4458 ::CORBA::Boolean demarshal (::CORBA::DataDecoder&, StaticValueType) const;
4459 void marshal (::CORBA::DataEncoder &, StaticValueType) const;
4460 };
4461
4462
4463 ::CORBA::StaticValueType _Marshaller_Auktion_FilterHome::create() const
{
4464 return (StaticValueType) new _MICO_T( 0 );
4465 }
4466
4467 void _Marshaller_Auktion_FilterHome::assign( StaticValueType d, const StaticValueType s ) const
{
4468 *(_MICO_T*) d = ::Auktion::FilterHome::_duplicate( *(_MICO_T*) s );
4469 }
4470
4471 void _Marshaller_Auktion_FilterHome::free( StaticValueType v ) const
{
4472 ::CORBA::release( *(_MICO_T *) v );
4473 delete (_MICO_T*) v;
4474 }
4475
4476 void _Marshaller_Auktion_FilterHome::release( StaticValueType v ) const
{
4477 ::CORBA::release( *(_MICO_T *) v );
4478 }
4479
4480 ::CORBA::Boolean _Marshaller_Auktion_FilterHome::demarshal( ::CORBA::DataDecoder &dc, StaticValueType v ) const
{
4481 ::CORBA::Object_ptr obj;
4482 if (!::CORBA::_stc_Object->demarshal(dc, &obj))
4483 return FALSE;
4484 *(_MICO_T *) v = ::Auktion::FilterHome::_narrow( obj );
4485 ::CORBA::Boolean ret = ::CORBA::is_nil (obj) || !::CORBA::is_nil (*(_MICO_T *)v);
4486 ::CORBA::release (obj);
4487 return ret;
4488 }
4489
4490 void _Marshaller_Auktion_FilterHome::marshal( ::CORBA::DataEncoder &ec, StaticValueType v ) const
{
4491 ::CORBA::Object_ptr obj = *(_MICO_T *) v;
4492 ::CORBA::_stc_Object->marshal( ec, &obj );
4493 }
4494
4495 ::CORBA::StaticTypeInfo *_marshaller_Auktion_FilterHome;
4496
4497
4498
4499
4500 Auktion::FilterHome_stub::~FilterHome_stub()
4501 {
4502 }
4503
4504 #ifndef MICO_CONF_NO_POA
4505
4506 void *
4507 POA_Auktion::FilterHome::_narrow_helper (const char * repoid)
4508 {
4509 void * p;
4510 if (strcmp (repoid, "IDL:r4/Auktion/FilterHome:1.0") == 0) {
4511 return (void *) this;
4512 }
4513 if ((p = POA_Auktion::FilterHomeExplicit::_narrow_helper (repoid)) != NULL)
4514 {
4515 return p;
4516 }
4517 if ((p = POA_Auktion::FilterHomeImplicit::_narrow_helper (repoid)) != NULL)
4518 {
4519 return p;
4520 }
4521 return NULL;
4522 }
4523
4524 POA_Auktion::FilterHome *
4525 POA_Auktion::FilterHome::_narrow (PortableServer::Servant serv)
4526 {
4527 void * p;
4528 if ((p = serv->_narrow_helper ("IDL:r4/Auktion/FilterHome:1.0")) != NULL) {
4529 serv->_add_ref ();
4530 return (POA_Auktion::FilterHome *) p;
4531 }
4532 return NULL;
4533 }
4534
4535 Auktion::FilterHome_stub_clp::FilterHome_stub_clp ()
4536 {
4537 }
4538
4539 Auktion::FilterHome_stub_clp::FilterHome_stub_clp (PortableServer::POA_ptr poa, CORBA::Object_ptr obj)
4540 : CORBA::Object(*obj), PortableServer::StubBase(poa)
4541 {
4542 }
4543
4544 Auktion::FilterHome_stub_clp::~FilterHome_stub_clp ()
4545 {
4546 }
4547
4548 #endif // MICO_CONF_NO_POA
4549
4550
4551
4552
4553 Auktion::CCM_FilterHomeExplicit::~CCM_FilterHomeExplicit()
4554 {
4555 }
4556
4557 void *
4558 Auktion::CCM_FilterHomeExplicit::_narrow_helper( const char *_repoid )
4559 {
4560 if( strcmp( _repoid, "IDL:r4/Auktion/CCM_FilterHomeExplicit:1.0" ) == 0 )
4561 return (void *)this;
4562 {
4563 void *_p;
4564 if ((_p = Components::HomeExecutorBase::_narrow_helper( _repoid )))
4565 return _p;
4566 }
4567 return NULL;
4568 }
4569
4570 Auktion::CCM_FilterHomeExplicit_ptr
Auktion::CCM_FilterHomeExplicit::_narrow( CORBA::Object_ptr _obj )
4571 {
4572 if( !CORBA::is_nil( _obj ) ) {
4573 void *_p;
4574 if( (_p = _obj->_narrow_helper( "IDL:r4/Auktion/CCM_FilterHomeExplicit:1.0" )))
4575 return _duplicate( (Auktion::CCM_FilterHomeExplicit_ptr) _p );
4576 }
4577 return _nil();
4578 }
4579
4580 Auktion::CCM_FilterHomeExplicit_ptr
Auktion::CCM_FilterHomeExplicit::_narrow( CORBA::AbstractBase_ptr _obj )
4581 {
4582 return _narrow (_obj->_to_object());
4583 }
4584
4585
4586
4587
4588
4589 Auktion::CCM_FilterHomeImplicit::~CCM_FilterHomeImplicit()
4590 {
4591 }
4592
4593 void *
4594 Auktion::CCM_FilterHomeImplicit::_narrow_helper( const char *_repoid )
4595 {
4596 if( strcmp( _repoid, "IDL:r4/Auktion/CCM_FilterHomeImplicit:1.0" ) == 0 )
4597 return (void *)this;
4598 {
4599 void *_p;
4600 if ((_p = ::CORBA::LocalObject::_narrow_helper (_repoid)))
4601 return _p;
4602 }
4603 return NULL;
4604 }
4605
4606 Auktion::CCM_FilterHomeImplicit_ptr
Auktion::CCM_FilterHomeImplicit::_narrow( CORBA::Object_ptr _obj )
4607 {
4608 if( !CORBA::is_nil( _obj ) ) {
4609 void *_p;
4610 if( (_p = _obj->_narrow_helper( "IDL:r4/Auktion/CCM_FilterHomeImplicit:1.0" )))
4611 return _duplicate( (Auktion::CCM_FilterHomeImplicit_ptr) _p );
4612 }
4613 return _nil();
4614 }
4615
4616 Auktion::CCM_FilterHomeImplicit_ptr
Auktion::CCM_FilterHomeImplicit::_narrow( CORBA::AbstractBase_ptr _obj )
4617 {
4618 return _narrow (_obj->_to_object());
4619 }
4620
4621
4622
4623
4624
4625 Auktion::CCM_FilterHome::~CCM_FilterHome()
4626 {
4627 }
4628
4629 void *
4630 Auktion::CCM_FilterHome::_narrow_helper( const char *_repoid )
4631 {
4632 if( strcmp( _repoid, "IDL:r4/Auktion/CCM_FilterHome:1.0" ) == 0 )
4633 return (void *)this;
4634 {
4635 void *_p;
4636 if ((_p = Auktion::CCM_FilterHomeExplicit::_narrow_helper( _repoid )))
4637 return _p;
4638 }
4639 {
4640 void *_p;
4641 if ((_p = Auktion::CCM_FilterHomeImplicit::_narrow_helper( _repoid )))
4642 return _p;
4643 }
4644 return NULL;
4645 }
4646
4647 Auktion::CCM_FilterHome_ptr
Auktion::CCM_FilterHome::_narrow( CORBA::Object_ptr _obj )
4648 {
4649 if( !CORBA::is_nil( _obj ) ) {
4650 void *_p;
4651 if( (_p = _obj->_narrow_helper( "IDL:r4/Auktion/CCM_FilterHome:1.0" )))
4652 return _duplicate( (Auktion::CCM_FilterHome_ptr) _p );
4653 }
4654 return _nil();
4655 }
4656
4657 Auktion::CCM_FilterHome_ptr
Auktion::CCM_FilterHome::_narrow( CORBA::AbstractBase_ptr _obj )
4658 {
4659 return _narrow (_obj->_to_object());
4660 }
4661
4662
4663
4664
4665
4666 Auktion::BieterHomeExplicit::~BieterHomeExplicit()
4667 {
4668 }
4669
4670 void *
4671 Auktion::BieterHomeExplicit::_narrow_helper( const char *_repoid )
4672 {
4673 if( strcmp( _repoid, "IDL:r4/Auktion/BieterHomeExplicit:1.0" ) == 0 )
4674 return (void *)this;
4675 {
4676 void *_p;
4677 if ((_p = Components::CCMHome::_narrow_helper( _repoid )))
4678 return _p;
4679 }
4680 return NULL;
4681 }
4682
4683 Auktion::BieterHomeExplicit_ptr
Auktion::BieterHomeExplicit::_narrow( CORBA::Object_ptr _obj )
4684 {
4685 Auktion::BieterHomeExplicit_ptr _o;
4686 if( !CORBA::is_nil( _obj ) ) {
4687 void *_p;
4688 if( (_p = _obj->_narrow_helper( "IDL:r4/Auktion/BieterHomeExplicit:1.0" )))
4689 return _duplicate( (Auktion::BieterHomeExplicit_ptr) _p );
4690 if (!strcmp (_obj->_repoid(), "IDL:r4/Auktion/BieterHomeExplicit:1.0") || _obj->_is_a_remote ("IDL:r4/Auktion/BieterHomeExplicit:1.0")) {
4691 _o = new Auktion::BieterHomeExplicit_stub;
4692 _o->CORBA::Object::operator=( *_obj );
4693 return _o;
4694 }
4695 }
4696 return _nil();
4697 }
4698
4699 Auktion::BieterHomeExplicit_ptr
Auktion::BieterHomeExplicit::_narrow( CORBA::AbstractBase_ptr _obj )
4700 {
4701 return _narrow (_obj->_to_object());
4702 }
4703
4704 class _Marshaller_Auktion_BieterHomeExplicit : public ::CORBA::StaticTypeInfo {
4705 typedef Auktion::BieterHomeExplicit_ptr _MICO_T;
4706 public:
4707 StaticValueType create () const;
4708 void assign (StaticValueType dst, const StaticValueType src) const;
4709 void free (StaticValueType) const;
4710 void release (StaticValueType) const;
4711 ::CORBA::Boolean demarshal (::CORBA::DataDecoder&, StaticValueType) const;
4712 void marshal (::CORBA::DataEncoder &, StaticValueType) const;
4713 };
4714
4715
4716 ::CORBA::StaticValueType _Marshaller_Auktion_BieterHomeExplicit::create() const
{
4717 return (StaticValueType) new _MICO_T( 0 );
4718 }
4719
4720 void _Marshaller_Auktion_BieterHomeExplicit::assign( StaticValueType d, const StaticValueType s ) const
{
4721 *(_MICO_T*) d = ::Auktion::BieterHomeExplicit::_duplicate( *(_MICO_T*) s );
4722 }
4723
4724 void _Marshaller_Auktion_BieterHomeExplicit::free( StaticValueType v ) const
{
4725 ::CORBA::release( *(_MICO_T *) v );
4726 delete (_MICO_T*) v;
4727 }
4728
4729 void _Marshaller_Auktion_BieterHomeExplicit::release( StaticValueType v ) const
{
4730 ::CORBA::release( *(_MICO_T *) v );
4731 }
4732
4733 ::CORBA::Boolean _Marshaller_Auktion_BieterHomeExplicit::demarshal( ::CORBA::DataDecoder &dc, StaticValueType v ) const
{
4734 ::CORBA::Object_ptr obj;
4735 if (!::CORBA::_stc_Object->demarshal(dc, &obj))
4736 return FALSE;
4737 *(_MICO_T *) v = ::Auktion::BieterHomeExplicit::_narrow( obj );
4738 ::CORBA::Boolean ret = ::CORBA::is_nil (obj) || !::CORBA::is_nil (*(_MICO_T *)v);
4739 ::CORBA::release (obj);
4740 return ret;
4741 }
4742
4743 void _Marshaller_Auktion_BieterHomeExplicit::marshal( ::CORBA::DataEncoder &ec, StaticValueType v ) const
{
4744 ::CORBA::Object_ptr obj = *(_MICO_T *) v;
4745 ::CORBA::_stc_Object->marshal( ec, &obj );
4746 }
4747
4748 ::CORBA::StaticTypeInfo *_marshaller_Auktion_BieterHomeExplicit;
4749
4750
4751
4752
4753 Auktion::BieterHomeExplicit_stub::~BieterHomeExplicit_stub()
4754 {
4755 }
4756
4757 #ifndef MICO_CONF_NO_POA
4758
4759 void *
4760 POA_Auktion::BieterHomeExplicit::_narrow_helper (const char * repoid)
4761 {
4762 void * p;
4763 if (strcmp (repoid, "IDL:r4/Auktion/BieterHomeExplicit:1.0") == 0) {
4764 return (void *) this;
4765 }
4766 if ((p = POA_Components::CCMHome::_narrow_helper (repoid)) != NULL)
4767 {
4768 return p;
4769 }
4770 return NULL;
4771 }
4772
4773 POA_Auktion::BieterHomeExplicit *
4774 POA_Auktion::BieterHomeExplicit::_narrow (PortableServer::Servant serv)
4775 {
4776 void * p;
4777 if ((p = serv->_narrow_helper ("IDL:r4/Auktion/BieterHomeExplicit:1.0")) != NULL) {
4778 serv->_add_ref ();
4779 return (POA_Auktion::BieterHomeExplicit *) p;
4780 }
4781 return NULL;
4782 }
4783
4784 Auktion::BieterHomeExplicit_stub_clp::BieterHomeExplicit_stub_clp ()
4785 {
4786 }
4787
4788 Auktion::BieterHomeExplicit_stub_clp::BieterHomeExplicit_stub_clp (PortableServer::POA_ptr poa, CORBA::Object_ptr obj)
4789 : CORBA::Object(*obj), PortableServer::StubBase(poa)
4790 {
4791 }
4792
4793 Auktion::BieterHomeExplicit_stub_clp::~BieterHomeExplicit_stub_clp ()
4794 {
4795 }
4796
4797 #endif // MICO_CONF_NO_POA
4798
4799
4800
4801
4802 Auktion::BieterHomeImplicit::~BieterHomeImplicit()
4803 {
4804 }
4805
4806 void *
4807 Auktion::BieterHomeImplicit::_narrow_helper( const char *_repoid )
4808 {
4809 if( strcmp( _repoid, "IDL:r4/Auktion/BieterHomeImplicit:1.0" ) == 0 )
4810 return (void *)this;
4811 {
4812 void *_p;
4813 if ((_p = Components::KeylessCCMHome::_narrow_helper( _repoid )))
4814 return _p;
4815 }
4816 return NULL;
4817 }
4818
4819 Auktion::BieterHomeImplicit_ptr
Auktion::BieterHomeImplicit::_narrow( CORBA::Object_ptr _obj )
4820 {
4821 Auktion::BieterHomeImplicit_ptr _o;
4822 if( !CORBA::is_nil( _obj ) ) {
4823 void *_p;
4824 if( (_p = _obj->_narrow_helper( "IDL:r4/Auktion/BieterHomeImplicit:1.0" )))
4825 return _duplicate( (Auktion::BieterHomeImplicit_ptr) _p );
4826 if (!strcmp (_obj->_repoid(), "IDL:r4/Auktion/BieterHomeImplicit:1.0") || _obj->_is_a_remote ("IDL:r4/Auktion/BieterHomeImplicit:1.0")) {
4827 _o = new Auktion::BieterHomeImplicit_stub;
4828 _o->CORBA::Object::operator=( *_obj );
4829 return _o;
4830 }
4831 }
4832 return _nil();
4833 }
4834
4835 Auktion::BieterHomeImplicit_ptr
Auktion::BieterHomeImplicit::_narrow( CORBA::AbstractBase_ptr _obj )
4836 {
4837 return _narrow (_obj->_to_object());
4838 }
4839
4840 class _Marshaller_Auktion_BieterHomeImplicit : public ::CORBA::StaticTypeInfo {
4841 typedef Auktion::BieterHomeImplicit_ptr _MICO_T;
4842 public:
4843 StaticValueType create () const;
4844 void assign (StaticValueType dst, const StaticValueType src) const;
4845 void free (StaticValueType) const;
4846 void release (StaticValueType) const;
4847 ::CORBA::Boolean demarshal (::CORBA::DataDecoder&, StaticValueType) const;
4848 void marshal (::CORBA::DataEncoder &, StaticValueType) const;
4849 };
4850
4851
4852 ::CORBA::StaticValueType _Marshaller_Auktion_BieterHomeImplicit::create() const
{
4853 return (StaticValueType) new _MICO_T( 0 );
4854 }
4855
4856 void _Marshaller_Auktion_BieterHomeImplicit::assign( StaticValueType d, const StaticValueType s ) const
{
4857 *(_MICO_T*) d = ::Auktion::BieterHomeImplicit::_duplicate( *(_MICO_T*) s );
4858 }
4859
4860 void _Marshaller_Auktion_BieterHomeImplicit::free( StaticValueType v ) const
{
4861 ::CORBA::release( *(_MICO_T *) v );
4862 delete (_MICO_T*) v;
4863 }
4864
4865 void _Marshaller_Auktion_BieterHomeImplicit::release( StaticValueType v ) const
{
4866 ::CORBA::release( *(_MICO_T *) v );
4867 }
4868
4869 ::CORBA::Boolean _Marshaller_Auktion_BieterHomeImplicit::demarshal( ::CORBA::DataDecoder &dc, StaticValueType v ) const
{
4870 ::CORBA::Object_ptr obj;
4871 if (!::CORBA::_stc_Object->demarshal(dc, &obj))
4872 return FALSE;
4873 *(_MICO_T *) v = ::Auktion::BieterHomeImplicit::_narrow( obj );
4874 ::CORBA::Boolean ret = ::CORBA::is_nil (obj) || !::CORBA::is_nil (*(_MICO_T *)v);
4875 ::CORBA::release (obj);
4876 return ret;
4877 }
4878
4879 void _Marshaller_Auktion_BieterHomeImplicit::marshal( ::CORBA::DataEncoder &ec, StaticValueType v ) const
{
4880 ::CORBA::Object_ptr obj = *(_MICO_T *) v;
4881 ::CORBA::_stc_Object->marshal( ec, &obj );
4882 }
4883
4884 ::CORBA::StaticTypeInfo *_marshaller_Auktion_BieterHomeImplicit;
4885
4886
4887
4888
4889 Auktion::BieterHomeImplicit_stub::~BieterHomeImplicit_stub()
4890 {
4891 }
4892
4893 #ifndef MICO_CONF_NO_POA
4894
4895 void *
4896 POA_Auktion::BieterHomeImplicit::_narrow_helper (const char * repoid)
4897 {
4898 void * p;
4899 if (strcmp (repoid, "IDL:r4/Auktion/BieterHomeImplicit:1.0") == 0) {
4900 return (void *) this;
4901 }
4902 if ((p = POA_Components::KeylessCCMHome::_narrow_helper (repoid)) != NULL)
4903 {
4904 return p;
4905 }
4906 return NULL;
4907 }
4908
4909 POA_Auktion::BieterHomeImplicit *
4910 POA_Auktion::BieterHomeImplicit::_narrow (PortableServer::Servant serv)
4911 {
4912 void * p;
4913 if ((p = serv->_narrow_helper ("IDL:r4/Auktion/BieterHomeImplicit:1.0")) != NULL) {
4914 serv->_add_ref ();
4915 return (POA_Auktion::BieterHomeImplicit *) p;
4916 }
4917 return NULL;
4918 }
4919
4920 Auktion::BieterHomeImplicit_stub_clp::BieterHomeImplicit_stub_clp ()
4921 {
4922 }
4923
4924 Auktion::BieterHomeImplicit_stub_clp::BieterHomeImplicit_stub_clp (PortableServer::POA_ptr poa, CORBA::Object_ptr obj)
4925 : CORBA::Object(*obj), PortableServer::StubBase(poa)
4926 {
4927 }
4928
4929 Auktion::BieterHomeImplicit_stub_clp::~BieterHomeImplicit_stub_clp ()
4930 {
4931 }
4932
4933 #endif // MICO_CONF_NO_POA
4934
4935 Auktion::Bieter_ptr Auktion::BieterHomeImplicit_stub::create()
4936 {
4937 Auktion::Bieter_ptr _res;
4938 CORBA::StaticAny __res( _marshaller_Auktion_Bieter, &_res );
4939
4940 CORBA::StaticRequest __req( this, "create" );
4941 __req.set_result( &__res );
4942
4943 __req.invoke();
4944
4945 mico_sii_throw( &__req,
4946 0);
4947 return _res;
4948 }
4949
4950
4951 #ifndef MICO_CONF_NO_POA
4952
4953 Auktion::Bieter_ptr
Auktion::BieterHomeImplicit_stub_clp::create()
4954 {
4955 PortableServer::Servant _serv = _preinvoke ();
4956 if (_serv) {
4957 POA_Auktion::BieterHomeImplicit * _myserv = POA_Auktion::BieterHomeImplicit::_narrow (_serv);
4958 if (_myserv) {
4959 Auktion::Bieter_ptr __res;
4960
4961 #ifdef HAVE_EXCEPTIONS
4962 try {
4963 #endif
4964 __res = _myserv->create();
4965 #ifdef HAVE_EXCEPTIONS
4966 }
4967 catch (...) {
4968 _myserv->_remove_ref();
4969 _postinvoke();
4970 throw;
4971 }
4972 #endif
4973
4974 _myserv->_remove_ref();
4975 _postinvoke ();
4976 return __res;
4977 }
4978 _postinvoke ();
4979 }
4980
4981 return Auktion::BieterHomeImplicit_stub::create();
4982 }
4983
4984 #endif // MICO_CONF_NO_POA
4985
4986
4987
4988
4989 Auktion::BieterHome::~BieterHome()
4990 {
4991 }
4992
4993 void *
4994 Auktion::BieterHome::_narrow_helper( const char *_repoid )
4995 {
4996 if( strcmp( _repoid, "IDL:r4/Auktion/BieterHome:1.0" ) == 0 )
4997 return (void *)this;
4998 {
4999 void *_p;
5000 if ((_p = Auktion::BieterHomeExplicit::_narrow_helper( _repoid )))
5001 return _p;
5002 }
5003 {
5004 void *_p;
5005 if ((_p = Auktion::BieterHomeImplicit::_narrow_helper( _repoid )))
5006 return _p;
5007 }
5008 return NULL;
5009 }
5010
5011 Auktion::BieterHome_ptr
Auktion::BieterHome::_narrow( CORBA::Object_ptr _obj )
5012 {
5013 Auktion::BieterHome_ptr _o;
5014 if( !CORBA::is_nil( _obj ) ) {
5015 void *_p;
5016 if( (_p = _obj->_narrow_helper( "IDL:r4/Auktion/BieterHome:1.0" )))
5017 return _duplicate( (Auktion::BieterHome_ptr) _p );
5018 if (!strcmp (_obj->_repoid(), "IDL:r4/Auktion/BieterHome:1.0") || _obj->_is_a_remote ("IDL:r4/Auktion/BieterHome:1.0")) {
5019 _o = new Auktion::BieterHome_stub;
5020 _o->CORBA::Object::operator=( *_obj );
5021 return _o;
5022 }
5023 }
5024 return _nil();
5025 }
5026
5027 Auktion::BieterHome_ptr
Auktion::BieterHome::_narrow( CORBA::AbstractBase_ptr _obj )
5028 {
5029 return _narrow (_obj->_to_object());
5030 }
5031
5032 class _Marshaller_Auktion_BieterHome : public ::CORBA::StaticTypeInfo {
5033 typedef Auktion::BieterHome_ptr _MICO_T;
5034 public:
5035 StaticValueType create () const;
5036 void assign (StaticValueType dst, const StaticValueType src) const;
5037 void free (StaticValueType) const;
5038 void release (StaticValueType) const;
5039 ::CORBA::Boolean demarshal (::CORBA::DataDecoder&, StaticValueType) const;
5040 void marshal (::CORBA::DataEncoder &, StaticValueType) const;
5041 };
5042
5043
5044 ::CORBA::StaticValueType _Marshaller_Auktion_BieterHome::create() const
{
5045 return (StaticValueType) new _MICO_T( 0 );
5046 }
5047
5048 void _Marshaller_Auktion_BieterHome::assign( StaticValueType d, const StaticValueType s ) const
{
5049 *(_MICO_T*) d = ::Auktion::BieterHome::_duplicate( *(_MICO_T*) s );
5050 }
5051
5052 void _Marshaller_Auktion_BieterHome::free( StaticValueType v ) const
{
5053 ::CORBA::release( *(_MICO_T *) v );
5054 delete (_MICO_T*) v;
5055 }
5056
5057 void _Marshaller_Auktion_BieterHome::release( StaticValueType v ) const
{
5058 ::CORBA::release( *(_MICO_T *) v );
5059 }
5060
5061 ::CORBA::Boolean _Marshaller_Auktion_BieterHome::demarshal( ::CORBA::DataDecoder &dc, StaticValueType v ) const
{
5062 ::CORBA::Object_ptr obj;
5063 if (!::CORBA::_stc_Object->demarshal(dc, &obj))
5064 return FALSE;
5065 *(_MICO_T *) v = ::Auktion::BieterHome::_narrow( obj );
5066 ::CORBA::Boolean ret = ::CORBA::is_nil (obj) || !::CORBA::is_nil (*(_MICO_T *)v);
5067 ::CORBA::release (obj);
5068 return ret;
5069 }
5070
5071 void _Marshaller_Auktion_BieterHome::marshal( ::CORBA::DataEncoder &ec, StaticValueType v ) const
{
5072 ::CORBA::Object_ptr obj = *(_MICO_T *) v;
5073 ::CORBA::_stc_Object->marshal( ec, &obj );
5074 }
5075
5076 ::CORBA::StaticTypeInfo *_marshaller_Auktion_BieterHome;
5077
5078
5079
5080
5081 Auktion::BieterHome_stub::~BieterHome_stub()
5082 {
5083 }
5084
5085 #ifndef MICO_CONF_NO_POA
5086
5087 void *
5088 POA_Auktion::BieterHome::_narrow_helper (const char * repoid)
5089 {
5090 void * p;
5091 if (strcmp (repoid, "IDL:r4/Auktion/BieterHome:1.0") == 0) {
5092 return (void *) this;
5093 }
5094 if ((p = POA_Auktion::BieterHomeExplicit::_narrow_helper (repoid)) != NULL)
5095 {
5096 return p;
5097 }
5098 if ((p = POA_Auktion::BieterHomeImplicit::_narrow_helper (repoid)) != NULL)
5099 {
5100 return p;
5101 }
5102 return NULL;
5103 }
5104
5105 POA_Auktion::BieterHome *
5106 POA_Auktion::BieterHome::_narrow (PortableServer::Servant serv)
5107 {
5108 void * p;
5109 if ((p = serv->_narrow_helper ("IDL:r4/Auktion/BieterHome:1.0")) != NULL) {
5110 serv->_add_ref ();
5111 return (POA_Auktion::BieterHome *) p;
5112 }
5113 return NULL;
5114 }
5115
5116 Auktion::BieterHome_stub_clp::BieterHome_stub_clp ()
5117 {
5118 }
5119
5120 Auktion::BieterHome_stub_clp::BieterHome_stub_clp (PortableServer::POA_ptr poa, CORBA::Object_ptr obj)
5121 : CORBA::Object(*obj), PortableServer::StubBase(poa)
5122 {
5123 }
5124
5125 Auktion::BieterHome_stub_clp::~BieterHome_stub_clp ()
5126 {
5127 }
5128
5129 #endif // MICO_CONF_NO_POA
5130
5131
5132
5133
5134 Auktion::CCM_BieterHomeExplicit::~CCM_BieterHomeExplicit()
5135 {
5136 }
5137
5138 void *
5139 Auktion::CCM_BieterHomeExplicit::_narrow_helper( const char *_repoid )
5140 {
5141 if( strcmp( _repoid, "IDL:r4/Auktion/CCM_BieterHomeExplicit:1.0" ) == 0 )
5142 return (void *)this;
5143 {
5144 void *_p;
5145 if ((_p = Components::HomeExecutorBase::_narrow_helper( _repoid )))
5146 return _p;
5147 }
5148 return NULL;
5149 }
5150
5151 Auktion::CCM_BieterHomeExplicit_ptr
Auktion::CCM_BieterHomeExplicit::_narrow( CORBA::Object_ptr _obj )
5152 {
5153 if( !CORBA::is_nil( _obj ) ) {
5154 void *_p;
5155 if( (_p = _obj->_narrow_helper( "IDL:r4/Auktion/CCM_BieterHomeExplicit:1.0" )))
5156 return _duplicate( (Auktion::CCM_BieterHomeExplicit_ptr) _p );
5157 }
5158 return _nil();
5159 }
5160
5161 Auktion::CCM_BieterHomeExplicit_ptr
Auktion::CCM_BieterHomeExplicit::_narrow( CORBA::AbstractBase_ptr _obj )
5162 {
5163 return _narrow (_obj->_to_object());
5164 }
5165
5166
5167
5168
5169
5170 Auktion::CCM_BieterHomeImplicit::~CCM_BieterHomeImplicit()
5171 {
5172 }
5173
5174 void *
5175 Auktion::CCM_BieterHomeImplicit::_narrow_helper( const char *_repoid )
5176 {
5177 if( strcmp( _repoid, "IDL:r4/Auktion/CCM_BieterHomeImplicit:1.0" ) == 0 )
5178 return (void *)this;
5179 {
5180 void *_p;
5181 if ((_p = ::CORBA::LocalObject::_narrow_helper (_repoid)))
5182 return _p;
5183 }
5184 return NULL;
5185 }
5186
5187 Auktion::CCM_BieterHomeImplicit_ptr
Auktion::CCM_BieterHomeImplicit::_narrow( CORBA::Object_ptr _obj )
5188 {
5189 if( !CORBA::is_nil( _obj ) ) {
5190 void *_p;
5191 if( (_p = _obj->_narrow_helper( "IDL:r4/Auktion/CCM_BieterHomeImplicit:1.0" )))
5192 return _duplicate( (Auktion::CCM_BieterHomeImplicit_ptr) _p );
5193 }
5194 return _nil();
5195 }
5196
5197 Auktion::CCM_BieterHomeImplicit_ptr
Auktion::CCM_BieterHomeImplicit::_narrow( CORBA::AbstractBase_ptr _obj )
5198 {
5199 return _narrow (_obj->_to_object());
5200 }
5201
5202
5203
5204
5205
5206 Auktion::CCM_BieterHome::~CCM_BieterHome()
5207 {
5208 }
5209
5210 void *
5211 Auktion::CCM_BieterHome::_narrow_helper( const char *_repoid )
5212 {
5213 if( strcmp( _repoid, "IDL:r4/Auktion/CCM_BieterHome:1.0" ) == 0 )
5214 return (void *)this;
5215 {
5216 void *_p;
5217 if ((_p = Auktion::CCM_BieterHomeExplicit::_narrow_helper( _repoid )))
5218 return _p;
5219 }
5220 {
5221 void *_p;
5222 if ((_p = Auktion::CCM_BieterHomeImplicit::_narrow_helper( _repoid )))
5223 return _p;
5224 }
5225 return NULL;
5226 }
5227
5228 Auktion::CCM_BieterHome_ptr
Auktion::CCM_BieterHome::_narrow( CORBA::Object_ptr _obj )
5229 {
5230 if( !CORBA::is_nil( _obj ) ) {
5231 void *_p;
5232 if( (_p = _obj->_narrow_helper( "IDL:r4/Auktion/CCM_BieterHome:1.0" )))
5233 return _duplicate( (Auktion::CCM_BieterHome_ptr) _p );
5234 }
5235 return _nil();
5236 }
5237
5238 Auktion::CCM_BieterHome_ptr
Auktion::CCM_BieterHome::_narrow( CORBA::AbstractBase_ptr _obj )
5239 {
5240 return _narrow (_obj->_to_object());
5241 }
5242
5243
5244
5245
5246
5247 Auktion::VerkaeuferHomeExplicit::~VerkaeuferHomeExplicit()
5248 {
5249 }
5250
5251 void *
5252 Auktion::VerkaeuferHomeExplicit::_narrow_helper( const char *_repoid )
5253 {
5254 if( strcmp( _repoid, "IDL:r4/Auktion/VerkaeuferHomeExplicit:1.0" ) == 0 )
5255 return (void *)this;
5256 {
5257 void *_p;
5258 if ((_p = Components::CCMHome::_narrow_helper( _repoid )))
5259 return _p;
5260 }
5261 return NULL;
5262 }
5263
5264 Auktion::VerkaeuferHomeExplicit_ptr
Auktion::VerkaeuferHomeExplicit::_narrow( CORBA::Object_ptr _obj )
5265 {
5266 Auktion::VerkaeuferHomeExplicit_ptr _o;
5267 if( !CORBA::is_nil( _obj ) ) {
5268 void *_p;
5269 if( (_p = _obj->_narrow_helper( "IDL:r4/Auktion/VerkaeuferHomeExplicit:1.0" )))
5270 return _duplicate( (Auktion::VerkaeuferHomeExplicit_ptr) _p );
5271 if (!strcmp (_obj->_repoid(), "IDL:r4/Auktion/VerkaeuferHomeExplicit:1.0") || _obj->_is_a_remote ("IDL:r4/Auktion/VerkaeuferHomeExplicit:1.0")) {
5272 _o = new Auktion::VerkaeuferHomeExplicit_stub;
5273 _o->CORBA::Object::operator=( *_obj );
5274 return _o;
5275 }
5276 }
5277 return _nil();
5278 }
5279
5280 Auktion::VerkaeuferHomeExplicit_ptr
Auktion::VerkaeuferHomeExplicit::_narrow( CORBA::AbstractBase_ptr _obj )
5281 {
5282 return _narrow (_obj->_to_object());
5283 }
5284
5285 class _Marshaller_Auktion_VerkaeuferHomeExplicit : public ::CORBA::StaticTypeInfo {
5286 typedef Auktion::VerkaeuferHomeExplicit_ptr _MICO_T;
5287 public:
5288 StaticValueType create () const;
5289 void assign (StaticValueType dst, const StaticValueType src) const;
5290 void free (StaticValueType) const;
5291 void release (StaticValueType) const;
5292 ::CORBA::Boolean demarshal (::CORBA::DataDecoder&, StaticValueType) const;
5293 void marshal (::CORBA::DataEncoder &, StaticValueType) const;
5294 };
5295
5296
5297 ::CORBA::StaticValueType _Marshaller_Auktion_VerkaeuferHomeExplicit::create() const
{
5298 return (StaticValueType) new _MICO_T( 0 );
5299 }
5300
5301 void _Marshaller_Auktion_VerkaeuferHomeExplicit::assign( StaticValueType d, const StaticValueType s ) const
{
5302 *(_MICO_T*) d = ::Auktion::VerkaeuferHomeExplicit::_duplicate( *(_MICO_T*) s );
5303 }
5304
5305 void _Marshaller_Auktion_VerkaeuferHomeExplicit::free( StaticValueType v ) const
{
5306 ::CORBA::release( *(_MICO_T *) v );
5307 delete (_MICO_T*) v;
5308 }
5309
5310 void _Marshaller_Auktion_VerkaeuferHomeExplicit::release( StaticValueType v ) const
{
5311 ::CORBA::release( *(_MICO_T *) v );
5312 }
5313
5314 ::CORBA::Boolean _Marshaller_Auktion_VerkaeuferHomeExplicit::demarshal( ::CORBA::DataDecoder &dc, StaticValueType v ) const
{
5315 ::CORBA::Object_ptr obj;
5316 if (!::CORBA::_stc_Object->demarshal(dc, &obj))
5317 return FALSE;
5318 *(_MICO_T *) v = ::Auktion::VerkaeuferHomeExplicit::_narrow( obj );
5319 ::CORBA::Boolean ret = ::CORBA::is_nil (obj) || !::CORBA::is_nil (*(_MICO_T *)v);
5320 ::CORBA::release (obj);
5321 return ret;
5322 }
5323
5324 void _Marshaller_Auktion_VerkaeuferHomeExplicit::marshal( ::CORBA::DataEncoder &ec, StaticValueType v ) const
{
5325 ::CORBA::Object_ptr obj = *(_MICO_T *) v;
5326 ::CORBA::_stc_Object->marshal( ec, &obj );
5327 }
5328
5329 ::CORBA::StaticTypeInfo *_marshaller_Auktion_VerkaeuferHomeExplicit;
5330
5331
5332
5333
5334 Auktion::VerkaeuferHomeExplicit_stub::~VerkaeuferHomeExplicit_stub()
5335 {
5336 }
5337
5338 #ifndef MICO_CONF_NO_POA
5339
5340 void *
5341 POA_Auktion::VerkaeuferHomeExplicit::_narrow_helper (const char * repoid)
5342 {
5343 void * p;
5344 if (strcmp (repoid, "IDL:r4/Auktion/VerkaeuferHomeExplicit:1.0") == 0) {
5345 return (void *) this;
5346 }
5347 if ((p = POA_Components::CCMHome::_narrow_helper (repoid)) != NULL)
5348 {
5349 return p;
5350 }
5351 return NULL;
5352 }
5353
5354 POA_Auktion::VerkaeuferHomeExplicit *
5355 POA_Auktion::VerkaeuferHomeExplicit::_narrow (PortableServer::Servant serv)
5356 {
5357 void * p;
5358 if ((p = serv->_narrow_helper ("IDL:r4/Auktion/VerkaeuferHomeExplicit:1.0")) != NULL) {
5359 serv->_add_ref ();
5360 return (POA_Auktion::VerkaeuferHomeExplicit *) p;
5361 }
5362 return NULL;
5363 }
5364
5365 Auktion::VerkaeuferHomeExplicit_stub_clp::VerkaeuferHomeExplicit_stub_clp ()
5366 {
5367 }
5368
5369 Auktion::VerkaeuferHomeExplicit_stub_clp::VerkaeuferHomeExplicit_stub_clp (PortableServer::POA_ptr poa, CORBA::Object_ptr obj)
5370 : CORBA::Object(*obj), PortableServer::StubBase(poa)
5371 {
5372 }
5373
5374 Auktion::VerkaeuferHomeExplicit_stub_clp::~VerkaeuferHomeExplicit_stub_clp ()
5375 {
5376 }
5377
5378 #endif // MICO_CONF_NO_POA
5379
5380
5381
5382
5383 Auktion::VerkaeuferHomeImplicit::~VerkaeuferHomeImplicit()
5384 {
5385 }
5386
5387 void *
5388 Auktion::VerkaeuferHomeImplicit::_narrow_helper( const char *_repoid )
5389 {
5390 if( strcmp( _repoid, "IDL:r4/Auktion/VerkaeuferHomeImplicit:1.0" ) == 0 )
5391 return (void *)this;
5392 {
5393 void *_p;
5394 if ((_p = Components::KeylessCCMHome::_narrow_helper( _repoid )))
5395 return _p;
5396 }
5397 return NULL;
5398 }
5399
5400 Auktion::VerkaeuferHomeImplicit_ptr
Auktion::VerkaeuferHomeImplicit::_narrow( CORBA::Object_ptr _obj )
5401 {
5402 Auktion::VerkaeuferHomeImplicit_ptr _o;
5403 if( !CORBA::is_nil( _obj ) ) {
5404 void *_p;
5405 if( (_p = _obj->_narrow_helper( "IDL:r4/Auktion/VerkaeuferHomeImplicit:1.0" )))
5406 return _duplicate( (Auktion::VerkaeuferHomeImplicit_ptr) _p );
5407 if (!strcmp (_obj->_repoid(), "IDL:r4/Auktion/VerkaeuferHomeImplicit:1.0") || _obj->_is_a_remote ("IDL:r4/Auktion/VerkaeuferHomeImplicit:1.0")) {
5408 _o = new Auktion::VerkaeuferHomeImplicit_stub;
5409 _o->CORBA::Object::operator=( *_obj );
5410 return _o;
5411 }
5412 }
5413 return _nil();
5414 }
5415
5416 Auktion::VerkaeuferHomeImplicit_ptr
Auktion::VerkaeuferHomeImplicit::_narrow( CORBA::AbstractBase_ptr _obj )
5417 {
5418 return _narrow (_obj->_to_object());
5419 }
5420
5421 class _Marshaller_Auktion_VerkaeuferHomeImplicit : public ::CORBA::StaticTypeInfo {
5422 typedef Auktion::VerkaeuferHomeImplicit_ptr _MICO_T;
5423 public:
5424 StaticValueType create () const;
5425 void assign (StaticValueType dst, const StaticValueType src) const;
5426 void free (StaticValueType) const;
5427 void release (StaticValueType) const;
5428 ::CORBA::Boolean demarshal (::CORBA::DataDecoder&, StaticValueType) const;
5429 void marshal (::CORBA::DataEncoder &, StaticValueType) const;
5430 };
5431
5432
5433 ::CORBA::StaticValueType _Marshaller_Auktion_VerkaeuferHomeImplicit::create() const
{
5434 return (StaticValueType) new _MICO_T( 0 );
5435 }
5436
5437 void _Marshaller_Auktion_VerkaeuferHomeImplicit::assign( StaticValueType d, const StaticValueType s ) const
{
5438 *(_MICO_T*) d = ::Auktion::VerkaeuferHomeImplicit::_duplicate( *(_MICO_T*) s );
5439 }
5440
5441 void _Marshaller_Auktion_VerkaeuferHomeImplicit::free( StaticValueType v ) const
{
5442 ::CORBA::release( *(_MICO_T *) v );
5443 delete (_MICO_T*) v;
5444 }
5445
5446 void _Marshaller_Auktion_VerkaeuferHomeImplicit::release( StaticValueType v ) const
{
5447 ::CORBA::release( *(_MICO_T *) v );
5448 }
5449
5450 ::CORBA::Boolean _Marshaller_Auktion_VerkaeuferHomeImplicit::demarshal( ::CORBA::DataDecoder &dc, StaticValueType v ) const
{
5451 ::CORBA::Object_ptr obj;
5452 if (!::CORBA::_stc_Object->demarshal(dc, &obj))
5453 return FALSE;
5454 *(_MICO_T *) v = ::Auktion::VerkaeuferHomeImplicit::_narrow( obj );
5455 ::CORBA::Boolean ret = ::CORBA::is_nil (obj) || !::CORBA::is_nil (*(_MICO_T *)v);
5456 ::CORBA::release (obj);
5457 return ret;
5458 }
5459
5460 void _Marshaller_Auktion_VerkaeuferHomeImplicit::marshal( ::CORBA::DataEncoder &ec, StaticValueType v ) const
{
5461 ::CORBA::Object_ptr obj = *(_MICO_T *) v;
5462 ::CORBA::_stc_Object->marshal( ec, &obj );
5463 }
5464
5465 ::CORBA::StaticTypeInfo *_marshaller_Auktion_VerkaeuferHomeImplicit;
5466
5467
5468
5469
5470 Auktion::VerkaeuferHomeImplicit_stub::~VerkaeuferHomeImplicit_stub()
5471 {
5472 }
5473
5474 #ifndef MICO_CONF_NO_POA
5475
5476 void *
5477 POA_Auktion::VerkaeuferHomeImplicit::_narrow_helper (const char * repoid)
5478 {
5479 void * p;
5480 if (strcmp (repoid, "IDL:r4/Auktion/VerkaeuferHomeImplicit:1.0") == 0) {
5481 return (void *) this;
5482 }
5483 if ((p = POA_Components::KeylessCCMHome::_narrow_helper (repoid)) != NULL)
5484 {
5485 return p;
5486 }
5487 return NULL;
5488 }
5489
5490 POA_Auktion::VerkaeuferHomeImplicit *
5491 POA_Auktion::VerkaeuferHomeImplicit::_narrow (PortableServer::Servant serv)
5492 {
5493 void * p;
5494 if ((p = serv->_narrow_helper ("IDL:r4/Auktion/VerkaeuferHomeImplicit:1.0")) != NULL) {
5495 serv->_add_ref ();
5496 return (POA_Auktion::VerkaeuferHomeImplicit *) p;
5497 }
5498 return NULL;
5499 }
5500
5501 Auktion::VerkaeuferHomeImplicit_stub_clp::VerkaeuferHomeImplicit_stub_clp ()
5502 {
5503 }
5504
5505 Auktion::VerkaeuferHomeImplicit_stub_clp::VerkaeuferHomeImplicit_stub_clp (PortableServer::POA_ptr poa, CORBA::Object_ptr obj)
5506 : CORBA::Object(*obj), PortableServer::StubBase(poa)
5507 {
5508 }
5509
5510 Auktion::VerkaeuferHomeImplicit_stub_clp::~VerkaeuferHomeImplicit_stub_clp ()
5511 {
5512 }
5513
5514 #endif // MICO_CONF_NO_POA
5515
5516 Auktion::Verkaeufer_ptr Auktion::VerkaeuferHomeImplicit_stub::create()
5517 {
5518 Auktion::Verkaeufer_ptr _res;
5519 CORBA::StaticAny __res( _marshaller_Auktion_Verkaeufer, &_res );
5520
5521 CORBA::StaticRequest __req( this, "create" );
5522 __req.set_result( &__res );
5523
5524 __req.invoke();
5525
5526 mico_sii_throw( &__req,
5527 0);
5528 return _res;
5529 }
5530
5531
5532 #ifndef MICO_CONF_NO_POA
5533
5534 Auktion::Verkaeufer_ptr
Auktion::VerkaeuferHomeImplicit_stub_clp::create()
5535 {
5536 PortableServer::Servant _serv = _preinvoke ();
5537 if (_serv) {
5538 POA_Auktion::VerkaeuferHomeImplicit * _myserv = POA_Auktion::VerkaeuferHomeImplicit::_narrow (_serv);
5539 if (_myserv) {
5540 Auktion::Verkaeufer_ptr __res;
5541
5542 #ifdef HAVE_EXCEPTIONS
5543 try {
5544 #endif
5545 __res = _myserv->create();
5546 #ifdef HAVE_EXCEPTIONS
5547 }
5548 catch (...) {
5549 _myserv->_remove_ref();
5550 _postinvoke();
5551 throw;
5552 }
5553 #endif
5554
5555 _myserv->_remove_ref();
5556 _postinvoke ();
5557 return __res;
5558 }
5559 _postinvoke ();
5560 }
5561
5562 return Auktion::VerkaeuferHomeImplicit_stub::create();
5563 }
5564
5565 #endif // MICO_CONF_NO_POA
5566
5567
5568
5569
5570 Auktion::VerkaeuferHome::~VerkaeuferHome()
5571 {
5572 }
5573
5574 void *
5575 Auktion::VerkaeuferHome::_narrow_helper( const char *_repoid )
5576 {
5577 if( strcmp( _repoid, "IDL:r4/Auktion/VerkaeuferHome:1.0" ) == 0 )
5578 return (void *)this;
5579 {
5580 void *_p;
5581 if ((_p = Auktion::VerkaeuferHomeExplicit::_narrow_helper( _repoid )))
5582 return _p;
5583 }
5584 {
5585 void *_p;
5586 if ((_p = Auktion::VerkaeuferHomeImplicit::_narrow_helper( _repoid )))
5587 return _p;
5588 }
5589 return NULL;
5590 }
5591
5592 Auktion::VerkaeuferHome_ptr
Auktion::VerkaeuferHome::_narrow( CORBA::Object_ptr _obj )
5593 {
5594 Auktion::VerkaeuferHome_ptr _o;
5595 if( !CORBA::is_nil( _obj ) ) {
5596 void *_p;
5597 if( (_p = _obj->_narrow_helper( "IDL:r4/Auktion/VerkaeuferHome:1.0" )))
5598 return _duplicate( (Auktion::VerkaeuferHome_ptr) _p );
5599 if (!strcmp (_obj->_repoid(), "IDL:r4/Auktion/VerkaeuferHome:1.0") || _obj->_is_a_remote ("IDL:r4/Auktion/VerkaeuferHome:1.0")) {
5600 _o = new Auktion::VerkaeuferHome_stub;
5601 _o->CORBA::Object::operator=( *_obj );
5602 return _o;
5603 }
5604 }
5605 return _nil();
5606 }
5607
5608 Auktion::VerkaeuferHome_ptr
Auktion::VerkaeuferHome::_narrow( CORBA::AbstractBase_ptr _obj )
5609 {
5610 return _narrow (_obj->_to_object());
5611 }
5612
5613 class _Marshaller_Auktion_VerkaeuferHome : public ::CORBA::StaticTypeInfo {
5614 typedef Auktion::VerkaeuferHome_ptr _MICO_T;
5615 public:
5616 StaticValueType create () const;
5617 void assign (StaticValueType dst, const StaticValueType src) const;
5618 void free (StaticValueType) const;
5619 void release (StaticValueType) const;
5620 ::CORBA::Boolean demarshal (::CORBA::DataDecoder&, StaticValueType) const;
5621 void marshal (::CORBA::DataEncoder &, StaticValueType) const;
5622 };
5623
5624
5625 ::CORBA::StaticValueType _Marshaller_Auktion_VerkaeuferHome::create() const
{
5626 return (StaticValueType) new _MICO_T( 0 );
5627 }
5628
5629 void _Marshaller_Auktion_VerkaeuferHome::assign( StaticValueType d, const StaticValueType s ) const
{
5630 *(_MICO_T*) d = ::Auktion::VerkaeuferHome::_duplicate( *(_MICO_T*) s );
5631 }
5632
5633 void _Marshaller_Auktion_VerkaeuferHome::free( StaticValueType v ) const
{
5634 ::CORBA::release( *(_MICO_T *) v );
5635 delete (_MICO_T*) v;
5636 }
5637
5638 void _Marshaller_Auktion_VerkaeuferHome::release( StaticValueType v ) const
{
5639 ::CORBA::release( *(_MICO_T *) v );
5640 }
5641
5642 ::CORBA::Boolean _Marshaller_Auktion_VerkaeuferHome::demarshal( ::CORBA::DataDecoder &dc, StaticValueType v ) const
{
5643 ::CORBA::Object_ptr obj;
5644 if (!::CORBA::_stc_Object->demarshal(dc, &obj))
5645 return FALSE;
5646 *(_MICO_T *) v = ::Auktion::VerkaeuferHome::_narrow( obj );
5647 ::CORBA::Boolean ret = ::CORBA::is_nil (obj) || !::CORBA::is_nil (*(_MICO_T *)v);
5648 ::CORBA::release (obj);
5649 return ret;
5650 }
5651
5652 void _Marshaller_Auktion_VerkaeuferHome::marshal( ::CORBA::DataEncoder &ec, StaticValueType v ) const
{
5653 ::CORBA::Object_ptr obj = *(_MICO_T *) v;
5654 ::CORBA::_stc_Object->marshal( ec, &obj );
5655 }
5656
5657 ::CORBA::StaticTypeInfo *_marshaller_Auktion_VerkaeuferHome;
5658
5659
5660
5661
5662 Auktion::VerkaeuferHome_stub::~VerkaeuferHome_stub()
5663 {
5664 }
5665
5666 #ifndef MICO_CONF_NO_POA
5667
5668 void *
5669 POA_Auktion::VerkaeuferHome::_narrow_helper (const char * repoid)
5670 {
5671 void * p;
5672 if (strcmp (repoid, "IDL:r4/Auktion/VerkaeuferHome:1.0") == 0) {
5673 return (void *) this;
5674 }
5675 if ((p = POA_Auktion::VerkaeuferHomeExplicit::_narrow_helper (repoid)) != NULL)
5676 {
5677 return p;
5678 }
5679 if ((p = POA_Auktion::VerkaeuferHomeImplicit::_narrow_helper (repoid)) != NULL)
5680 {
5681 return p;
5682 }
5683 return NULL;
5684 }
5685
5686 POA_Auktion::VerkaeuferHome *
5687 POA_Auktion::VerkaeuferHome::_narrow (PortableServer::Servant serv)
5688 {
5689 void * p;
5690 if ((p = serv->_narrow_helper ("IDL:r4/Auktion/VerkaeuferHome:1.0")) != NULL) {
5691 serv->_add_ref ();
5692 return (POA_Auktion::VerkaeuferHome *) p;
5693 }
5694 return NULL;
5695 }
5696
5697 Auktion::VerkaeuferHome_stub_clp::VerkaeuferHome_stub_clp ()
5698 {
5699 }
5700
5701 Auktion::VerkaeuferHome_stub_clp::VerkaeuferHome_stub_clp (PortableServer::POA_ptr poa, CORBA::Object_ptr obj)
5702 : CORBA::Object(*obj), PortableServer::StubBase(poa)
5703 {
5704 }
5705
5706 Auktion::VerkaeuferHome_stub_clp::~VerkaeuferHome_stub_clp ()
5707 {
5708 }
5709
5710 #endif // MICO_CONF_NO_POA
5711
5712
5713
5714
5715 Auktion::CCM_VerkaeuferHomeExplicit::~CCM_VerkaeuferHomeExplicit()
5716 {
5717 }
5718
5719 void *
5720 Auktion::CCM_VerkaeuferHomeExplicit::_narrow_helper( const char *_repoid )
5721 {
5722 if( strcmp( _repoid, "IDL:r4/Auktion/CCM_VerkaeuferHomeExplicit:1.0" ) == 0 )
5723 return (void *)this;
5724 {
5725 void *_p;
5726 if ((_p = Components::HomeExecutorBase::_narrow_helper( _repoid )))
5727 return _p;
5728 }
5729 return NULL;
5730 }
5731
5732 Auktion::CCM_VerkaeuferHomeExplicit_ptr
Auktion::CCM_VerkaeuferHomeExplicit::_narrow( CORBA::Object_ptr _obj )
5733 {
5734 if( !CORBA::is_nil( _obj ) ) {
5735 void *_p;
5736 if( (_p = _obj->_narrow_helper( "IDL:r4/Auktion/CCM_VerkaeuferHomeExplicit:1.0" )))
5737 return _duplicate( (Auktion::CCM_VerkaeuferHomeExplicit_ptr) _p );
5738 }
5739 return _nil();
5740 }
5741
5742 Auktion::CCM_VerkaeuferHomeExplicit_ptr
Auktion::CCM_VerkaeuferHomeExplicit::_narrow( CORBA::AbstractBase_ptr _obj )
5743 {
5744 return _narrow (_obj->_to_object());
5745 }
5746
5747
5748
5749
5750
5751 Auktion::CCM_VerkaeuferHomeImplicit::~CCM_VerkaeuferHomeImplicit()
5752 {
5753 }
5754
5755 void *
5756 Auktion::CCM_VerkaeuferHomeImplicit::_narrow_helper( const char *_repoid )
5757 {
5758 if( strcmp( _repoid, "IDL:r4/Auktion/CCM_VerkaeuferHomeImplicit:1.0" ) == 0 )
5759 return (void *)this;
5760 {
5761 void *_p;
5762 if ((_p = ::CORBA::LocalObject::_narrow_helper (_repoid)))
5763 return _p;
5764 }
5765 return NULL;
5766 }
5767
5768 Auktion::CCM_VerkaeuferHomeImplicit_ptr
Auktion::CCM_VerkaeuferHomeImplicit::_narrow( CORBA::Object_ptr _obj )
5769 {
5770 if( !CORBA::is_nil( _obj ) ) {
5771 void *_p;
5772 if( (_p = _obj->_narrow_helper( "IDL:r4/Auktion/CCM_VerkaeuferHomeImplicit:1.0" )))
5773 return _duplicate( (Auktion::CCM_VerkaeuferHomeImplicit_ptr) _p );
5774 }
5775 return _nil();
5776 }
5777
5778 Auktion::CCM_VerkaeuferHomeImplicit_ptr
Auktion::CCM_VerkaeuferHomeImplicit::_narrow( CORBA::AbstractBase_ptr _obj )
5779 {
5780 return _narrow (_obj->_to_object());
5781 }
5782
5783
5784
5785
5786
5787 Auktion::CCM_VerkaeuferHome::~CCM_VerkaeuferHome()
5788 {
5789 }
5790
5791 void *
5792 Auktion::CCM_VerkaeuferHome::_narrow_helper( const char *_repoid )
5793 {
5794 if( strcmp( _repoid, "IDL:r4/Auktion/CCM_VerkaeuferHome:1.0" ) == 0 )
5795 return (void *)this;
5796 {
5797 void *_p;
5798 if ((_p = Auktion::CCM_VerkaeuferHomeExplicit::_narrow_helper( _repoid )))
5799 return _p;
5800 }
5801 {
5802 void *_p;
5803 if ((_p = Auktion::CCM_VerkaeuferHomeImplicit::_narrow_helper( _repoid )))
5804 return _p;
5805 }
5806 return NULL;
5807 }
5808
5809 Auktion::CCM_VerkaeuferHome_ptr
Auktion::CCM_VerkaeuferHome::_narrow( CORBA::Object_ptr _obj )
5810 {
5811 if( !CORBA::is_nil( _obj ) ) {
5812 void *_p;
5813 if( (_p = _obj->_narrow_helper( "IDL:r4/Auktion/CCM_VerkaeuferHome:1.0" )))
5814 return _duplicate( (Auktion::CCM_VerkaeuferHome_ptr) _p );
5815 }
5816 return _nil();
5817 }
5818
5819 Auktion::CCM_VerkaeuferHome_ptr
Auktion::CCM_VerkaeuferHome::_narrow( CORBA::AbstractBase_ptr _obj )
5820 {
5821 return _narrow (_obj->_to_object());
5822 }
5823
5824
5825 class _Marshaller__seq_Auktion_Bieter_versteigerungenConnection : public ::CORBA::StaticTypeInfo {
5826 typedef SequenceTmpl< Auktion::Bieter::versteigerungenConnection,MICO_TID_DEF> _MICO_T;
5827 public:
5828 StaticValueType create () const;
5829 void assign (StaticValueType dst, const StaticValueType src) const;
5830 void free (StaticValueType) const;
5831 ::CORBA::Boolean demarshal (::CORBA::DataDecoder&, StaticValueType) const;
5832 void marshal (::CORBA::DataEncoder &, StaticValueType) const;
5833 };
5834
5835
5836 ::CORBA::StaticValueType _Marshaller__seq_Auktion_Bieter_versteigerungenConnection::create() const
{
5837 return (StaticValueType) new _MICO_T;
5838 }
5839
5840 void _Marshaller__seq_Auktion_Bieter_versteigerungenConnection::assign( StaticValueType d, const StaticValueType s ) const
{
5841 *(_MICO_T*) d = *(_MICO_T*) s;
5842 }
5843
5844 void _Marshaller__seq_Auktion_Bieter_versteigerungenConnection::free( StaticValueType v ) const
{
5845 delete (_MICO_T*) v;
5846 }
5847
5848 ::CORBA::Boolean _Marshaller__seq_Auktion_Bieter_versteigerungenConnection::demarshal( ::CORBA::DataDecoder &dc, StaticValueType v ) const
{
5849 ::CORBA::ULong len;
5850 if( !dc.seq_begin( len ) )
5851 return FALSE;
5852 ((_MICO_T *) v)->length( len );
5853 for( ::CORBA::ULong i = 0; i < len; i++ ) {
5854 if( !_marshaller_Auktion_Bieter_versteigerungenConnection->demarshal( dc, &(*(_MICO_T*)v)[i] ) )
5855 return FALSE;
5856 }
5857 return dc.seq_end();
5858 }
5859
5860 void _Marshaller__seq_Auktion_Bieter_versteigerungenConnection::marshal( ::CORBA::DataEncoder &ec, StaticValueType v ) const
{
5861 ::CORBA::ULong len = ((_MICO_T *) v)->length();
5862 ec.seq_begin( len );
5863 for( ::CORBA::ULong i = 0; i < len; i++ )
5864 _marshaller_Auktion_Bieter_versteigerungenConnection->marshal( ec, &(*(_MICO_T*)v)[i] );
5865 ec.seq_end();
5866 }
5867
5868 ::CORBA::StaticTypeInfo *_marshaller__seq_Auktion_Bieter_versteigerungenConnection;
5869
5870 struct __tc_init_AUKTION {
5871 __tc_init_AUKTION()
5872 {
5873 _marshaller_Auktion_Kaeufer = new _Marshaller_Auktion_Kaeufer;
5874 _marshaller_Auktion_Bieter_versteigerungenConnection = new _Marshaller_Auktion_Bieter_versteigerungenConnection;
5875 _marshaller_Auktion_Bieter = new _Marshaller_Auktion_Bieter;
5876 _marshaller_Auktion_Gebot = new _Marshaller_Auktion_Gebot;
5877 _marshaller_Auktion_GebotConsumer = new _Marshaller_Auktion_GebotConsumer;
5878 _marshaller_Auktion_Versteigerung = new _Marshaller_Auktion_Versteigerung;
5879 _marshaller_Auktion_Verkaeufer = new _Marshaller_Auktion_Verkaeufer;
5880 _marshaller_Auktion_VersteigerungsFabrik = new _Marshaller_Auktion_VersteigerungsFabrik;
5881 _marshaller_Auktion_Kauf = new _Marshaller_Auktion_Kauf;
5882 _marshaller_Auktion_KaufConsumer = new _Marshaller_Auktion_KaufConsumer;
5883 _marshaller_Auktion_Auktionshaus = new _Marshaller_Auktion_Auktionshaus;
5884 _marshaller_Auktion_WeltExplicit = new _Marshaller_Auktion_WeltExplicit;
5885 _marshaller_Auktion_WeltImplicit = new _Marshaller_Auktion_WeltImplicit;
5886 _marshaller_Auktion_Welt = new _Marshaller_Auktion_Welt;
5887 _marshaller_Auktion_ProduktFilter = new _Marshaller_Auktion_ProduktFilter;
5888 _marshaller_Auktion_FilterHomeExplicit = new _Marshaller_Auktion_FilterHomeExplicit;
5889 _marshaller_Auktion_FilterHomeImplicit = new _Marshaller_Auktion_FilterHomeImplicit;
5890 _marshaller_Auktion_FilterHome = new _Marshaller_Auktion_FilterHome;
5891 _marshaller_Auktion_BieterHomeExplicit = new _Marshaller_Auktion_BieterHomeExplicit;
5892 _marshaller_Auktion_BieterHomeImplicit = new _Marshaller_Auktion_BieterHomeImplicit;
5893 _marshaller_Auktion_BieterHome = new _Marshaller_Auktion_BieterHome;
5894 _marshaller_Auktion_VerkaeuferHomeExplicit = new _Marshaller_Auktion_VerkaeuferHomeExplicit;
5895 _marshaller_Auktion_VerkaeuferHomeImplicit = new _Marshaller_Auktion_VerkaeuferHomeImplicit;
5896 _marshaller_Auktion_VerkaeuferHome = new _Marshaller_Auktion_VerkaeuferHome;
5897 _marshaller__seq_Auktion_Bieter_versteigerungenConnection = new _Marshaller__seq_Auktion_Bieter_versteigerungenConnection;
5898 }
5899 };
5900
5901 static __tc_init_AUKTION __init_AUKTION;
5902
5903
5904
5905
5906
5907
5908 POA_Auktion::Kaeufer::~Kaeufer()
5909 {
5910 }
5911
5912 ::Auktion::Kaeufer_ptr
POA_Auktion::Kaeufer::_this ()
5913 {
5914 CORBA::Object_var obj = PortableServer::ServantBase::_this();
5915 return ::Auktion::Kaeufer::_narrow (obj);
5916 }
5917
5918 CORBA::Boolean
POA_Auktion::Kaeufer::_is_a (const char * repoid)
5919 {
5920 if (strcmp (repoid, "IDL:r4/Auktion/Kaeufer:1.0") == 0) {
5921 return TRUE;
5922 }
5923 return FALSE;
5924 }
5925
5926 CORBA::InterfaceDef_ptr
POA_Auktion::Kaeufer::_get_interface ()
5927 {
5928 CORBA::InterfaceDef_ptr ifd = PortableServer::ServantBase::_get_interface ("IDL:r4/Auktion/Kaeufer:1.0");
5929
5930 if (CORBA::is_nil (ifd)) {
5931 mico_throw (CORBA::OBJ_ADAPTER (0, CORBA::COMPLETED_NO));
5932 }
5933
5934 return ifd;
5935 }
5936
5937 CORBA::RepositoryId
POA_Auktion::Kaeufer::_primary_interface (const PortableServer::ObjectId &, PortableServer::POA_ptr)
5938 {
5939 return CORBA::string_dup ("IDL:r4/Auktion/Kaeufer:1.0");
5940 }
5941
5942 CORBA::Object_ptr
POA_Auktion::Kaeufer::_make_stub (PortableServer::POA_ptr poa, CORBA::Object_ptr obj)
5943 {
5944 return new ::Auktion::Kaeufer_stub_clp (poa, obj);
5945 }
5946
5947 bool
POA_Auktion::Kaeufer::dispatch (CORBA::StaticServerRequest_ptr __req)
5948 {
5949 #ifdef HAVE_EXCEPTIONS
5950 try {
5951 #endif
5952 if( strcmp( __req->op_name(), "zuschlag" ) == 0 ) {
5953 ::Auktion::Versteigerung_var _par_gegenstand;
5954 CORBA::StaticAny _sa_gegenstand( _marshaller_Auktion_Versteigerung, &_par_gegenstand._for_demarshal() );
5955 ::Auktion::Verkaeufer_var _par_v;
5956 CORBA::StaticAny _sa_v( _marshaller_Auktion_Verkaeufer, &_par_v._for_demarshal() );
5957
5958 __req->add_in_arg( &_sa_gegenstand );
5959 __req->add_in_arg( &_sa_v );
5960
5961 if( !__req->read_args() )
5962 return true;
5963
5964 zuschlag( _par_gegenstand.inout(), _par_v.inout() );
5965 __req->write_results();
5966 return true;
5967 }
5968 #ifdef HAVE_EXCEPTIONS
5969 } catch( CORBA::SystemException_catch &_ex ) {
5970 __req->set_exception( _ex->_clone() );
5971 __req->write_results();
5972 return true;
5973 } catch( ... ) {
5974 CORBA::UNKNOWN _ex (CORBA::OMGVMCID | 1, CORBA::COMPLETED_MAYBE);
5975 __req->set_exception (_ex->_clone());
5976 __req->write_results ();
5977 return true;
5978 }
5979 #endif
5980
5981 return false;
5982 }
5983
5984 void
POA_Auktion::Kaeufer::invoke (CORBA::StaticServerRequest_ptr __req)
5985 {
5986 if (dispatch (__req)) {
5987 return;
5988 }
5989
5990 CORBA::Exception * ex =
5991 new CORBA::BAD_OPERATION (0, CORBA::COMPLETED_NO);
5992 __req->set_exception (ex);
5993 __req->write_results();
5994 }
5995
5996
5997
5998 POA_Auktion::Bieter::~Bieter()
5999 {
6000 }
6001
6002 ::Auktion::Bieter_ptr
POA_Auktion::Bieter::_this ()
6003 {
6004 CORBA::Object_var obj = PortableServer::ServantBase::_this();
6005 return ::Auktion::Bieter::_narrow (obj);
6006 }
6007
6008 CORBA::Boolean
POA_Auktion::Bieter::_is_a (const char * repoid)
6009 {
6010 if (strcmp (repoid, "IDL:r4/Auktion/Bieter:1.0") == 0) {
6011 return TRUE;
6012 }
6013 if (POA_Components::CCMObject::_is_a (repoid)) {
6014 return TRUE;
6015 }
6016 if (POA_Auktion::Kaeufer::_is_a (repoid)) {
6017 return TRUE;
6018 }
6019 return FALSE;
6020 }
6021
6022 CORBA::InterfaceDef_ptr
POA_Auktion::Bieter::_get_interface ()
6023 {
6024 CORBA::InterfaceDef_ptr ifd = PortableServer::ServantBase::_get_interface ("IDL:r4/Auktion/Bieter:1.0");
6025
6026 if (CORBA::is_nil (ifd)) {
6027 mico_throw (CORBA::OBJ_ADAPTER (0, CORBA::COMPLETED_NO));
6028 }
6029
6030 return ifd;
6031 }
6032
6033 CORBA::RepositoryId
POA_Auktion::Bieter::_primary_interface (const PortableServer::ObjectId &, PortableServer::POA_ptr)
6034 {
6035 return CORBA::string_dup ("IDL:r4/Auktion/Bieter:1.0");
6036 }
6037
6038 CORBA::Object_ptr
POA_Auktion::Bieter::_make_stub (PortableServer::POA_ptr poa, CORBA::Object_ptr obj)
6039 {
6040 return new ::Auktion::Bieter_stub_clp (poa, obj);
6041 }
6042
6043 bool
POA_Auktion::Bieter::dispatch (CORBA::StaticServerRequest_ptr __req)
6044 {
6045 #ifdef HAVE_EXCEPTIONS
6046 try {
6047 #endif
6048 switch (mico_string_hash (__req->op_name(), 7)) {
6049 case 0:
6050 if( strcmp( __req->op_name(), "get_connections_versteigerungen" ) == 0 ) {
6051 ::Auktion::Bieter::versteigerungenConnections* _res;
6052 CORBA::StaticAny __res( _marshaller__seq_Auktion_Bieter_versteigerungenConnection );
6053 __req->set_result( &__res );
6054
6055 if( !__req->read_args() )
6056 return true;
6057
6058 _res = get_connections_versteigerungen();
6059 __res.value( _marshaller__seq_Auktion_Bieter_versteigerungenConnection, _res );
6060 __req->write_results();
6061 delete _res;
6062 return true;
6063 }
6064 break;
6065 case 4:
6066 if( strcmp( __req->op_name(), "get_consumer_gebote" ) == 0 ) {
6067 ::Auktion::GebotConsumer_ptr _res;
6068 CORBA::StaticAny __res( _marshaller_Auktion_GebotConsumer, &_res );
6069 __req->set_result( &__res );
6070
6071 if( !__req->read_args() )
6072 return true;
6073
6074 _res = get_consumer_gebote();
6075 __req->write_results();
6076 CORBA::release( _res );
6077 return true;
6078 }
6079 break;
6080 case 5:
6081 if( strcmp( __req->op_name(), "connect_versteigerungen" ) == 0 ) {
6082 ::Auktion::Versteigerung_var _par_connection;
6083 CORBA::StaticAny _sa_connection( _marshaller_Auktion_Versteigerung, &_par_connection._for_demarshal() );
6084
6085 ::Components::Cookie* _res;
6086 CORBA::StaticAny __res( _marshaller_Components_Cookie, &_res );
6087 __req->add_in_arg( &_sa_connection );
6088 __req->set_result( &__res );
6089
6090 if( !__req->read_args() )
6091 return true;
6092
6093 #ifdef HAVE_EXCEPTIONS
6094 try {
6095 #endif
6096 _res = connect_versteigerungen( _par_connection.inout() );
6097 #ifdef HAVE_EXCEPTIONS
6098 } catch( ::Components::ExceededConnectionLimit_catch &_ex ) {
6099 __req->set_exception( _ex->_clone() );
6100 __req->write_results();
6101 return true;
6102 } catch( ::Components::InvalidConnection_catch &_ex ) {
6103 __req->set_exception( _ex->_clone() );
6104 __req->write_results();
6105 return true;
6106 }
6107 #endif
6108 __req->write_results();
6109 CORBA::remove_ref( _res );
6110 return true;
6111 }
6112 if( strcmp( __req->op_name(), "disconnect_versteigerungen" ) == 0 ) {
6113 ::Components::Cookie_var _par_ck;
6114 CORBA::StaticAny _sa_ck( _marshaller_Components_Cookie, &_par_ck._for_demarshal() );
6115
6116 ::Auktion::Versteigerung_ptr _res;
6117 CORBA::StaticAny __res( _marshaller_Auktion_Versteigerung, &_res );
6118 __req->add_in_arg( &_sa_ck );
6119 __req->set_result( &__res );
6120
6121 if( !__req->read_args() )
6122 return true;
6123
6124 #ifdef HAVE_EXCEPTIONS
6125 try {
6126 #endif
6127 _res = disconnect_versteigerungen( _par_ck.inout() );
6128 #ifdef HAVE_EXCEPTIONS
6129 } catch( ::Components::InvalidConnection_catch &_ex ) {
6130 __req->set_exception( _ex->_clone() );
6131 __req->write_results();
6132 return true;
6133 }
6134 #endif
6135 __req->write_results();
6136 CORBA::release( _res );
6137 return true;
6138 }
6139 break;
6140 }
6141 #ifdef HAVE_EXCEPTIONS
6142 } catch( CORBA::SystemException_catch &_ex ) {
6143 __req->set_exception( _ex->_clone() );
6144 __req->write_results();
6145 return true;
6146 } catch( ... ) {
6147 CORBA::UNKNOWN _ex (CORBA::OMGVMCID | 1, CORBA::COMPLETED_MAYBE);
6148 __req->set_exception (_ex->_clone());
6149 __req->write_results ();
6150 return true;
6151 }
6152 #endif
6153
6154 if (POA_Components::CCMObject::dispatch (__req)) {
6155 return true;
6156 }
6157
6158 if (POA_Auktion::Kaeufer::dispatch (__req)) {
6159 return true;
6160 }
6161
6162 return false;
6163 }
6164
6165 void
POA_Auktion::Bieter::invoke (CORBA::StaticServerRequest_ptr __req)
6166 {
6167 if (dispatch (__req)) {
6168 return;
6169 }
6170
6171 CORBA::Exception * ex =
6172 new CORBA::BAD_OPERATION (0, CORBA::COMPLETED_NO);
6173 __req->set_exception (ex);
6174 __req->write_results();
6175 }
6176
6177
6178
6179 POA_Auktion::GebotConsumer::~GebotConsumer()
6180 {
6181 }
6182
6183 ::Auktion::GebotConsumer_ptr
POA_Auktion::GebotConsumer::_this ()
6184 {
6185 CORBA::Object_var obj = PortableServer::ServantBase::_this();
6186 return ::Auktion::GebotConsumer::_narrow (obj);
6187 }
6188
6189 CORBA::Boolean
POA_Auktion::GebotConsumer::_is_a (const char * repoid)
6190 {
6191 if (strcmp (repoid, "IDL:r4/Auktion/GebotConsumer:1.0") == 0) {
6192 return TRUE;
6193 }
6194 if (POA_Components::EventConsumerBase::_is_a (repoid)) {
6195 return TRUE;
6196 }
6197 return FALSE;
6198 }
6199
6200 CORBA::InterfaceDef_ptr
POA_Auktion::GebotConsumer::_get_interface ()
6201 {
6202 CORBA::InterfaceDef_ptr ifd = PortableServer::ServantBase::_get_interface ("IDL:r4/Auktion/GebotConsumer:1.0");
6203
6204 if (CORBA::is_nil (ifd)) {
6205 mico_throw (CORBA::OBJ_ADAPTER (0, CORBA::COMPLETED_NO));
6206 }
6207
6208 return ifd;
6209 }
6210
6211 CORBA::RepositoryId
POA_Auktion::GebotConsumer::_primary_interface (const PortableServer::ObjectId &, PortableServer::POA_ptr)
6212 {
6213 return CORBA::string_dup ("IDL:r4/Auktion/GebotConsumer:1.0");
6214 }
6215
6216 CORBA::Object_ptr
POA_Auktion::GebotConsumer::_make_stub (PortableServer::POA_ptr poa, CORBA::Object_ptr obj)
6217 {
6218 return new ::Auktion::GebotConsumer_stub_clp (poa, obj);
6219 }
6220
6221 bool
POA_Auktion::GebotConsumer::dispatch (CORBA::StaticServerRequest_ptr __req)
6222 {
6223 #ifdef HAVE_EXCEPTIONS
6224 try {
6225 #endif
6226 if( strcmp( __req->op_name(), "push_Gebot" ) == 0 ) {
6227 ::Auktion::Gebot_var _par_event;
6228 CORBA::StaticAny _sa_event( _marshaller_Auktion_Gebot, &_par_event._for_demarshal() );
6229
6230 __req->add_in_arg( &_sa_event );
6231
6232 if( !__req->read_args() )
6233 return true;
6234
6235 push_Gebot( _par_event.inout() );
6236 __req->write_results();
6237 return true;
6238 }
6239 #ifdef HAVE_EXCEPTIONS
6240 } catch( CORBA::SystemException_catch &_ex ) {
6241 __req->set_exception( _ex->_clone() );
6242 __req->write_results();
6243 return true;
6244 } catch( ... ) {
6245 CORBA::UNKNOWN _ex (CORBA::OMGVMCID | 1, CORBA::COMPLETED_MAYBE);
6246 __req->set_exception (_ex->_clone());
6247 __req->write_results ();
6248 return true;
6249 }
6250 #endif
6251
6252 if (POA_Components::EventConsumerBase::dispatch (__req)) {
6253 return true;
6254 }
6255
6256 return false;
6257 }
6258
6259 void
POA_Auktion::GebotConsumer::invoke (CORBA::StaticServerRequest_ptr __req)
6260 {
6261 if (dispatch (__req)) {
6262 return;
6263 }
6264
6265 CORBA::Exception * ex =
6266 new CORBA::BAD_OPERATION (0, CORBA::COMPLETED_NO);
6267 __req->set_exception (ex);
6268 __req->write_results();
6269 }
6270
6271
6272
6273 POA_Auktion::Versteigerung::~Versteigerung()
6274 {
6275 }
6276
6277 ::Auktion::Versteigerung_ptr
POA_Auktion::Versteigerung::_this ()
6278 {
6279 CORBA::Object_var obj = PortableServer::ServantBase::_this();
6280 return ::Auktion::Versteigerung::_narrow (obj);
6281 }
6282
6283 CORBA::Boolean
POA_Auktion::Versteigerung::_is_a (const char * repoid)
6284 {
6285 if (strcmp (repoid, "IDL:r4/Auktion/Versteigerung:1.0") == 0) {
6286 return TRUE;
6287 }
6288 return FALSE;
6289 }
6290
6291 CORBA::InterfaceDef_ptr
POA_Auktion::Versteigerung::_get_interface ()
6292 {
6293 CORBA::InterfaceDef_ptr ifd = PortableServer::ServantBase::_get_interface ("IDL:r4/Auktion/Versteigerung:1.0");
6294
6295 if (CORBA::is_nil (ifd)) {
6296 mico_throw (CORBA::OBJ_ADAPTER (0, CORBA::COMPLETED_NO));
6297 }
6298
6299 return ifd;
6300 }
6301
6302 CORBA::RepositoryId
POA_Auktion::Versteigerung::_primary_interface (const PortableServer::ObjectId &, PortableServer::POA_ptr)
6303 {
6304 return CORBA::string_dup ("IDL:r4/Auktion/Versteigerung:1.0");
6305 }
6306
6307 CORBA::Object_ptr
POA_Auktion::Versteigerung::_make_stub (PortableServer::POA_ptr poa, CORBA::Object_ptr obj)
6308 {
6309 return new ::Auktion::Versteigerung_stub_clp (poa, obj);
6310 }
6311
6312 bool
POA_Auktion::Versteigerung::dispatch (CORBA::StaticServerRequest_ptr __req)
6313 {
6314 #ifdef HAVE_EXCEPTIONS
6315 try {
6316 #endif
6317 if( strcmp( __req->op_name(), "_get_name" ) == 0 ) {
6318 char* _res;
6319 CORBA::StaticAny __res( CORBA::_stc_string, &_res );
6320 __req->set_result( &__res );
6321
6322 if( !__req->read_args() )
6323 return true;
6324
6325 _res = name();
6326 __req->write_results();
6327 CORBA::string_free( _res );
6328 return true;
6329 }
6330 if( strcmp( __req->op_name(), "_get_aktuelles_gebot" ) == 0 ) {
6331 CORBA::Long _res;
6332 CORBA::StaticAny __res( CORBA::_stc_long, &_res );
6333 __req->set_result( &__res );
6334
6335 if( !__req->read_args() )
6336 return true;
6337
6338 _res = aktuelles_gebot();
6339 __req->write_results();
6340 return true;
6341 }
6342 if( strcmp( __req->op_name(), "biete" ) == 0 ) {
6343 CORBA::Long _par_gebot;
6344 CORBA::StaticAny _sa_gebot( CORBA::_stc_long, &_par_gebot );
6345 ::Auktion::Bieter_var _par_potentieller_kaeufer;
6346 CORBA::StaticAny _sa_potentieller_kaeufer( _marshaller_Auktion_Bieter, &_par_potentieller_kaeufer._for_demarshal() );
6347
6348 __req->add_in_arg( &_sa_gebot );
6349 __req->add_in_arg( &_sa_potentieller_kaeufer );
6350
6351 if( !__req->read_args() )
6352 return true;
6353
6354 biete( _par_gebot, _par_potentieller_kaeufer.inout() );
6355 __req->write_results();
6356 return true;
6357 }
6358 #ifdef HAVE_EXCEPTIONS
6359 } catch( CORBA::SystemException_catch &_ex ) {
6360 __req->set_exception( _ex->_clone() );
6361 __req->write_results();
6362 return true;
6363 } catch( ... ) {
6364 CORBA::UNKNOWN _ex (CORBA::OMGVMCID | 1, CORBA::COMPLETED_MAYBE);
6365 __req->set_exception (_ex->_clone());
6366 __req->write_results ();
6367 return true;
6368 }
6369 #endif
6370
6371 return false;
6372 }
6373
6374 void
POA_Auktion::Versteigerung::invoke (CORBA::StaticServerRequest_ptr __req)
6375 {
6376 if (dispatch (__req)) {
6377 return;
6378 }
6379
6380 CORBA::Exception * ex =
6381 new CORBA::BAD_OPERATION (0, CORBA::COMPLETED_NO);
6382 __req->set_exception (ex);
6383 __req->write_results();
6384 }
6385
6386
6387
6388 POA_Auktion::Verkaeufer::~Verkaeufer()
6389 {
6390 }
6391
6392 ::Auktion::Verkaeufer_ptr
POA_Auktion::Verkaeufer::_this ()
6393 {
6394 CORBA::Object_var obj = PortableServer::ServantBase::_this();
6395 return ::Auktion::Verkaeufer::_narrow (obj);
6396 }
6397
6398 CORBA::Boolean
POA_Auktion::Verkaeufer::_is_a (const char * repoid)
6399 {
6400 if (strcmp (repoid, "IDL:r4/Auktion/Verkaeufer:1.0") == 0) {
6401 return TRUE;
6402 }
6403 if (POA_Components::CCMObject::_is_a (repoid)) {
6404 return TRUE;
6405 }
6406 return FALSE;
6407 }
6408
6409 CORBA::InterfaceDef_ptr
POA_Auktion::Verkaeufer::_get_interface ()
6410 {
6411 CORBA::InterfaceDef_ptr ifd = PortableServer::ServantBase::_get_interface ("IDL:r4/Auktion/Verkaeufer:1.0");
6412
6413 if (CORBA::is_nil (ifd)) {
6414 mico_throw (CORBA::OBJ_ADAPTER (0, CORBA::COMPLETED_NO));
6415 }
6416
6417 return ifd;
6418 }
6419
6420 CORBA::RepositoryId
POA_Auktion::Verkaeufer::_primary_interface (const PortableServer::ObjectId &, PortableServer::POA_ptr)
6421 {
6422 return CORBA::string_dup ("IDL:r4/Auktion/Verkaeufer:1.0");
6423 }
6424
6425 CORBA::Object_ptr
POA_Auktion::Verkaeufer::_make_stub (PortableServer::POA_ptr poa, CORBA::Object_ptr obj)
6426 {
6427 return new ::Auktion::Verkaeufer_stub_clp (poa, obj);
6428 }
6429
6430 bool
POA_Auktion::Verkaeufer::dispatch (CORBA::StaticServerRequest_ptr __req)
6431 {
6432 #ifdef HAVE_EXCEPTIONS
6433 try {
6434 #endif
6435 switch (mico_string_hash (__req->op_name(), 7)) {
6436 case 1:
6437 if( strcmp( __req->op_name(), "disconnect_handelsplatz" ) == 0 ) {
6438 ::Auktion::VersteigerungsFabrik_ptr _res;
6439 CORBA::StaticAny __res( _marshaller_Auktion_VersteigerungsFabrik, &_res );
6440 __req->set_result( &__res );
6441
6442 if( !__req->read_args() )
6443 return true;
6444
6445 #ifdef HAVE_EXCEPTIONS
6446 try {
6447 #endif
6448 _res = disconnect_handelsplatz();
6449 #ifdef HAVE_EXCEPTIONS
6450 } catch( ::Components::NoConnection_catch &_ex ) {
6451 __req->set_exception( _ex->_clone() );
6452 __req->write_results();
6453 return true;
6454 }
6455 #endif
6456 __req->write_results();
6457 CORBA::release( _res );
6458 return true;
6459 }
6460 break;
6461 case 3:
6462 if( strcmp( __req->op_name(), "connect_handelsplatz" ) == 0 ) {
6463 ::Auktion::VersteigerungsFabrik_var _par_conxn;
6464 CORBA::StaticAny _sa_conxn( _marshaller_Auktion_VersteigerungsFabrik, &_par_conxn._for_demarshal() );
6465
6466 __req->add_in_arg( &_sa_conxn );
6467
6468 if( !__req->read_args() )
6469 return true;
6470
6471 #ifdef HAVE_EXCEPTIONS
6472 try {
6473 #endif
6474 connect_handelsplatz( _par_conxn.inout() );
6475 #ifdef HAVE_EXCEPTIONS
6476 } catch( ::Components::AlreadyConnected_catch &_ex ) {
6477 __req->set_exception( _ex->_clone() );
6478 __req->write_results();
6479 return true;
6480 } catch( ::Components::InvalidConnection_catch &_ex ) {
6481 __req->set_exception( _ex->_clone() );
6482 __req->write_results();
6483 return true;
6484 }
6485 #endif
6486 __req->write_results();
6487 return true;
6488 }
6489 break;
6490 case 4:
6491 if( strcmp( __req->op_name(), "get_connection_handelsplatz" ) == 0 ) {
6492 ::Auktion::VersteigerungsFabrik_ptr _res;
6493 CORBA::StaticAny __res( _marshaller_Auktion_VersteigerungsFabrik, &_res );
6494 __req->set_result( &__res );
6495
6496 if( !__req->read_args() )
6497 return true;
6498
6499 _res = get_connection_handelsplatz();
6500 __req->write_results();
6501 CORBA::release( _res );
6502 return true;
6503 }
6504 break;
6505 case 6:
6506 if( strcmp( __req->op_name(), "get_consumer_zuschlag" ) == 0 ) {
6507 ::Auktion::KaufConsumer_ptr _res;
6508 CORBA::StaticAny __res( _marshaller_Auktion_KaufConsumer, &_res );
6509 __req->set_result( &__res );
6510
6511 if( !__req->read_args() )
6512 return true;
6513
6514 _res = get_consumer_zuschlag();
6515 __req->write_results();
6516 CORBA::release( _res );
6517 return true;
6518 }
6519 break;
6520 }
6521 #ifdef HAVE_EXCEPTIONS
6522 } catch( CORBA::SystemException_catch &_ex ) {
6523 __req->set_exception( _ex->_clone() );
6524 __req->write_results();
6525 return true;
6526 } catch( ... ) {
6527 CORBA::UNKNOWN _ex (CORBA::OMGVMCID | 1, CORBA::COMPLETED_MAYBE);
6528 __req->set_exception (_ex->_clone());
6529 __req->write_results ();
6530 return true;
6531 }
6532 #endif
6533
6534 if (POA_Components::CCMObject::dispatch (__req)) {
6535 return true;
6536 }
6537
6538 return false;
6539 }
6540
6541 void
POA_Auktion::Verkaeufer::invoke (CORBA::StaticServerRequest_ptr __req)
6542 {
6543 if (dispatch (__req)) {
6544 return;
6545 }
6546
6547 CORBA::Exception * ex =
6548 new CORBA::BAD_OPERATION (0, CORBA::COMPLETED_NO);
6549 __req->set_exception (ex);
6550 __req->write_results();
6551 }
6552
6553
6554
6555 POA_Auktion::VersteigerungsFabrik::~VersteigerungsFabrik()
6556 {
6557 }
6558
6559 ::Auktion::VersteigerungsFabrik_ptr
POA_Auktion::VersteigerungsFabrik::_this ()
6560 {
6561 CORBA::Object_var obj = PortableServer::ServantBase::_this();
6562 return ::Auktion::VersteigerungsFabrik::_narrow (obj);
6563 }
6564
6565 CORBA::Boolean
POA_Auktion::VersteigerungsFabrik::_is_a (const char * repoid)
6566 {
6567 if (strcmp (repoid, "IDL:r4/Auktion/VersteigerungsFabrik:1.0") == 0) {
6568 return TRUE;
6569 }
6570 return FALSE;
6571 }
6572
6573 CORBA::InterfaceDef_ptr
POA_Auktion::VersteigerungsFabrik::_get_interface ()
6574 {
6575 CORBA::InterfaceDef_ptr ifd = PortableServer::ServantBase::_get_interface ("IDL:r4/Auktion/VersteigerungsFabrik:1.0");
6576
6577 if (CORBA::is_nil (ifd)) {
6578 mico_throw (CORBA::OBJ_ADAPTER (0, CORBA::COMPLETED_NO));
6579 }
6580
6581 return ifd;
6582 }
6583
6584 CORBA::RepositoryId
POA_Auktion::VersteigerungsFabrik::_primary_interface (const PortableServer::ObjectId &, PortableServer::POA_ptr)
6585 {
6586 return CORBA::string_dup ("IDL:r4/Auktion/VersteigerungsFabrik:1.0");
6587 }
6588
6589 CORBA::Object_ptr
POA_Auktion::VersteigerungsFabrik::_make_stub (PortableServer::POA_ptr poa, CORBA::Object_ptr obj)
6590 {
6591 return new ::Auktion::VersteigerungsFabrik_stub_clp (poa, obj);
6592 }
6593
6594 bool
POA_Auktion::VersteigerungsFabrik::dispatch (CORBA::StaticServerRequest_ptr __req)
6595 {
6596 #ifdef HAVE_EXCEPTIONS
6597 try {
6598 #endif
6599 if( strcmp( __req->op_name(), "neue_auktion" ) == 0 ) {
6600 CORBA::String_var _par_name;
6601 CORBA::StaticAny _sa_name( CORBA::_stc_string, &_par_name._for_demarshal() );
6602 CORBA::Long _par_minimalgebot;
6603 CORBA::StaticAny _sa_minimalgebot( CORBA::_stc_long, &_par_minimalgebot );
6604 ::Auktion::Verkaeufer_var _par_besitzer;
6605 CORBA::StaticAny _sa_besitzer( _marshaller_Auktion_Verkaeufer, &_par_besitzer._for_demarshal() );
6606
6607 ::Auktion::Versteigerung_ptr _res;
6608 CORBA::StaticAny __res( _marshaller_Auktion_Versteigerung, &_res );
6609 __req->add_in_arg( &_sa_name );
6610 __req->add_in_arg( &_sa_minimalgebot );
6611 __req->add_in_arg( &_sa_besitzer );
6612 __req->set_result( &__res );
6613
6614 if( !__req->read_args() )
6615 return true;
6616
6617 _res = neue_auktion( _par_name.inout(), _par_minimalgebot, _par_besitzer.inout() );
6618 __req->write_results();
6619 CORBA::release( _res );
6620 return true;
6621 }
6622 #ifdef HAVE_EXCEPTIONS
6623 } catch( CORBA::SystemException_catch &_ex ) {
6624 __req->set_exception( _ex->_clone() );
6625 __req->write_results();
6626 return true;
6627 } catch( ... ) {
6628 CORBA::UNKNOWN _ex (CORBA::OMGVMCID | 1, CORBA::COMPLETED_MAYBE);
6629 __req->set_exception (_ex->_clone());
6630 __req->write_results ();
6631 return true;
6632 }
6633 #endif
6634
6635 return false;
6636 }
6637
6638 void
POA_Auktion::VersteigerungsFabrik::invoke (CORBA::StaticServerRequest_ptr __req)
6639 {
6640 if (dispatch (__req)) {
6641 return;
6642 }
6643
6644 CORBA::Exception * ex =
6645 new CORBA::BAD_OPERATION (0, CORBA::COMPLETED_NO);
6646 __req->set_exception (ex);
6647 __req->write_results();
6648 }
6649
6650
6651
6652 POA_Auktion::KaufConsumer::~KaufConsumer()
6653 {
6654 }
6655
6656 ::Auktion::KaufConsumer_ptr
POA_Auktion::KaufConsumer::_this ()
6657 {
6658 CORBA::Object_var obj = PortableServer::ServantBase::_this();
6659 return ::Auktion::KaufConsumer::_narrow (obj);
6660 }
6661
6662 CORBA::Boolean
POA_Auktion::KaufConsumer::_is_a (const char * repoid)
6663 {
6664 if (strcmp (repoid, "IDL:r4/Auktion/KaufConsumer:1.0") == 0) {
6665 return TRUE;
6666 }
6667 if (POA_Components::EventConsumerBase::_is_a (repoid)) {
6668 return TRUE;
6669 }
6670 return FALSE;
6671 }
6672
6673 CORBA::InterfaceDef_ptr
POA_Auktion::KaufConsumer::_get_interface ()
6674 {
6675 CORBA::InterfaceDef_ptr ifd = PortableServer::ServantBase::_get_interface ("IDL:r4/Auktion/KaufConsumer:1.0");
6676
6677 if (CORBA::is_nil (ifd)) {
6678 mico_throw (CORBA::OBJ_ADAPTER (0, CORBA::COMPLETED_NO));
6679 }
6680
6681 return ifd;
6682 }
6683
6684 CORBA::RepositoryId
POA_Auktion::KaufConsumer::_primary_interface (const PortableServer::ObjectId &, PortableServer::POA_ptr)
6685 {
6686 return CORBA::string_dup ("IDL:r4/Auktion/KaufConsumer:1.0");
6687 }
6688
6689 CORBA::Object_ptr
POA_Auktion::KaufConsumer::_make_stub (PortableServer::POA_ptr poa, CORBA::Object_ptr obj)
6690 {
6691 return new ::Auktion::KaufConsumer_stub_clp (poa, obj);
6692 }
6693
6694 bool
POA_Auktion::KaufConsumer::dispatch (CORBA::StaticServerRequest_ptr __req)
6695 {
6696 #ifdef HAVE_EXCEPTIONS
6697 try {
6698 #endif
6699 if( strcmp( __req->op_name(), "push_Kauf" ) == 0 ) {
6700 ::Auktion::Kauf_var _par_event;
6701 CORBA::StaticAny _sa_event( _marshaller_Auktion_Kauf, &_par_event._for_demarshal() );
6702
6703 __req->add_in_arg( &_sa_event );
6704
6705 if( !__req->read_args() )
6706 return true;
6707
6708 push_Kauf( _par_event.inout() );
6709 __req->write_results();
6710 return true;
6711 }
6712 #ifdef HAVE_EXCEPTIONS
6713 } catch( CORBA::SystemException_catch &_ex ) {
6714 __req->set_exception( _ex->_clone() );
6715 __req->write_results();
6716 return true;
6717 } catch( ... ) {
6718 CORBA::UNKNOWN _ex (CORBA::OMGVMCID | 1, CORBA::COMPLETED_MAYBE);
6719 __req->set_exception (_ex->_clone());
6720 __req->write_results ();
6721 return true;
6722 }
6723 #endif
6724
6725 if (POA_Components::EventConsumerBase::dispatch (__req)) {
6726 return true;
6727 }
6728
6729 return false;
6730 }
6731
6732 void
POA_Auktion::KaufConsumer::invoke (CORBA::StaticServerRequest_ptr __req)
6733 {
6734 if (dispatch (__req)) {
6735 return;
6736 }
6737
6738 CORBA::Exception * ex =
6739 new CORBA::BAD_OPERATION (0, CORBA::COMPLETED_NO);
6740 __req->set_exception (ex);
6741 __req->write_results();
6742 }
6743
6744
6745
6746 POA_Auktion::Auktionshaus::~Auktionshaus()
6747 {
6748 }
6749
6750 ::Auktion::Auktionshaus_ptr
POA_Auktion::Auktionshaus::_this ()
6751 {
6752 CORBA::Object_var obj = PortableServer::ServantBase::_this();
6753 return ::Auktion::Auktionshaus::_narrow (obj);
6754 }
6755
6756 CORBA::Boolean
POA_Auktion::Auktionshaus::_is_a (const char * repoid)
6757 {
6758 if (strcmp (repoid, "IDL:r4/Auktion/Auktionshaus:1.0") == 0) {
6759 return TRUE;
6760 }
6761 if (POA_Components::CCMObject::_is_a (repoid)) {
6762 return TRUE;
6763 }
6764 return FALSE;
6765 }
6766
6767 CORBA::InterfaceDef_ptr
POA_Auktion::Auktionshaus::_get_interface ()
6768 {
6769 CORBA::InterfaceDef_ptr ifd = PortableServer::ServantBase::_get_interface ("IDL:r4/Auktion/Auktionshaus:1.0");
6770
6771 if (CORBA::is_nil (ifd)) {
6772 mico_throw (CORBA::OBJ_ADAPTER (0, CORBA::COMPLETED_NO));
6773 }
6774
6775 return ifd;
6776 }
6777
6778 CORBA::RepositoryId
POA_Auktion::Auktionshaus::_primary_interface (const PortableServer::ObjectId &, PortableServer::POA_ptr)
6779 {
6780 return CORBA::string_dup ("IDL:r4/Auktion/Auktionshaus:1.0");
6781 }
6782
6783 CORBA::Object_ptr
POA_Auktion::Auktionshaus::_make_stub (PortableServer::POA_ptr poa, CORBA::Object_ptr obj)
6784 {
6785 return new ::Auktion::Auktionshaus_stub_clp (poa, obj);
6786 }
6787
6788 bool
POA_Auktion::Auktionshaus::dispatch (CORBA::StaticServerRequest_ptr __req)
6789 {
6790 #ifdef HAVE_EXCEPTIONS
6791 try {
6792 #endif
6793 if( strcmp( __req->op_name(), "provide_auktionen" ) == 0 ) {
6794 ::Auktion::VersteigerungsFabrik_ptr _res;
6795 CORBA::StaticAny __res( _marshaller_Auktion_VersteigerungsFabrik, &_res );
6796 __req->set_result( &__res );
6797
6798 if( !__req->read_args() )
6799 return true;
6800
6801 _res = provide_auktionen();
6802 __req->write_results();
6803 CORBA::release( _res );
6804 return true;
6805 }
6806 if( strcmp( __req->op_name(), "subscribe_gebote" ) == 0 ) {
6807 ::Auktion::GebotConsumer_var _par_consumer;
6808 CORBA::StaticAny _sa_consumer( _marshaller_Auktion_GebotConsumer, &_par_consumer._for_demarshal() );
6809
6810 ::Components::Cookie* _res;
6811 CORBA::StaticAny __res( _marshaller_Components_Cookie, &_res );
6812 __req->add_in_arg( &_sa_consumer );
6813 __req->set_result( &__res );
6814
6815 if( !__req->read_args() )
6816 return true;
6817
6818 _res = subscribe_gebote( _par_consumer.inout() );
6819 __req->write_results();
6820 CORBA::remove_ref( _res );
6821 return true;
6822 }
6823 if( strcmp( __req->op_name(), "unsubscribe_gebote" ) == 0 ) {
6824 ::Components::Cookie_var _par_ck;
6825 CORBA::StaticAny _sa_ck( _marshaller_Components_Cookie, &_par_ck._for_demarshal() );
6826
6827 ::Auktion::GebotConsumer_ptr _res;
6828 CORBA::StaticAny __res( _marshaller_Auktion_GebotConsumer, &_res );
6829 __req->add_in_arg( &_sa_ck );
6830 __req->set_result( &__res );
6831
6832 if( !__req->read_args() )
6833 return true;
6834
6835 _res = unsubscribe_gebote( _par_ck.inout() );
6836 __req->write_results();
6837 CORBA::release( _res );
6838 return true;
6839 }
6840 #ifdef HAVE_EXCEPTIONS
6841 } catch( CORBA::SystemException_catch &_ex ) {
6842 __req->set_exception( _ex->_clone() );
6843 __req->write_results();
6844 return true;
6845 } catch( ... ) {
6846 CORBA::UNKNOWN _ex (CORBA::OMGVMCID | 1, CORBA::COMPLETED_MAYBE);
6847 __req->set_exception (_ex->_clone());
6848 __req->write_results ();
6849 return true;
6850 }
6851 #endif
6852
6853 if (POA_Components::CCMObject::dispatch (__req)) {
6854 return true;
6855 }
6856
6857 return false;
6858 }
6859
6860 void
POA_Auktion::Auktionshaus::invoke (CORBA::StaticServerRequest_ptr __req)
6861 {
6862 if (dispatch (__req)) {
6863 return;
6864 }
6865
6866 CORBA::Exception * ex =
6867 new CORBA::BAD_OPERATION (0, CORBA::COMPLETED_NO);
6868 __req->set_exception (ex);
6869 __req->write_results();
6870 }
6871
6872
6873
6874 POA_Auktion::WeltExplicit::~WeltExplicit()
6875 {
6876 }
6877
6878 ::Auktion::WeltExplicit_ptr
POA_Auktion::WeltExplicit::_this ()
6879 {
6880 CORBA::Object_var obj = PortableServer::ServantBase::_this();
6881 return ::Auktion::WeltExplicit::_narrow (obj);
6882 }
6883
6884 CORBA::Boolean
POA_Auktion::WeltExplicit::_is_a (const char * repoid)
6885 {
6886 if (strcmp (repoid, "IDL:r4/Auktion/WeltExplicit:1.0") == 0) {
6887 return TRUE;
6888 }
6889 if (POA_Components::CCMHome::_is_a (repoid)) {
6890 return TRUE;
6891 }
6892 return FALSE;
6893 }
6894
6895 CORBA::InterfaceDef_ptr
POA_Auktion::WeltExplicit::_get_interface ()
6896 {
6897 CORBA::InterfaceDef_ptr ifd = PortableServer::ServantBase::_get_interface ("IDL:r4/Auktion/WeltExplicit:1.0");
6898
6899 if (CORBA::is_nil (ifd)) {
6900 mico_throw (CORBA::OBJ_ADAPTER (0, CORBA::COMPLETED_NO));
6901 }
6902
6903 return ifd;
6904 }
6905
6906 CORBA::RepositoryId
POA_Auktion::WeltExplicit::_primary_interface (const PortableServer::ObjectId &, PortableServer::POA_ptr)
6907 {
6908 return CORBA::string_dup ("IDL:r4/Auktion/WeltExplicit:1.0");
6909 }
6910
6911 CORBA::Object_ptr
POA_Auktion::WeltExplicit::_make_stub (PortableServer::POA_ptr poa, CORBA::Object_ptr obj)
6912 {
6913 return new ::Auktion::WeltExplicit_stub_clp (poa, obj);
6914 }
6915
6916 bool
POA_Auktion::WeltExplicit::dispatch (CORBA::StaticServerRequest_ptr __req)
6917 {
6918
6919 if (POA_Components::CCMHome::dispatch (__req)) {
6920 return true;
6921 }
6922
6923 return false;
6924 }
6925
6926 void
POA_Auktion::WeltExplicit::invoke (CORBA::StaticServerRequest_ptr __req)
6927 {
6928 if (dispatch (__req)) {
6929 return;
6930 }
6931
6932 CORBA::Exception * ex =
6933 new CORBA::BAD_OPERATION (0, CORBA::COMPLETED_NO);
6934 __req->set_exception (ex);
6935 __req->write_results();
6936 }
6937
6938
6939
6940 POA_Auktion::WeltImplicit::~WeltImplicit()
6941 {
6942 }
6943
6944 ::Auktion::WeltImplicit_ptr
POA_Auktion::WeltImplicit::_this ()
6945 {
6946 CORBA::Object_var obj = PortableServer::ServantBase::_this();
6947 return ::Auktion::WeltImplicit::_narrow (obj);
6948 }
6949
6950 CORBA::Boolean
POA_Auktion::WeltImplicit::_is_a (const char * repoid)
6951 {
6952 if (strcmp (repoid, "IDL:r4/Auktion/WeltImplicit:1.0") == 0) {
6953 return TRUE;
6954 }
6955 if (POA_Components::KeylessCCMHome::_is_a (repoid)) {
6956 return TRUE;
6957 }
6958 return FALSE;
6959 }
6960
6961 CORBA::InterfaceDef_ptr
POA_Auktion::WeltImplicit::_get_interface ()
6962 {
6963 CORBA::InterfaceDef_ptr ifd = PortableServer::ServantBase::_get_interface ("IDL:r4/Auktion/WeltImplicit:1.0");
6964
6965 if (CORBA::is_nil (ifd)) {
6966 mico_throw (CORBA::OBJ_ADAPTER (0, CORBA::COMPLETED_NO));
6967 }
6968
6969 return ifd;
6970 }
6971
6972 CORBA::RepositoryId
POA_Auktion::WeltImplicit::_primary_interface (const PortableServer::ObjectId &, PortableServer::POA_ptr)
6973 {
6974 return CORBA::string_dup ("IDL:r4/Auktion/WeltImplicit:1.0");
6975 }
6976
6977 CORBA::Object_ptr
POA_Auktion::WeltImplicit::_make_stub (PortableServer::POA_ptr poa, CORBA::Object_ptr obj)
6978 {
6979 return new ::Auktion::WeltImplicit_stub_clp (poa, obj);
6980 }
6981
6982 bool
POA_Auktion::WeltImplicit::dispatch (CORBA::StaticServerRequest_ptr __req)
6983 {
6984 #ifdef HAVE_EXCEPTIONS
6985 try {
6986 #endif
6987 if( strcmp( __req->op_name(), "create" ) == 0 ) {
6988 ::Auktion::Auktionshaus_ptr _res;
6989 CORBA::StaticAny __res( _marshaller_Auktion_Auktionshaus, &_res );
6990 __req->set_result( &__res );
6991
6992 if( !__req->read_args() )
6993 return true;
6994
6995 _res = create();
6996 __req->write_results();
6997 CORBA::release( _res );
6998 return true;
6999 }
7000 #ifdef HAVE_EXCEPTIONS
7001 } catch( CORBA::SystemException_catch &_ex ) {
7002 __req->set_exception( _ex->_clone() );
7003 __req->write_results();
7004 return true;
7005 } catch( ... ) {
7006 CORBA::UNKNOWN _ex (CORBA::OMGVMCID | 1, CORBA::COMPLETED_MAYBE);
7007 __req->set_exception (_ex->_clone());
7008 __req->write_results ();
7009 return true;
7010 }
7011 #endif
7012
7013 if (POA_Components::KeylessCCMHome::dispatch (__req)) {
7014 return true;
7015 }
7016
7017 return false;
7018 }
7019
7020 void
POA_Auktion::WeltImplicit::invoke (CORBA::StaticServerRequest_ptr __req)
7021 {
7022 if (dispatch (__req)) {
7023 return;
7024 }
7025
7026 CORBA::Exception * ex =
7027 new CORBA::BAD_OPERATION (0, CORBA::COMPLETED_NO);
7028 __req->set_exception (ex);
7029 __req->write_results();
7030 }
7031
7032
7033
7034 POA_Auktion::Welt::~Welt()
7035 {
7036 }
7037
7038 ::Auktion::Welt_ptr
POA_Auktion::Welt::_this ()
7039 {
7040 CORBA::Object_var obj = PortableServer::ServantBase::_this();
7041 return ::Auktion::Welt::_narrow (obj);
7042 }
7043
7044 CORBA::Boolean
POA_Auktion::Welt::_is_a (const char * repoid)
7045 {
7046 if (strcmp (repoid, "IDL:r4/Auktion/Welt:1.0") == 0) {
7047 return TRUE;
7048 }
7049 if (POA_Auktion::WeltExplicit::_is_a (repoid)) {
7050 return TRUE;
7051 }
7052 if (POA_Auktion::WeltImplicit::_is_a (repoid)) {
7053 return TRUE;
7054 }
7055 return FALSE;
7056 }
7057
7058 CORBA::InterfaceDef_ptr
POA_Auktion::Welt::_get_interface ()
7059 {
7060 CORBA::InterfaceDef_ptr ifd = PortableServer::ServantBase::_get_interface ("IDL:r4/Auktion/Welt:1.0");
7061
7062 if (CORBA::is_nil (ifd)) {
7063 mico_throw (CORBA::OBJ_ADAPTER (0, CORBA::COMPLETED_NO));
7064 }
7065
7066 return ifd;
7067 }
7068
7069 CORBA::RepositoryId
POA_Auktion::Welt::_primary_interface (const PortableServer::ObjectId &, PortableServer::POA_ptr)
7070 {
7071 return CORBA::string_dup ("IDL:r4/Auktion/Welt:1.0");
7072 }
7073
7074 CORBA::Object_ptr
POA_Auktion::Welt::_make_stub (PortableServer::POA_ptr poa, CORBA::Object_ptr obj)
7075 {
7076 return new ::Auktion::Welt_stub_clp (poa, obj);
7077 }
7078
7079 bool
POA_Auktion::Welt::dispatch (CORBA::StaticServerRequest_ptr __req)
7080 {
7081
7082 if (POA_Auktion::WeltExplicit::dispatch (__req)) {
7083 return true;
7084 }
7085
7086 if (POA_Auktion::WeltImplicit::dispatch (__req)) {
7087 return true;
7088 }
7089
7090 return false;
7091 }
7092
7093 void
POA_Auktion::Welt::invoke (CORBA::StaticServerRequest_ptr __req)
7094 {
7095 if (dispatch (__req)) {
7096 return;
7097 }
7098
7099 CORBA::Exception * ex =
7100 new CORBA::BAD_OPERATION (0, CORBA::COMPLETED_NO);
7101 __req->set_exception (ex);
7102 __req->write_results();
7103 }
7104
7105
7106
7107 POA_Auktion::ProduktFilter::~ProduktFilter()
7108 {
7109 }
7110
7111 ::Auktion::ProduktFilter_ptr
POA_Auktion::ProduktFilter::_this ()
7112 {
7113 CORBA::Object_var obj = PortableServer::ServantBase::_this();
7114 return ::Auktion::ProduktFilter::_narrow (obj);
7115 }
7116
7117 CORBA::Boolean
POA_Auktion::ProduktFilter::_is_a (const char * repoid)
7118 {
7119 if (strcmp (repoid, "IDL:r4/Auktion/ProduktFilter:1.0") == 0) {
7120 return TRUE;
7121 }
7122 if (POA_Components::CCMObject::_is_a (repoid)) {
7123 return TRUE;
7124 }
7125 return FALSE;
7126 }
7127
7128 CORBA::InterfaceDef_ptr
POA_Auktion::ProduktFilter::_get_interface ()
7129 {
7130 CORBA::InterfaceDef_ptr ifd = PortableServer::ServantBase::_get_interface ("IDL:r4/Auktion/ProduktFilter:1.0");
7131
7132 if (CORBA::is_nil (ifd)) {
7133 mico_throw (CORBA::OBJ_ADAPTER (0, CORBA::COMPLETED_NO));
7134 }
7135
7136 return ifd;
7137 }
7138
7139 CORBA::RepositoryId
POA_Auktion::ProduktFilter::_primary_interface (const PortableServer::ObjectId &, PortableServer::POA_ptr)
7140 {
7141 return CORBA::string_dup ("IDL:r4/Auktion/ProduktFilter:1.0");
7142 }
7143
7144 CORBA::Object_ptr
POA_Auktion::ProduktFilter::_make_stub (PortableServer::POA_ptr poa, CORBA::Object_ptr obj)
7145 {
7146 return new ::Auktion::ProduktFilter_stub_clp (poa, obj);
7147 }
7148
7149 bool
POA_Auktion::ProduktFilter::dispatch (CORBA::StaticServerRequest_ptr __req)
7150 {
7151 #ifdef HAVE_EXCEPTIONS
7152 try {
7153 #endif
7154 switch (mico_string_hash (__req->op_name(), 7)) {
7155 case 2:
7156 if( strcmp( __req->op_name(), "get_consumer_eingehende_gebote" ) == 0 ) {
7157 ::Auktion::GebotConsumer_ptr _res;
7158 CORBA::StaticAny __res( _marshaller_Auktion_GebotConsumer, &_res );
7159 __req->set_result( &__res );
7160
7161 if( !__req->read_args() )
7162 return true;
7163
7164 _res = get_consumer_eingehende_gebote();
7165 __req->write_results();
7166 CORBA::release( _res );
7167 return true;
7168 }
7169 if( strcmp( __req->op_name(), "subscribe_interessante_gebote" ) == 0 ) {
7170 ::Auktion::GebotConsumer_var _par_consumer;
7171 CORBA::StaticAny _sa_consumer( _marshaller_Auktion_GebotConsumer, &_par_consumer._for_demarshal() );
7172
7173 ::Components::Cookie* _res;
7174 CORBA::StaticAny __res( _marshaller_Components_Cookie, &_res );
7175 __req->add_in_arg( &_sa_consumer );
7176 __req->set_result( &__res );
7177
7178 if( !__req->read_args() )
7179 return true;
7180
7181 _res = subscribe_interessante_gebote( _par_consumer.inout() );
7182 __req->write_results();
7183 CORBA::remove_ref( _res );
7184 return true;
7185 }
7186 break;
7187 case 3:
7188 if( strcmp( __req->op_name(), "unsubscribe_interessante_gebote" ) == 0 ) {
7189 ::Components::Cookie_var _par_ck;
7190 CORBA::StaticAny _sa_ck( _marshaller_Components_Cookie, &_par_ck._for_demarshal() );
7191
7192 ::Auktion::GebotConsumer_ptr _res;
7193 CORBA::StaticAny __res( _marshaller_Auktion_GebotConsumer, &_res );
7194 __req->add_in_arg( &_sa_ck );
7195 __req->set_result( &__res );
7196
7197 if( !__req->read_args() )
7198 return true;
7199
7200 _res = unsubscribe_interessante_gebote( _par_ck.inout() );
7201 __req->write_results();
7202 CORBA::release( _res );
7203 return true;
7204 }
7205 break;
7206 case 5:
7207 if( strcmp( __req->op_name(), "_get_interessanter_gegenstand" ) == 0 ) {
7208 char* _res;
7209 CORBA::StaticAny __res( CORBA::_stc_string, &_res );
7210 __req->set_result( &__res );
7211
7212 if( !__req->read_args() )
7213 return true;
7214
7215 _res = interessanter_gegenstand();
7216 __req->write_results();
7217 CORBA::string_free( _res );
7218 return true;
7219 }
7220 break;
7221 case 6:
7222 if( strcmp( __req->op_name(), "_set_interessanter_gegenstand" ) == 0 ) {
7223 CORBA::String_var _par__value;
7224 CORBA::StaticAny _sa__value( CORBA::_stc_string, &_par__value._for_demarshal() );
7225
7226 __req->add_in_arg( &_sa__value );
7227
7228 if( !__req->read_args() )
7229 return true;
7230
7231 interessanter_gegenstand( _par__value.inout() );
7232 __req->write_results();
7233 return true;
7234 }
7235 break;
7236 }
7237 #ifdef HAVE_EXCEPTIONS
7238 } catch( CORBA::SystemException_catch &_ex ) {
7239 __req->set_exception( _ex->_clone() );
7240 __req->write_results();
7241 return true;
7242 } catch( ... ) {
7243 CORBA::UNKNOWN _ex (CORBA::OMGVMCID | 1, CORBA::COMPLETED_MAYBE);
7244 __req->set_exception (_ex->_clone());
7245 __req->write_results ();
7246 return true;
7247 }
7248 #endif
7249
7250 if (POA_Components::CCMObject::dispatch (__req)) {
7251 return true;
7252 }
7253
7254 return false;
7255 }
7256
7257 void
POA_Auktion::ProduktFilter::invoke (CORBA::StaticServerRequest_ptr __req)
7258 {
7259 if (dispatch (__req)) {
7260 return;
7261 }
7262
7263 CORBA::Exception * ex =
7264 new CORBA::BAD_OPERATION (0, CORBA::COMPLETED_NO);
7265 __req->set_exception (ex);
7266 __req->write_results();
7267 }
7268
7269
7270
7271 POA_Auktion::FilterHomeExplicit::~FilterHomeExplicit()
7272 {
7273 }
7274
7275 ::Auktion::FilterHomeExplicit_ptr
POA_Auktion::FilterHomeExplicit::_this ()
7276 {
7277 CORBA::Object_var obj = PortableServer::ServantBase::_this();
7278 return ::Auktion::FilterHomeExplicit::_narrow (obj);
7279 }
7280
7281 CORBA::Boolean
POA_Auktion::FilterHomeExplicit::_is_a (const char * repoid)
7282 {
7283 if (strcmp (repoid, "IDL:r4/Auktion/FilterHomeExplicit:1.0") == 0) {
7284 return TRUE;
7285 }
7286 if (POA_Components::CCMHome::_is_a (repoid)) {
7287 return TRUE;
7288 }
7289 return FALSE;
7290 }
7291
7292 CORBA::InterfaceDef_ptr
POA_Auktion::FilterHomeExplicit::_get_interface ()
7293 {
7294 CORBA::InterfaceDef_ptr ifd = PortableServer::ServantBase::_get_interface ("IDL:r4/Auktion/FilterHomeExplicit:1.0");
7295
7296 if (CORBA::is_nil (ifd)) {
7297 mico_throw (CORBA::OBJ_ADAPTER (0, CORBA::COMPLETED_NO));
7298 }
7299
7300 return ifd;
7301 }
7302
7303 CORBA::RepositoryId
POA_Auktion::FilterHomeExplicit::_primary_interface (const PortableServer::ObjectId &, PortableServer::POA_ptr)
7304 {
7305 return CORBA::string_dup ("IDL:r4/Auktion/FilterHomeExplicit:1.0");
7306 }
7307
7308 CORBA::Object_ptr
POA_Auktion::FilterHomeExplicit::_make_stub (PortableServer::POA_ptr poa, CORBA::Object_ptr obj)
7309 {
7310 return new ::Auktion::FilterHomeExplicit_stub_clp (poa, obj);
7311 }
7312
7313 bool
POA_Auktion::FilterHomeExplicit::dispatch (CORBA::StaticServerRequest_ptr __req)
7314 {
7315 #ifdef HAVE_EXCEPTIONS
7316 try {
7317 #endif
7318 if( strcmp( __req->op_name(), "new_filter" ) == 0 ) {
7319 CORBA::String_var _par_gegenstand;
7320 CORBA::StaticAny _sa_gegenstand( CORBA::_stc_string, &_par_gegenstand._for_demarshal() );
7321
7322 ::Auktion::ProduktFilter_ptr _res;
7323 CORBA::StaticAny __res( _marshaller_Auktion_ProduktFilter, &_res );
7324 __req->add_in_arg( &_sa_gegenstand );
7325 __req->set_result( &__res );
7326
7327 if( !__req->read_args() )
7328 return true;
7329
7330 _res = new_filter( _par_gegenstand.inout() );
7331 __req->write_results();
7332 CORBA::release( _res );
7333 return true;
7334 }
7335 #ifdef HAVE_EXCEPTIONS
7336 } catch( CORBA::SystemException_catch &_ex ) {
7337 __req->set_exception( _ex->_clone() );
7338 __req->write_results();
7339 return true;
7340 } catch( ... ) {
7341 CORBA::UNKNOWN _ex (CORBA::OMGVMCID | 1, CORBA::COMPLETED_MAYBE);
7342 __req->set_exception (_ex->_clone());
7343 __req->write_results ();
7344 return true;
7345 }
7346 #endif
7347
7348 if (POA_Components::CCMHome::dispatch (__req)) {
7349 return true;
7350 }
7351
7352 return false;
7353 }
7354
7355 void
POA_Auktion::FilterHomeExplicit::invoke (CORBA::StaticServerRequest_ptr __req)
7356 {
7357 if (dispatch (__req)) {
7358 return;
7359 }
7360
7361 CORBA::Exception * ex =
7362 new CORBA::BAD_OPERATION (0, CORBA::COMPLETED_NO);
7363 __req->set_exception (ex);
7364 __req->write_results();
7365 }
7366
7367
7368
7369 POA_Auktion::FilterHomeImplicit::~FilterHomeImplicit()
7370 {
7371 }
7372
7373 ::Auktion::FilterHomeImplicit_ptr
POA_Auktion::FilterHomeImplicit::_this ()
7374 {
7375 CORBA::Object_var obj = PortableServer::ServantBase::_this();
7376 return ::Auktion::FilterHomeImplicit::_narrow (obj);
7377 }
7378
7379 CORBA::Boolean
POA_Auktion::FilterHomeImplicit::_is_a (const char * repoid)
7380 {
7381 if (strcmp (repoid, "IDL:r4/Auktion/FilterHomeImplicit:1.0") == 0) {
7382 return TRUE;
7383 }
7384 if (POA_Components::KeylessCCMHome::_is_a (repoid)) {
7385 return TRUE;
7386 }
7387 return FALSE;
7388 }
7389
7390 CORBA::InterfaceDef_ptr
POA_Auktion::FilterHomeImplicit::_get_interface ()
7391 {
7392 CORBA::InterfaceDef_ptr ifd = PortableServer::ServantBase::_get_interface ("IDL:r4/Auktion/FilterHomeImplicit:1.0");
7393
7394 if (CORBA::is_nil (ifd)) {
7395 mico_throw (CORBA::OBJ_ADAPTER (0, CORBA::COMPLETED_NO));
7396 }
7397
7398 return ifd;
7399 }
7400
7401 CORBA::RepositoryId
POA_Auktion::FilterHomeImplicit::_primary_interface (const PortableServer::ObjectId &, PortableServer::POA_ptr)
7402 {
7403 return CORBA::string_dup ("IDL:r4/Auktion/FilterHomeImplicit:1.0");
7404 }
7405
7406 CORBA::Object_ptr
POA_Auktion::FilterHomeImplicit::_make_stub (PortableServer::POA_ptr poa, CORBA::Object_ptr obj)
7407 {
7408 return new ::Auktion::FilterHomeImplicit_stub_clp (poa, obj);
7409 }
7410
7411 bool
POA_Auktion::FilterHomeImplicit::dispatch (CORBA::StaticServerRequest_ptr __req)
7412 {
7413 #ifdef HAVE_EXCEPTIONS
7414 try {
7415 #endif
7416 if( strcmp( __req->op_name(), "create" ) == 0 ) {
7417 ::Auktion::ProduktFilter_ptr _res;
7418 CORBA::StaticAny __res( _marshaller_Auktion_ProduktFilter, &_res );
7419 __req->set_result( &__res );
7420
7421 if( !__req->read_args() )
7422 return true;
7423
7424 _res = create();
7425 __req->write_results();
7426 CORBA::release( _res );
7427 return true;
7428 }
7429 #ifdef HAVE_EXCEPTIONS
7430 } catch( CORBA::SystemException_catch &_ex ) {
7431 __req->set_exception( _ex->_clone() );
7432 __req->write_results();
7433 return true;
7434 } catch( ... ) {
7435 CORBA::UNKNOWN _ex (CORBA::OMGVMCID | 1, CORBA::COMPLETED_MAYBE);
7436 __req->set_exception (_ex->_clone());
7437 __req->write_results ();
7438 return true;
7439 }
7440 #endif
7441
7442 if (POA_Components::KeylessCCMHome::dispatch (__req)) {
7443 return true;
7444 }
7445
7446 return false;
7447 }
7448
7449 void
POA_Auktion::FilterHomeImplicit::invoke (CORBA::StaticServerRequest_ptr __req)
7450 {
7451 if (dispatch (__req)) {
7452 return;
7453 }
7454
7455 CORBA::Exception * ex =
7456 new CORBA::BAD_OPERATION (0, CORBA::COMPLETED_NO);
7457 __req->set_exception (ex);
7458 __req->write_results();
7459 }
7460
7461
7462
7463 POA_Auktion::FilterHome::~FilterHome()
7464 {
7465 }
7466
7467 ::Auktion::FilterHome_ptr
POA_Auktion::FilterHome::_this ()
7468 {
7469 CORBA::Object_var obj = PortableServer::ServantBase::_this();
7470 return ::Auktion::FilterHome::_narrow (obj);
7471 }
7472
7473 CORBA::Boolean
POA_Auktion::FilterHome::_is_a (const char * repoid)
7474 {
7475 if (strcmp (repoid, "IDL:r4/Auktion/FilterHome:1.0") == 0) {
7476 return TRUE;
7477 }
7478 if (POA_Auktion::FilterHomeExplicit::_is_a (repoid)) {
7479 return TRUE;
7480 }
7481 if (POA_Auktion::FilterHomeImplicit::_is_a (repoid)) {
7482 return TRUE;
7483 }
7484 return FALSE;
7485 }
7486
7487 CORBA::InterfaceDef_ptr
POA_Auktion::FilterHome::_get_interface ()
7488 {
7489 CORBA::InterfaceDef_ptr ifd = PortableServer::ServantBase::_get_interface ("IDL:r4/Auktion/FilterHome:1.0");
7490
7491 if (CORBA::is_nil (ifd)) {
7492 mico_throw (CORBA::OBJ_ADAPTER (0, CORBA::COMPLETED_NO));
7493 }
7494
7495 return ifd;
7496 }
7497
7498 CORBA::RepositoryId
POA_Auktion::FilterHome::_primary_interface (const PortableServer::ObjectId &, PortableServer::POA_ptr)
7499 {
7500 return CORBA::string_dup ("IDL:r4/Auktion/FilterHome:1.0");
7501 }
7502
7503 CORBA::Object_ptr
POA_Auktion::FilterHome::_make_stub (PortableServer::POA_ptr poa, CORBA::Object_ptr obj)
7504 {
7505 return new ::Auktion::FilterHome_stub_clp (poa, obj);
7506 }
7507
7508 bool
POA_Auktion::FilterHome::dispatch (CORBA::StaticServerRequest_ptr __req)
7509 {
7510
7511 if (POA_Auktion::FilterHomeExplicit::dispatch (__req)) {
7512 return true;
7513 }
7514
7515 if (POA_Auktion::FilterHomeImplicit::dispatch (__req)) {
7516 return true;
7517 }
7518
7519 return false;
7520 }
7521
7522 void
POA_Auktion::FilterHome::invoke (CORBA::StaticServerRequest_ptr __req)
7523 {
7524 if (dispatch (__req)) {
7525 return;
7526 }
7527
7528 CORBA::Exception * ex =
7529 new CORBA::BAD_OPERATION (0, CORBA::COMPLETED_NO);
7530 __req->set_exception (ex);
7531 __req->write_results();
7532 }
7533
7534
7535
7536 POA_Auktion::BieterHomeExplicit::~BieterHomeExplicit()
7537 {
7538 }
7539
7540 ::Auktion::BieterHomeExplicit_ptr
POA_Auktion::BieterHomeExplicit::_this ()
7541 {
7542 CORBA::Object_var obj = PortableServer::ServantBase::_this();
7543 return ::Auktion::BieterHomeExplicit::_narrow (obj);
7544 }
7545
7546 CORBA::Boolean
POA_Auktion::BieterHomeExplicit::_is_a (const char * repoid)
7547 {
7548 if (strcmp (repoid, "IDL:r4/Auktion/BieterHomeExplicit:1.0") == 0) {
7549 return TRUE;
7550 }
7551 if (POA_Components::CCMHome::_is_a (repoid)) {
7552 return TRUE;
7553 }
7554 return FALSE;
7555 }
7556
7557 CORBA::InterfaceDef_ptr
POA_Auktion::BieterHomeExplicit::_get_interface ()
7558 {
7559 CORBA::InterfaceDef_ptr ifd = PortableServer::ServantBase::_get_interface ("IDL:r4/Auktion/BieterHomeExplicit:1.0");
7560
7561 if (CORBA::is_nil (ifd)) {
7562 mico_throw (CORBA::OBJ_ADAPTER (0, CORBA::COMPLETED_NO));
7563 }
7564
7565 return ifd;
7566 }
7567
7568 CORBA::RepositoryId
POA_Auktion::BieterHomeExplicit::_primary_interface (const PortableServer::ObjectId &, PortableServer::POA_ptr)
7569 {
7570 return CORBA::string_dup ("IDL:r4/Auktion/BieterHomeExplicit:1.0");
7571 }
7572
7573 CORBA::Object_ptr
POA_Auktion::BieterHomeExplicit::_make_stub (PortableServer::POA_ptr poa, CORBA::Object_ptr obj)
7574 {
7575 return new ::Auktion::BieterHomeExplicit_stub_clp (poa, obj);
7576 }
7577
7578 bool
POA_Auktion::BieterHomeExplicit::dispatch (CORBA::StaticServerRequest_ptr __req)
7579 {
7580
7581 if (POA_Components::CCMHome::dispatch (__req)) {
7582 return true;
7583 }
7584
7585 return false;
7586 }
7587
7588 void
POA_Auktion::BieterHomeExplicit::invoke (CORBA::StaticServerRequest_ptr __req)
7589 {
7590 if (dispatch (__req)) {
7591 return;
7592 }
7593
7594 CORBA::Exception * ex =
7595 new CORBA::BAD_OPERATION (0, CORBA::COMPLETED_NO);
7596 __req->set_exception (ex);
7597 __req->write_results();
7598 }
7599
7600
7601
7602 POA_Auktion::BieterHomeImplicit::~BieterHomeImplicit()
7603 {
7604 }
7605
7606 ::Auktion::BieterHomeImplicit_ptr
POA_Auktion::BieterHomeImplicit::_this ()
7607 {
7608 CORBA::Object_var obj = PortableServer::ServantBase::_this();
7609 return ::Auktion::BieterHomeImplicit::_narrow (obj);
7610 }
7611
7612 CORBA::Boolean
POA_Auktion::BieterHomeImplicit::_is_a (const char * repoid)
7613 {
7614 if (strcmp (repoid, "IDL:r4/Auktion/BieterHomeImplicit:1.0") == 0) {
7615 return TRUE;
7616 }
7617 if (POA_Components::KeylessCCMHome::_is_a (repoid)) {
7618 return TRUE;
7619 }
7620 return FALSE;
7621 }
7622
7623 CORBA::InterfaceDef_ptr
POA_Auktion::BieterHomeImplicit::_get_interface ()
7624 {
7625 CORBA::InterfaceDef_ptr ifd = PortableServer::ServantBase::_get_interface ("IDL:r4/Auktion/BieterHomeImplicit:1.0");
7626
7627 if (CORBA::is_nil (ifd)) {
7628 mico_throw (CORBA::OBJ_ADAPTER (0, CORBA::COMPLETED_NO));
7629 }
7630
7631 return ifd;
7632 }
7633
7634 CORBA::RepositoryId
POA_Auktion::BieterHomeImplicit::_primary_interface (const PortableServer::ObjectId &, PortableServer::POA_ptr)
7635 {
7636 return CORBA::string_dup ("IDL:r4/Auktion/BieterHomeImplicit:1.0");
7637 }
7638
7639 CORBA::Object_ptr
POA_Auktion::BieterHomeImplicit::_make_stub (PortableServer::POA_ptr poa, CORBA::Object_ptr obj)
7640 {
7641 return new ::Auktion::BieterHomeImplicit_stub_clp (poa, obj);
7642 }
7643
7644 bool
POA_Auktion::BieterHomeImplicit::dispatch (CORBA::StaticServerRequest_ptr __req)
7645 {
7646 #ifdef HAVE_EXCEPTIONS
7647 try {
7648 #endif
7649 if( strcmp( __req->op_name(), "create" ) == 0 ) {
7650 ::Auktion::Bieter_ptr _res;
7651 CORBA::StaticAny __res( _marshaller_Auktion_Bieter, &_res );
7652 __req->set_result( &__res );
7653
7654 if( !__req->read_args() )
7655 return true;
7656
7657 _res = create();
7658 __req->write_results();
7659 CORBA::release( _res );
7660 return true;
7661 }
7662 #ifdef HAVE_EXCEPTIONS
7663 } catch( CORBA::SystemException_catch &_ex ) {
7664 __req->set_exception( _ex->_clone() );
7665 __req->write_results();
7666 return true;
7667 } catch( ... ) {
7668 CORBA::UNKNOWN _ex (CORBA::OMGVMCID | 1, CORBA::COMPLETED_MAYBE);
7669 __req->set_exception (_ex->_clone());
7670 __req->write_results ();
7671 return true;
7672 }
7673 #endif
7674
7675 if (POA_Components::KeylessCCMHome::dispatch (__req)) {
7676 return true;
7677 }
7678
7679 return false;
7680 }
7681
7682 void
POA_Auktion::BieterHomeImplicit::invoke (CORBA::StaticServerRequest_ptr __req)
7683 {
7684 if (dispatch (__req)) {
7685 return;
7686 }
7687
7688 CORBA::Exception * ex =
7689 new CORBA::BAD_OPERATION (0, CORBA::COMPLETED_NO);
7690 __req->set_exception (ex);
7691 __req->write_results();
7692 }
7693
7694
7695
7696 POA_Auktion::BieterHome::~BieterHome()
7697 {
7698 }
7699
7700 ::Auktion::BieterHome_ptr
POA_Auktion::BieterHome::_this ()
7701 {
7702 CORBA::Object_var obj = PortableServer::ServantBase::_this();
7703 return ::Auktion::BieterHome::_narrow (obj);
7704 }
7705
7706 CORBA::Boolean
POA_Auktion::BieterHome::_is_a (const char * repoid)
7707 {
7708 if (strcmp (repoid, "IDL:r4/Auktion/BieterHome:1.0") == 0) {
7709 return TRUE;
7710 }
7711 if (POA_Auktion::BieterHomeExplicit::_is_a (repoid)) {
7712 return TRUE;
7713 }
7714 if (POA_Auktion::BieterHomeImplicit::_is_a (repoid)) {
7715 return TRUE;
7716 }
7717 return FALSE;
7718 }
7719
7720 CORBA::InterfaceDef_ptr
POA_Auktion::BieterHome::_get_interface ()
7721 {
7722 CORBA::InterfaceDef_ptr ifd = PortableServer::ServantBase::_get_interface ("IDL:r4/Auktion/BieterHome:1.0");
7723
7724 if (CORBA::is_nil (ifd)) {
7725 mico_throw (CORBA::OBJ_ADAPTER (0, CORBA::COMPLETED_NO));
7726 }
7727
7728 return ifd;
7729 }
7730
7731 CORBA::RepositoryId
POA_Auktion::BieterHome::_primary_interface (const PortableServer::ObjectId &, PortableServer::POA_ptr)
7732 {
7733 return CORBA::string_dup ("IDL:r4/Auktion/BieterHome:1.0");
7734 }
7735
7736 CORBA::Object_ptr
POA_Auktion::BieterHome::_make_stub (PortableServer::POA_ptr poa, CORBA::Object_ptr obj)
7737 {
7738 return new ::Auktion::BieterHome_stub_clp (poa, obj);
7739 }
7740
7741 bool
POA_Auktion::BieterHome::dispatch (CORBA::StaticServerRequest_ptr __req)
7742 {
7743
7744 if (POA_Auktion::BieterHomeExplicit::dispatch (__req)) {
7745 return true;
7746 }
7747
7748 if (POA_Auktion::BieterHomeImplicit::dispatch (__req)) {
7749 return true;
7750 }
7751
7752 return false;
7753 }
7754
7755 void
POA_Auktion::BieterHome::invoke (CORBA::StaticServerRequest_ptr __req)
7756 {
7757 if (dispatch (__req)) {
7758 return;
7759 }
7760
7761 CORBA::Exception * ex =
7762 new CORBA::BAD_OPERATION (0, CORBA::COMPLETED_NO);
7763 __req->set_exception (ex);
7764 __req->write_results();
7765 }
7766
7767
7768
7769 POA_Auktion::VerkaeuferHomeExplicit::~VerkaeuferHomeExplicit()
7770 {
7771 }
7772
7773 ::Auktion::VerkaeuferHomeExplicit_ptr
POA_Auktion::VerkaeuferHomeExplicit::_this ()
7774 {
7775 CORBA::Object_var obj = PortableServer::ServantBase::_this();
7776 return ::Auktion::VerkaeuferHomeExplicit::_narrow (obj);
7777 }
7778
7779 CORBA::Boolean
POA_Auktion::VerkaeuferHomeExplicit::_is_a (const char * repoid)
7780 {
7781 if (strcmp (repoid, "IDL:r4/Auktion/VerkaeuferHomeExplicit:1.0") == 0) {
7782 return TRUE;
7783 }
7784 if (POA_Components::CCMHome::_is_a (repoid)) {
7785 return TRUE;
7786 }
7787 return FALSE;
7788 }
7789
7790 CORBA::InterfaceDef_ptr
POA_Auktion::VerkaeuferHomeExplicit::_get_interface ()
7791 {
7792 CORBA::InterfaceDef_ptr ifd = PortableServer::ServantBase::_get_interface ("IDL:r4/Auktion/VerkaeuferHomeExplicit:1.0");
7793
7794 if (CORBA::is_nil (ifd)) {
7795 mico_throw (CORBA::OBJ_ADAPTER (0, CORBA::COMPLETED_NO));
7796 }
7797
7798 return ifd;
7799 }
7800
7801 CORBA::RepositoryId
POA_Auktion::VerkaeuferHomeExplicit::_primary_interface (const PortableServer::ObjectId &, PortableServer::POA_ptr)
7802 {
7803 return CORBA::string_dup ("IDL:r4/Auktion/VerkaeuferHomeExplicit:1.0");
7804 }
7805
7806 CORBA::Object_ptr
POA_Auktion::VerkaeuferHomeExplicit::_make_stub (PortableServer::POA_ptr poa, CORBA::Object_ptr obj)
7807 {
7808 return new ::Auktion::VerkaeuferHomeExplicit_stub_clp (poa, obj);
7809 }
7810
7811 bool
POA_Auktion::VerkaeuferHomeExplicit::dispatch (CORBA::StaticServerRequest_ptr __req)
7812 {
7813
7814 if (POA_Components::CCMHome::dispatch (__req)) {
7815 return true;
7816 }
7817
7818 return false;
7819 }
7820
7821 void
POA_Auktion::VerkaeuferHomeExplicit::invoke (CORBA::StaticServerRequest_ptr __req)
7822 {
7823 if (dispatch (__req)) {
7824 return;
7825 }
7826
7827 CORBA::Exception * ex =
7828 new CORBA::BAD_OPERATION (0, CORBA::COMPLETED_NO);
7829 __req->set_exception (ex);
7830 __req->write_results();
7831 }
7832
7833
7834
7835 POA_Auktion::VerkaeuferHomeImplicit::~VerkaeuferHomeImplicit()
7836 {
7837 }
7838
7839 ::Auktion::VerkaeuferHomeImplicit_ptr
POA_Auktion::VerkaeuferHomeImplicit::_this ()
7840 {
7841 CORBA::Object_var obj = PortableServer::ServantBase::_this();
7842 return ::Auktion::VerkaeuferHomeImplicit::_narrow (obj);
7843 }
7844
7845 CORBA::Boolean
POA_Auktion::VerkaeuferHomeImplicit::_is_a (const char * repoid)
7846 {
7847 if (strcmp (repoid, "IDL:r4/Auktion/VerkaeuferHomeImplicit:1.0") == 0) {
7848 return TRUE;
7849 }
7850 if (POA_Components::KeylessCCMHome::_is_a (repoid)) {
7851 return TRUE;
7852 }
7853 return FALSE;
7854 }
7855
7856 CORBA::InterfaceDef_ptr
POA_Auktion::VerkaeuferHomeImplicit::_get_interface ()
7857 {
7858 CORBA::InterfaceDef_ptr ifd = PortableServer::ServantBase::_get_interface ("IDL:r4/Auktion/VerkaeuferHomeImplicit:1.0");
7859
7860 if (CORBA::is_nil (ifd)) {
7861 mico_throw (CORBA::OBJ_ADAPTER (0, CORBA::COMPLETED_NO));
7862 }
7863
7864 return ifd;
7865 }
7866
7867 CORBA::RepositoryId
POA_Auktion::VerkaeuferHomeImplicit::_primary_interface (const PortableServer::ObjectId &, PortableServer::POA_ptr)
7868 {
7869 return CORBA::string_dup ("IDL:r4/Auktion/VerkaeuferHomeImplicit:1.0");
7870 }
7871
7872 CORBA::Object_ptr
POA_Auktion::VerkaeuferHomeImplicit::_make_stub (PortableServer::POA_ptr poa, CORBA::Object_ptr obj)
7873 {
7874 return new ::Auktion::VerkaeuferHomeImplicit_stub_clp (poa, obj);
7875 }
7876
7877 bool
POA_Auktion::VerkaeuferHomeImplicit::dispatch (CORBA::StaticServerRequest_ptr __req)
7878 {
7879 #ifdef HAVE_EXCEPTIONS
7880 try {
7881 #endif
7882 if( strcmp( __req->op_name(), "create" ) == 0 ) {
7883 ::Auktion::Verkaeufer_ptr _res;
7884 CORBA::StaticAny __res( _marshaller_Auktion_Verkaeufer, &_res );
7885 __req->set_result( &__res );
7886
7887 if( !__req->read_args() )
7888 return true;
7889
7890 _res = create();
7891 __req->write_results();
7892 CORBA::release( _res );
7893 return true;
7894 }
7895 #ifdef HAVE_EXCEPTIONS
7896 } catch( CORBA::SystemException_catch &_ex ) {
7897 __req->set_exception( _ex->_clone() );
7898 __req->write_results();
7899 return true;
7900 } catch( ... ) {
7901 CORBA::UNKNOWN _ex (CORBA::OMGVMCID | 1, CORBA::COMPLETED_MAYBE);
7902 __req->set_exception (_ex->_clone());
7903 __req->write_results ();
7904 return true;
7905 }
7906 #endif
7907
7908 if (POA_Components::KeylessCCMHome::dispatch (__req)) {
7909 return true;
7910 }
7911
7912 return false;
7913 }
7914
7915 void
POA_Auktion::VerkaeuferHomeImplicit::invoke (CORBA::StaticServerRequest_ptr __req)
7916 {
7917 if (dispatch (__req)) {
7918 return;
7919 }
7920
7921 CORBA::Exception * ex =
7922 new CORBA::BAD_OPERATION (0, CORBA::COMPLETED_NO);
7923 __req->set_exception (ex);
7924 __req->write_results();
7925 }
7926
7927
7928
7929 POA_Auktion::VerkaeuferHome::~VerkaeuferHome()
7930 {
7931 }
7932
7933 ::Auktion::VerkaeuferHome_ptr
POA_Auktion::VerkaeuferHome::_this ()
7934 {
7935 CORBA::Object_var obj = PortableServer::ServantBase::_this();
7936 return ::Auktion::VerkaeuferHome::_narrow (obj);
7937 }
7938
7939 CORBA::Boolean
POA_Auktion::VerkaeuferHome::_is_a (const char * repoid)
7940 {
7941 if (strcmp (repoid, "IDL:r4/Auktion/VerkaeuferHome:1.0") == 0) {
7942 return TRUE;
7943 }
7944 if (POA_Auktion::VerkaeuferHomeExplicit::_is_a (repoid)) {
7945 return TRUE;
7946 }
7947 if (POA_Auktion::VerkaeuferHomeImplicit::_is_a (repoid)) {
7948 return TRUE;
7949 }
7950 return FALSE;
7951 }
7952
7953 CORBA::InterfaceDef_ptr
POA_Auktion::VerkaeuferHome::_get_interface ()
7954 {
7955 CORBA::InterfaceDef_ptr ifd = PortableServer::ServantBase::_get_interface ("IDL:r4/Auktion/VerkaeuferHome:1.0");
7956
7957 if (CORBA::is_nil (ifd)) {
7958 mico_throw (CORBA::OBJ_ADAPTER (0, CORBA::COMPLETED_NO));
7959 }
7960
7961 return ifd;
7962 }
7963
7964 CORBA::RepositoryId
POA_Auktion::VerkaeuferHome::_primary_interface (const PortableServer::ObjectId &, PortableServer::POA_ptr)
7965 {
7966 return CORBA::string_dup ("IDL:r4/Auktion/VerkaeuferHome:1.0");
7967 }
7968
7969 CORBA::Object_ptr
POA_Auktion::VerkaeuferHome::_make_stub (PortableServer::POA_ptr poa, CORBA::Object_ptr obj)
7970 {
7971 return new ::Auktion::VerkaeuferHome_stub_clp (poa, obj);
7972 }
7973
7974 bool
POA_Auktion::VerkaeuferHome::dispatch (CORBA::StaticServerRequest_ptr __req)
7975 {
7976
7977 if (POA_Auktion::VerkaeuferHomeExplicit::dispatch (__req)) {
7978 return true;
7979 }
7980
7981 if (POA_Auktion::VerkaeuferHomeImplicit::dispatch (__req)) {
7982 return true;
7983 }
7984
7985 return false;
7986 }
7987
7988 void
POA_Auktion::VerkaeuferHome::invoke (CORBA::StaticServerRequest_ptr __req)
7989 {
7990 if (dispatch (__req)) {
7991 return;
7992 }
7993
7994 CORBA::Exception * ex =
7995 new CORBA::BAD_OPERATION (0, CORBA::COMPLETED_NO);
7996 __req->set_exception (ex);
7997 __req->write_results();
7998 }
7999
8000
8001