00001 // ********************************************************************** 00002 // 00003 // Copyright (c) 2003-2007 ZeroC, Inc. All rights reserved. 00004 // 00005 // This copy of Ice-E is licensed to you under the terms described in the 00006 // ICEE_LICENSE file included in this distribution. 00007 // 00008 // ********************************************************************** 00009 00010 // Ice-E version 1.3.0 00011 // Generated from file `IceStorm.ice' 00012 00013 #ifndef __IceStorm_h__ 00014 #define __IceStorm_h__ 00015 00016 #include <IceE/ProxyF.h> 00017 #include <IceE/ObjectF.h> 00018 #include <IceE/Exception.h> 00019 #include <IceE/ScopedArray.h> 00020 #include <IceE/Proxy.h> 00021 #include <IceE/Object.h> 00022 #ifndef ICEE_PURE_CLIENT 00023 # include <IceE/Incoming.h> 00024 #endif 00025 #include <IceE/Outgoing.h> 00026 #include <IceE/UserExceptionFactory.h> 00027 #include <IceE/FactoryTable.h> 00028 #include <IceE/UndefSysMacros.h> 00029 00030 #ifndef ICEE_IGNORE_VERSION 00031 # if ICEE_INT_VERSION / 100 != 103 00032 # error IceE version mismatch! 00033 # endif 00034 # if ICEE_INT_VERSION % 100 < 0 00035 # error IceE patch level mismatch! 00036 # endif 00037 #endif 00038 00039 namespace IceProxy 00040 { 00041 00042 namespace IceStorm 00043 { 00044 00045 class Topic; 00046 00047 class TopicManager; 00048 00049 } 00050 00051 } 00052 00053 namespace IceStorm 00054 { 00055 00056 class Topic; 00057 bool operator==(const Topic&, const Topic&); 00058 bool operator<(const Topic&, const Topic&); 00059 00060 class TopicManager; 00061 bool operator==(const TopicManager&, const TopicManager&); 00062 bool operator<(const TopicManager&, const TopicManager&); 00063 00064 } 00065 00066 namespace IceInternal 00067 { 00068 00069 ::Ice::Object* upCast(::IceStorm::Topic*); 00070 ::IceProxy::Ice::Object* upCast(::IceProxy::IceStorm::Topic*); 00071 00072 ::Ice::Object* upCast(::IceStorm::TopicManager*); 00073 ::IceProxy::Ice::Object* upCast(::IceProxy::IceStorm::TopicManager*); 00074 00075 } 00076 00077 namespace IceStorm 00078 { 00079 00080 typedef ::IceInternal::Handle< ::IceStorm::Topic> TopicPtr; 00081 typedef ::IceInternal::ProxyHandle< ::IceProxy::IceStorm::Topic> TopicPrx; 00082 00083 void __read(::IceInternal::BasicStream*, TopicPrx&); 00084 void __patch__TopicPtr(void*, ::Ice::ObjectPtr&); 00085 00086 typedef ::IceInternal::Handle< ::IceStorm::TopicManager> TopicManagerPtr; 00087 typedef ::IceInternal::ProxyHandle< ::IceProxy::IceStorm::TopicManager> TopicManagerPrx; 00088 00089 void __read(::IceInternal::BasicStream*, TopicManagerPrx&); 00090 void __patch__TopicManagerPtr(void*, ::Ice::ObjectPtr&); 00091 00092 } 00093 00094 namespace Ice 00095 { 00096 00097 typedef ::std::map< ::std::string, ::std::string> SliceChecksumDict; 00098 void __writeSliceChecksumDict(::IceInternal::BasicStream*, const SliceChecksumDict&); 00099 void __readSliceChecksumDict(::IceInternal::BasicStream*, SliceChecksumDict&); 00100 00101 } 00102 00103 namespace IceStorm 00104 { 00105 00106 struct LinkInfo 00107 { 00108 ::IceStorm::TopicPrx theTopic; 00109 ::std::string name; 00110 ::Ice::Int cost; 00111 00112 bool operator==(const LinkInfo&) const; 00113 bool operator<(const LinkInfo&) const; 00114 bool operator!=(const LinkInfo& __rhs) const 00115 { 00116 return !operator==(__rhs); 00117 } 00118 bool operator<=(const LinkInfo& __rhs) const 00119 { 00120 return operator<(__rhs) || operator==(__rhs); 00121 } 00122 bool operator>(const LinkInfo& __rhs) const 00123 { 00124 return !operator<(__rhs) && !operator==(__rhs); 00125 } 00126 bool operator>=(const LinkInfo& __rhs) const 00127 { 00128 return !operator<(__rhs); 00129 } 00130 00131 void __write(::IceInternal::BasicStream*) const; 00132 void __read(::IceInternal::BasicStream*); 00133 }; 00134 00135 typedef ::std::vector< ::IceStorm::LinkInfo> LinkInfoSeq; 00136 void __writeLinkInfoSeq(::IceInternal::BasicStream*, const ::IceStorm::LinkInfo*, const ::IceStorm::LinkInfo*); 00137 void __readLinkInfoSeq(::IceInternal::BasicStream*, LinkInfoSeq&); 00138 00139 typedef ::std::map< ::std::string, ::std::string> QoS; 00140 void __writeQoS(::IceInternal::BasicStream*, const QoS&); 00141 void __readQoS(::IceInternal::BasicStream*, QoS&); 00142 00143 class LinkExists : public ::Ice::UserException 00144 { 00145 public: 00146 00147 LinkExists() {} 00148 explicit LinkExists(const ::std::string&); 00149 virtual ~LinkExists() throw(); 00150 00151 virtual ::std::string ice_name() const; 00152 virtual ::Ice::Exception* ice_clone() const; 00153 virtual void ice_throw() const; 00154 00155 static const ::IceInternal::UserExceptionFactoryPtr& ice_factory(); 00156 00157 ::std::string name; 00158 00159 virtual void __write(::IceInternal::BasicStream*) const; 00160 virtual void __read(::IceInternal::BasicStream*, bool); 00161 }; 00162 00163 static LinkExists __LinkExists_init; 00164 00165 class NoSuchLink : public ::Ice::UserException 00166 { 00167 public: 00168 00169 NoSuchLink() {} 00170 explicit NoSuchLink(const ::std::string&); 00171 virtual ~NoSuchLink() throw(); 00172 00173 virtual ::std::string ice_name() const; 00174 virtual ::Ice::Exception* ice_clone() const; 00175 virtual void ice_throw() const; 00176 00177 static const ::IceInternal::UserExceptionFactoryPtr& ice_factory(); 00178 00179 ::std::string name; 00180 00181 virtual void __write(::IceInternal::BasicStream*) const; 00182 virtual void __read(::IceInternal::BasicStream*, bool); 00183 }; 00184 00185 class AlreadySubscribed : public ::Ice::UserException 00186 { 00187 public: 00188 00189 AlreadySubscribed() {} 00190 virtual ~AlreadySubscribed() throw(); 00191 00192 virtual ::std::string ice_name() const; 00193 virtual ::Ice::Exception* ice_clone() const; 00194 virtual void ice_throw() const; 00195 00196 static const ::IceInternal::UserExceptionFactoryPtr& ice_factory(); 00197 00198 virtual void __write(::IceInternal::BasicStream*) const; 00199 virtual void __read(::IceInternal::BasicStream*, bool); 00200 }; 00201 00202 class BadQoS : public ::Ice::UserException 00203 { 00204 public: 00205 00206 BadQoS() {} 00207 explicit BadQoS(const ::std::string&); 00208 virtual ~BadQoS() throw(); 00209 00210 virtual ::std::string ice_name() const; 00211 virtual ::Ice::Exception* ice_clone() const; 00212 virtual void ice_throw() const; 00213 00214 static const ::IceInternal::UserExceptionFactoryPtr& ice_factory(); 00215 00216 ::std::string reason; 00217 00218 virtual void __write(::IceInternal::BasicStream*) const; 00219 virtual void __read(::IceInternal::BasicStream*, bool); 00220 }; 00221 00222 typedef ::std::map< ::std::string, ::IceStorm::TopicPrx> TopicDict; 00223 void __writeTopicDict(::IceInternal::BasicStream*, const TopicDict&); 00224 void __readTopicDict(::IceInternal::BasicStream*, TopicDict&); 00225 00226 class TopicExists : public ::Ice::UserException 00227 { 00228 public: 00229 00230 TopicExists() {} 00231 explicit TopicExists(const ::std::string&); 00232 virtual ~TopicExists() throw(); 00233 00234 virtual ::std::string ice_name() const; 00235 virtual ::Ice::Exception* ice_clone() const; 00236 virtual void ice_throw() const; 00237 00238 static const ::IceInternal::UserExceptionFactoryPtr& ice_factory(); 00239 00240 ::std::string name; 00241 00242 virtual void __write(::IceInternal::BasicStream*) const; 00243 virtual void __read(::IceInternal::BasicStream*, bool); 00244 }; 00245 00246 class NoSuchTopic : public ::Ice::UserException 00247 { 00248 public: 00249 00250 NoSuchTopic() {} 00251 explicit NoSuchTopic(const ::std::string&); 00252 virtual ~NoSuchTopic() throw(); 00253 00254 virtual ::std::string ice_name() const; 00255 virtual ::Ice::Exception* ice_clone() const; 00256 virtual void ice_throw() const; 00257 00258 static const ::IceInternal::UserExceptionFactoryPtr& ice_factory(); 00259 00260 ::std::string name; 00261 00262 virtual void __write(::IceInternal::BasicStream*) const; 00263 virtual void __read(::IceInternal::BasicStream*, bool); 00264 }; 00265 00266 } 00267 00268 namespace IceStorm 00269 { 00270 00271 class Topic : virtual public ::Ice::Object 00272 { 00273 public: 00274 00275 typedef TopicPrx ProxyType; 00276 typedef TopicPtr PointerType; 00277 00278 00279 virtual bool ice_isA(const ::std::string&, const ::Ice::Current& = ::Ice::Current()) const; 00280 virtual ::std::vector< ::std::string> ice_ids(const ::Ice::Current& = ::Ice::Current()) const; 00281 virtual const ::std::string& ice_id(const ::Ice::Current& = ::Ice::Current()) const; 00282 static const ::std::string& ice_staticId(); 00283 00284 virtual ::std::string getName(const ::Ice::Current& = ::Ice::Current()) const = 0; 00285 #ifndef ICEE_PURE_CLIENT 00286 ::Ice::DispatchStatus ___getName(::IceInternal::Incoming&, const ::Ice::Current&) const; 00287 #endif // ICEE_PURE_CLIENT 00288 00289 virtual ::Ice::ObjectPrx getPublisher(const ::Ice::Current& = ::Ice::Current()) const = 0; 00290 #ifndef ICEE_PURE_CLIENT 00291 ::Ice::DispatchStatus ___getPublisher(::IceInternal::Incoming&, const ::Ice::Current&) const; 00292 #endif // ICEE_PURE_CLIENT 00293 00294 virtual ::Ice::ObjectPrx getNonReplicatedPublisher(const ::Ice::Current& = ::Ice::Current()) const = 0; 00295 #ifndef ICEE_PURE_CLIENT 00296 ::Ice::DispatchStatus ___getNonReplicatedPublisher(::IceInternal::Incoming&, const ::Ice::Current&) const; 00297 #endif // ICEE_PURE_CLIENT 00298 00299 ICE_DEPRECATED_API virtual void subscribe(const ::IceStorm::QoS&, const ::Ice::ObjectPrx&, const ::Ice::Current& = ::Ice::Current()) = 0; 00300 #ifndef ICEE_PURE_CLIENT 00301 ::Ice::DispatchStatus ___subscribe(::IceInternal::Incoming&, const ::Ice::Current&); 00302 #endif // ICEE_PURE_CLIENT 00303 00304 virtual ::Ice::ObjectPrx subscribeAndGetPublisher(const ::IceStorm::QoS&, const ::Ice::ObjectPrx&, const ::Ice::Current& = ::Ice::Current()) = 0; 00305 #ifndef ICEE_PURE_CLIENT 00306 ::Ice::DispatchStatus ___subscribeAndGetPublisher(::IceInternal::Incoming&, const ::Ice::Current&); 00307 #endif // ICEE_PURE_CLIENT 00308 00309 virtual void unsubscribe(const ::Ice::ObjectPrx&, const ::Ice::Current& = ::Ice::Current()) = 0; 00310 #ifndef ICEE_PURE_CLIENT 00311 ::Ice::DispatchStatus ___unsubscribe(::IceInternal::Incoming&, const ::Ice::Current&); 00312 #endif // ICEE_PURE_CLIENT 00313 00314 virtual void link(const ::IceStorm::TopicPrx&, ::Ice::Int, const ::Ice::Current& = ::Ice::Current()) = 0; 00315 #ifndef ICEE_PURE_CLIENT 00316 ::Ice::DispatchStatus ___link(::IceInternal::Incoming&, const ::Ice::Current&); 00317 #endif // ICEE_PURE_CLIENT 00318 00319 virtual void unlink(const ::IceStorm::TopicPrx&, const ::Ice::Current& = ::Ice::Current()) = 0; 00320 #ifndef ICEE_PURE_CLIENT 00321 ::Ice::DispatchStatus ___unlink(::IceInternal::Incoming&, const ::Ice::Current&); 00322 #endif // ICEE_PURE_CLIENT 00323 00324 virtual ::IceStorm::LinkInfoSeq getLinkInfoSeq(const ::Ice::Current& = ::Ice::Current()) const = 0; 00325 #ifndef ICEE_PURE_CLIENT 00326 ::Ice::DispatchStatus ___getLinkInfoSeq(::IceInternal::Incoming&, const ::Ice::Current&) const; 00327 #endif // ICEE_PURE_CLIENT 00328 00329 virtual void destroy(const ::Ice::Current& = ::Ice::Current()) = 0; 00330 #ifndef ICEE_PURE_CLIENT 00331 ::Ice::DispatchStatus ___destroy(::IceInternal::Incoming&, const ::Ice::Current&); 00332 #endif // ICEE_PURE_CLIENT 00333 00334 #ifndef ICEE_PURE_CLIENT 00335 virtual ::Ice::DispatchStatus __dispatch(::IceInternal::Incoming&, const ::Ice::Current&); 00336 #endif // ICEE_PURE_CLIENT 00337 00338 virtual void __write(::IceInternal::BasicStream*) const; 00339 virtual void __read(::IceInternal::BasicStream*, bool); 00340 }; 00341 00342 class TopicManager : virtual public ::Ice::Object 00343 { 00344 public: 00345 00346 typedef TopicManagerPrx ProxyType; 00347 typedef TopicManagerPtr PointerType; 00348 00349 00350 virtual bool ice_isA(const ::std::string&, const ::Ice::Current& = ::Ice::Current()) const; 00351 virtual ::std::vector< ::std::string> ice_ids(const ::Ice::Current& = ::Ice::Current()) const; 00352 virtual const ::std::string& ice_id(const ::Ice::Current& = ::Ice::Current()) const; 00353 static const ::std::string& ice_staticId(); 00354 00355 virtual ::IceStorm::TopicPrx create(const ::std::string&, const ::Ice::Current& = ::Ice::Current()) = 0; 00356 #ifndef ICEE_PURE_CLIENT 00357 ::Ice::DispatchStatus ___create(::IceInternal::Incoming&, const ::Ice::Current&); 00358 #endif // ICEE_PURE_CLIENT 00359 00360 virtual ::IceStorm::TopicPrx retrieve(const ::std::string&, const ::Ice::Current& = ::Ice::Current()) const = 0; 00361 #ifndef ICEE_PURE_CLIENT 00362 ::Ice::DispatchStatus ___retrieve(::IceInternal::Incoming&, const ::Ice::Current&) const; 00363 #endif // ICEE_PURE_CLIENT 00364 00365 virtual ::IceStorm::TopicDict retrieveAll(const ::Ice::Current& = ::Ice::Current()) const = 0; 00366 #ifndef ICEE_PURE_CLIENT 00367 ::Ice::DispatchStatus ___retrieveAll(::IceInternal::Incoming&, const ::Ice::Current&) const; 00368 #endif // ICEE_PURE_CLIENT 00369 00370 virtual ::Ice::SliceChecksumDict getSliceChecksums(const ::Ice::Current& = ::Ice::Current()) const = 0; 00371 #ifndef ICEE_PURE_CLIENT 00372 ::Ice::DispatchStatus ___getSliceChecksums(::IceInternal::Incoming&, const ::Ice::Current&) const; 00373 #endif // ICEE_PURE_CLIENT 00374 00375 #ifndef ICEE_PURE_CLIENT 00376 virtual ::Ice::DispatchStatus __dispatch(::IceInternal::Incoming&, const ::Ice::Current&); 00377 #endif // ICEE_PURE_CLIENT 00378 00379 virtual void __write(::IceInternal::BasicStream*) const; 00380 virtual void __read(::IceInternal::BasicStream*, bool); 00381 }; 00382 00383 } 00384 00385 namespace IceProxy 00386 { 00387 00388 namespace IceStorm 00389 { 00390 00391 class Topic : virtual public ::IceProxy::Ice::Object 00392 { 00393 public: 00394 00395 ::std::string getName() 00396 { 00397 return getName(0); 00398 } 00399 ::std::string getName(const ::Ice::Context& __ctx) 00400 { 00401 return getName(&__ctx); 00402 } 00403 00404 private: 00405 00406 ::std::string getName(const ::Ice::Context*); 00407 00408 public: 00409 00410 ::Ice::ObjectPrx getPublisher() 00411 { 00412 return getPublisher(0); 00413 } 00414 ::Ice::ObjectPrx getPublisher(const ::Ice::Context& __ctx) 00415 { 00416 return getPublisher(&__ctx); 00417 } 00418 00419 private: 00420 00421 ::Ice::ObjectPrx getPublisher(const ::Ice::Context*); 00422 00423 public: 00424 00425 ::Ice::ObjectPrx getNonReplicatedPublisher() 00426 { 00427 return getNonReplicatedPublisher(0); 00428 } 00429 ::Ice::ObjectPrx getNonReplicatedPublisher(const ::Ice::Context& __ctx) 00430 { 00431 return getNonReplicatedPublisher(&__ctx); 00432 } 00433 00434 private: 00435 00436 ::Ice::ObjectPrx getNonReplicatedPublisher(const ::Ice::Context*); 00437 00438 public: 00439 00440 ICE_DEPRECATED_API void subscribe(const ::IceStorm::QoS& theQoS, const ::Ice::ObjectPrx& subscriber) 00441 { 00442 subscribe(theQoS, subscriber, 0); 00443 } 00444 ICE_DEPRECATED_API void subscribe(const ::IceStorm::QoS& theQoS, const ::Ice::ObjectPrx& subscriber, const ::Ice::Context& __ctx) 00445 { 00446 subscribe(theQoS, subscriber, &__ctx); 00447 } 00448 00449 private: 00450 00451 void subscribe(const ::IceStorm::QoS&, const ::Ice::ObjectPrx&, const ::Ice::Context*); 00452 00453 public: 00454 00455 ::Ice::ObjectPrx subscribeAndGetPublisher(const ::IceStorm::QoS& theQoS, const ::Ice::ObjectPrx& subscriber) 00456 { 00457 return subscribeAndGetPublisher(theQoS, subscriber, 0); 00458 } 00459 ::Ice::ObjectPrx subscribeAndGetPublisher(const ::IceStorm::QoS& theQoS, const ::Ice::ObjectPrx& subscriber, const ::Ice::Context& __ctx) 00460 { 00461 return subscribeAndGetPublisher(theQoS, subscriber, &__ctx); 00462 } 00463 00464 private: 00465 00466 ::Ice::ObjectPrx subscribeAndGetPublisher(const ::IceStorm::QoS&, const ::Ice::ObjectPrx&, const ::Ice::Context*); 00467 00468 public: 00469 00470 void unsubscribe(const ::Ice::ObjectPrx& subscriber) 00471 { 00472 unsubscribe(subscriber, 0); 00473 } 00474 void unsubscribe(const ::Ice::ObjectPrx& subscriber, const ::Ice::Context& __ctx) 00475 { 00476 unsubscribe(subscriber, &__ctx); 00477 } 00478 00479 private: 00480 00481 void unsubscribe(const ::Ice::ObjectPrx&, const ::Ice::Context*); 00482 00483 public: 00484 00485 void link(const ::IceStorm::TopicPrx& linkTo, ::Ice::Int cost) 00486 { 00487 link(linkTo, cost, 0); 00488 } 00489 void link(const ::IceStorm::TopicPrx& linkTo, ::Ice::Int cost, const ::Ice::Context& __ctx) 00490 { 00491 link(linkTo, cost, &__ctx); 00492 } 00493 00494 private: 00495 00496 void link(const ::IceStorm::TopicPrx&, ::Ice::Int, const ::Ice::Context*); 00497 00498 public: 00499 00500 void unlink(const ::IceStorm::TopicPrx& linkTo) 00501 { 00502 unlink(linkTo, 0); 00503 } 00504 void unlink(const ::IceStorm::TopicPrx& linkTo, const ::Ice::Context& __ctx) 00505 { 00506 unlink(linkTo, &__ctx); 00507 } 00508 00509 private: 00510 00511 void unlink(const ::IceStorm::TopicPrx&, const ::Ice::Context*); 00512 00513 public: 00514 00515 ::IceStorm::LinkInfoSeq getLinkInfoSeq() 00516 { 00517 return getLinkInfoSeq(0); 00518 } 00519 ::IceStorm::LinkInfoSeq getLinkInfoSeq(const ::Ice::Context& __ctx) 00520 { 00521 return getLinkInfoSeq(&__ctx); 00522 } 00523 00524 private: 00525 00526 ::IceStorm::LinkInfoSeq getLinkInfoSeq(const ::Ice::Context*); 00527 00528 public: 00529 00530 void destroy() 00531 { 00532 destroy(0); 00533 } 00534 void destroy(const ::Ice::Context& __ctx) 00535 { 00536 destroy(&__ctx); 00537 } 00538 00539 private: 00540 00541 void destroy(const ::Ice::Context*); 00542 00543 public: 00544 00545 ::IceInternal::ProxyHandle<Topic> ice_context(const ::Ice::Context& __context) const 00546 { 00547 return dynamic_cast<Topic*>(::IceProxy::Ice::Object::ice_context(__context).get()); 00548 } 00549 00550 ::IceInternal::ProxyHandle<Topic> ice_secure(bool __secure) const 00551 { 00552 return dynamic_cast<Topic*>(::IceProxy::Ice::Object::ice_secure(__secure).get()); 00553 } 00554 00555 #ifdef ICEE_HAS_ROUTER 00556 ::IceInternal::ProxyHandle<Topic> ice_router(const ::Ice::RouterPrx& __router) const 00557 { 00558 return dynamic_cast<Topic*>(::IceProxy::Ice::Object::ice_router(__router).get()); 00559 } 00560 #endif // ICEE_HAS_ROUTER 00561 00562 #ifdef ICEE_HAS_LOCATOR 00563 ::IceInternal::ProxyHandle<Topic> ice_locator(const ::Ice::LocatorPrx& __locator) const 00564 { 00565 return dynamic_cast<Topic*>(::IceProxy::Ice::Object::ice_locator(__locator).get()); 00566 } 00567 00568 ::IceInternal::ProxyHandle<Topic> ice_adapterId(const std::string& __id) const 00569 { 00570 return dynamic_cast<Topic*>(::IceProxy::Ice::Object::ice_adapterId(__id).get()); 00571 } 00572 #endif // ICEE_HAS_LOCATOR 00573 00574 ::IceInternal::ProxyHandle<Topic> ice_twoway() const 00575 { 00576 return dynamic_cast<Topic*>(::IceProxy::Ice::Object::ice_twoway().get()); 00577 } 00578 00579 ::IceInternal::ProxyHandle<Topic> ice_oneway() const 00580 { 00581 return dynamic_cast<Topic*>(::IceProxy::Ice::Object::ice_oneway().get()); 00582 } 00583 00584 ::IceInternal::ProxyHandle<Topic> ice_batchOneway() const 00585 { 00586 return dynamic_cast<Topic*>(::IceProxy::Ice::Object::ice_batchOneway().get()); 00587 } 00588 00589 ::IceInternal::ProxyHandle<Topic> ice_datagram() const 00590 { 00591 return dynamic_cast<Topic*>(::IceProxy::Ice::Object::ice_datagram().get()); 00592 } 00593 00594 ::IceInternal::ProxyHandle<Topic> ice_batchDatagram() const 00595 { 00596 return dynamic_cast<Topic*>(::IceProxy::Ice::Object::ice_batchDatagram().get()); 00597 } 00598 00599 ::IceInternal::ProxyHandle<Topic> ice_timeout(int __timeout) const 00600 { 00601 return dynamic_cast<Topic*>(::IceProxy::Ice::Object::ice_timeout(__timeout).get()); 00602 } 00603 00604 static const ::std::string& ice_staticId(); 00605 00606 private: 00607 00608 virtual ::IceProxy::Ice::Object* __newInstance() const; 00609 }; 00610 00611 class TopicManager : virtual public ::IceProxy::Ice::Object 00612 { 00613 public: 00614 00615 ::IceStorm::TopicPrx create(const ::std::string& name) 00616 { 00617 return create(name, 0); 00618 } 00619 ::IceStorm::TopicPrx create(const ::std::string& name, const ::Ice::Context& __ctx) 00620 { 00621 return create(name, &__ctx); 00622 } 00623 00624 private: 00625 00626 ::IceStorm::TopicPrx create(const ::std::string&, const ::Ice::Context*); 00627 00628 public: 00629 00630 ::IceStorm::TopicPrx retrieve(const ::std::string& name) 00631 { 00632 return retrieve(name, 0); 00633 } 00634 ::IceStorm::TopicPrx retrieve(const ::std::string& name, const ::Ice::Context& __ctx) 00635 { 00636 return retrieve(name, &__ctx); 00637 } 00638 00639 private: 00640 00641 ::IceStorm::TopicPrx retrieve(const ::std::string&, const ::Ice::Context*); 00642 00643 public: 00644 00645 ::IceStorm::TopicDict retrieveAll() 00646 { 00647 return retrieveAll(0); 00648 } 00649 ::IceStorm::TopicDict retrieveAll(const ::Ice::Context& __ctx) 00650 { 00651 return retrieveAll(&__ctx); 00652 } 00653 00654 private: 00655 00656 ::IceStorm::TopicDict retrieveAll(const ::Ice::Context*); 00657 00658 public: 00659 00660 ::Ice::SliceChecksumDict getSliceChecksums() 00661 { 00662 return getSliceChecksums(0); 00663 } 00664 ::Ice::SliceChecksumDict getSliceChecksums(const ::Ice::Context& __ctx) 00665 { 00666 return getSliceChecksums(&__ctx); 00667 } 00668 00669 private: 00670 00671 ::Ice::SliceChecksumDict getSliceChecksums(const ::Ice::Context*); 00672 00673 public: 00674 00675 ::IceInternal::ProxyHandle<TopicManager> ice_context(const ::Ice::Context& __context) const 00676 { 00677 return dynamic_cast<TopicManager*>(::IceProxy::Ice::Object::ice_context(__context).get()); 00678 } 00679 00680 ::IceInternal::ProxyHandle<TopicManager> ice_secure(bool __secure) const 00681 { 00682 return dynamic_cast<TopicManager*>(::IceProxy::Ice::Object::ice_secure(__secure).get()); 00683 } 00684 00685 #ifdef ICEE_HAS_ROUTER 00686 ::IceInternal::ProxyHandle<TopicManager> ice_router(const ::Ice::RouterPrx& __router) const 00687 { 00688 return dynamic_cast<TopicManager*>(::IceProxy::Ice::Object::ice_router(__router).get()); 00689 } 00690 #endif // ICEE_HAS_ROUTER 00691 00692 #ifdef ICEE_HAS_LOCATOR 00693 ::IceInternal::ProxyHandle<TopicManager> ice_locator(const ::Ice::LocatorPrx& __locator) const 00694 { 00695 return dynamic_cast<TopicManager*>(::IceProxy::Ice::Object::ice_locator(__locator).get()); 00696 } 00697 00698 ::IceInternal::ProxyHandle<TopicManager> ice_adapterId(const std::string& __id) const 00699 { 00700 return dynamic_cast<TopicManager*>(::IceProxy::Ice::Object::ice_adapterId(__id).get()); 00701 } 00702 #endif // ICEE_HAS_LOCATOR 00703 00704 ::IceInternal::ProxyHandle<TopicManager> ice_twoway() const 00705 { 00706 return dynamic_cast<TopicManager*>(::IceProxy::Ice::Object::ice_twoway().get()); 00707 } 00708 00709 ::IceInternal::ProxyHandle<TopicManager> ice_oneway() const 00710 { 00711 return dynamic_cast<TopicManager*>(::IceProxy::Ice::Object::ice_oneway().get()); 00712 } 00713 00714 ::IceInternal::ProxyHandle<TopicManager> ice_batchOneway() const 00715 { 00716 return dynamic_cast<TopicManager*>(::IceProxy::Ice::Object::ice_batchOneway().get()); 00717 } 00718 00719 ::IceInternal::ProxyHandle<TopicManager> ice_datagram() const 00720 { 00721 return dynamic_cast<TopicManager*>(::IceProxy::Ice::Object::ice_datagram().get()); 00722 } 00723 00724 ::IceInternal::ProxyHandle<TopicManager> ice_batchDatagram() const 00725 { 00726 return dynamic_cast<TopicManager*>(::IceProxy::Ice::Object::ice_batchDatagram().get()); 00727 } 00728 00729 ::IceInternal::ProxyHandle<TopicManager> ice_timeout(int __timeout) const 00730 { 00731 return dynamic_cast<TopicManager*>(::IceProxy::Ice::Object::ice_timeout(__timeout).get()); 00732 } 00733 00734 static const ::std::string& ice_staticId(); 00735 00736 private: 00737 00738 virtual ::IceProxy::Ice::Object* __newInstance() const; 00739 }; 00740 00741 } 00742 00743 } 00744 00745 #endif