00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00360 activateObjectWithId(oid.c_str());
00361 _target=pushConsumer._retn();
00362 _targetIsProxy=bool(node.attrLong("proxy"));
00363
00364
00365 if(_targetIsProxy)
00366 {
00367 DB(15,"Attempting to reconnect ProxyPushSupplier: "<<oid.c_str())
00368
00369
00370 ProxyPushConsumer_var proxyCons =
00371 string_to_<ProxyPushConsumer>(ior.c_str());
00372 CosEventComm::PushSupplier_var thisSupp =_this();
00373 proxyCons->connect_push_supplier(thisSupp);
00374 DB(7,"Reconnected ProxyPushSupplier: "<<oid.c_str())
00375 }
00376 }
00377 catch(CosEventChannelAdmin::AlreadyConnected&){
00378
00379 DB(7,"Remote ProxyPushConsumer already connected: "<<oid.c_str())
00380 }
00381 catch(CosEventChannelAdmin::TypeError&){
00382
00383 DB(2,"Remote ProxyPushConsumer threw TypeError: "<<oid.c_str())
00384 }
00385 catch(CORBA::OBJECT_NOT_EXIST&) {}
00386 catch(CORBA::TRANSIENT& ) {}
00387 catch(CORBA::COMM_FAILURE& ) {}
00388 }
00389
00390
00391 void ProxyPushSupplier_i::output(ostream &os)
00392 {
00393 basicOutput(
00394 os,"ConsumerAdmin/ProxyPushSupplier",
00395 _target.in(),
00396 _targetIsProxy? " proxy=1": NULL
00397 );
00398 }
00399
00400
00401 };