1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
|
// **********************************************************************
//
// Copyright (c) 2003-2016 ZeroC, Inc. All rights reserved.
//
// This copy of Ice is licensed to you under the terms described in the
// ICE_LICENSE file included in this distribution.
//
// **********************************************************************
#include <IceUtil/IceUtil.h>
#include <Ice/Ice.h>
#include <IceLocatorDiscovery/PluginI.h>
#include <IceLocatorDiscovery/IceLocatorDiscovery.h>
using namespace std;
using namespace IceLocatorDiscovery;
#ifndef ICE_LOCATOR_DISCOVERY_API
# ifdef ICE_LOCATOR_DISCOVERY_API_EXPORTS
# define ICE_LOCATOR_DISCOVERY_API ICE_DECLSPEC_EXPORT
# else
# define ICE_LOCATOR_DISCOVERY_API /**/
# endif
#endif
//
// Plugin factory function.
//
extern "C" ICE_LOCATOR_DISCOVERY_API Ice::Plugin*
createIceLocatorDiscovery(const Ice::CommunicatorPtr& communicator, const string&, const Ice::StringSeq&)
{
return new PluginI(communicator);
}
namespace Ice
{
ICE_LOCATOR_DISCOVERY_API void
registerIceLocatorDiscovery(bool loadOnInitialize)
{
Ice::registerPluginFactory("IceLocatorDiscovery", createIceLocatorDiscovery, loadOnInitialize);
}
}
//
// Objective-C function to allow Objective-C programs to register plugin.
//
extern "C" ICE_LOCATOR_DISCOVERY_API void
ICEregisterIceLocatorDiscovery(bool loadOnInitialize)
{
Ice::registerIceLocatorDiscovery(loadOnInitialize);
}
namespace
{
class LocatorI; // Forward declaration
class Request : public Ice::EnableSharedFromThis<Request>
{
public:
#ifdef ICE_CPP11_MAPPING
Request(LocatorI* locator,
const string& operation,
Ice::OperationMode mode,
const pair<const Ice::Byte*, const Ice::Byte*>& inParams,
const Ice::Context& ctx,
function<void(bool, const pair<const Ice::Byte*, const Ice::Byte*>&)> responseCB,
function<void(exception_ptr)> exceptionCB) :
_locator(locator),
_operation(operation),
_mode(mode),
_context(ctx),
_inParams(inParams.first, inParams.second),
_responseCB(move(responseCB)),
_exceptionCB(move(exceptionCB))
#else
Request(LocatorI* locator,
const string& operation,
Ice::OperationMode mode,
const pair<const Ice::Byte*, const Ice::Byte*>& inParams,
const Ice::Context& ctx,
const Ice::AMD_Object_ice_invokePtr& amdCB) :
_locator(locator),
_operation(operation),
_mode(mode),
_context(ctx),
_inParams(inParams.first, inParams.second),
_amdCB(amdCB)
#endif
{
}
void invoke(const Ice::LocatorPrxPtr&);
#ifdef ICE_CPP11_MAPPING
void response(const bool, pair<const Ice::Byte*, const Ice::Byte*>);
#else
void response(const bool, const pair<const Ice::Byte*, const Ice::Byte*>&);
#endif
void exception(const Ice::Exception&);
protected:
LocatorI* _locator;
const string _operation;
const Ice::OperationMode _mode;
const Ice::Context _context;
const Ice::ByteSeq _inParams;
#ifdef ICE_CPP11_MAPPING
function<void(bool, const pair<const Ice::Byte*, const Ice::Byte*>&)> _responseCB;
function<void(exception_ptr)> _exceptionCB;
exception_ptr _exception;
#else
const Ice::AMD_Object_ice_invokePtr _amdCB;
IceUtil::UniquePtr<Ice::Exception> _exception;
#endif
Ice::LocatorPrxPtr _locatorPrx;
};
ICE_DEFINE_PTR(RequestPtr, Request);
class LocatorI : public Ice::BlobjectArrayAsync,
public IceUtil::TimerTask,
private IceUtil::Monitor<IceUtil::Mutex>,
public Ice::EnableSharedFromThis<LocatorI>
{
public:
LocatorI(const LookupPrxPtr&, const Ice::PropertiesPtr&, const string&, const Ice::LocatorPrxPtr&);
void setLookupReply(const LookupReplyPrxPtr&);
#ifdef ICE_CPP11_MAPPING
virtual void ice_invokeAsync(pair<const Ice::Byte*, const Ice::Byte*>,
function<void(bool, pair<const Ice::Byte*, const Ice::Byte*>)>,
function<void(exception_ptr)>,
const Ice::Current&);
#else
virtual void ice_invoke_async(const Ice::AMD_Object_ice_invokePtr&, const pair<const Ice::Byte*, const Ice::Byte*>&,
const Ice::Current&);
#endif
void foundLocator(const Ice::LocatorPrxPtr&);
void invoke(const Ice::LocatorPrxPtr&, const RequestPtr&);
private:
virtual void runTimerTask();
const LookupPrxPtr _lookup;
const IceUtil::Time _timeout;
const int _retryCount;
const IceUtil::Time _retryDelay;
const IceUtil::TimerPtr _timer;
string _instanceName;
bool _warned;
LookupReplyPrxPtr _lookupReply;
Ice::LocatorPrxPtr _locator;
Ice::LocatorPrxPtr _voidLocator;
IceUtil::Time _nextRetry;
int _pendingRetryCount;
vector<RequestPtr> _pendingRequests;
};
ICE_DEFINE_PTR(LocatorIPtr, LocatorI);
class LookupReplyI : public LookupReply
{
public:
LookupReplyI(const LocatorIPtr& locator) : _locator(locator)
{
}
virtual void foundLocator(ICE_IN(Ice::LocatorPrxPtr), const Ice::Current&);
private:
const LocatorIPtr _locator;
};
const ::std::string IceGrid_Locator_ids[3] =
{
"::Ice::Locator",
"::Ice::Object",
"::IceGrid::Locator"
};
//
// The void locator implementation below is used when no locator is found.
//
class VoidLocatorI : public Ice::Locator
{
public:
#ifdef ICE_CPP11_MAPPING
virtual void
findObjectByIdAsync(::Ice::Identity,
function<void(const shared_ptr<::Ice::ObjectPrx>&)> response,
function<void(exception_ptr)>,
const Ice::Current&) const
{
response(nullptr);
}
virtual void
findAdapterByIdAsync(string,
function<void(const shared_ptr<::Ice::ObjectPrx>&)> response,
function<void(exception_ptr)>,
const Ice::Current&) const
{
response(nullptr);
}
#else
virtual void
findObjectById_async(const Ice::AMD_Locator_findObjectByIdPtr& amdCB,
const Ice::Identity&,
const Ice::Current&) const
{
amdCB->ice_response(0);
}
virtual void
findAdapterById_async(const Ice::AMD_Locator_findAdapterByIdPtr& amdCB,
const string&,
const Ice::Current&) const
{
amdCB->ice_response(0);
}
#endif
virtual Ice::LocatorRegistryPrxPtr
getRegistry(const Ice::Current&) const
{
return ICE_NULLPTR;
}
};
}
PluginI::PluginI(const Ice::CommunicatorPtr& communicator) : _communicator(communicator)
{
}
void
PluginI::initialize()
{
Ice::PropertiesPtr properties = _communicator->getProperties();
bool ipv4 = properties->getPropertyAsIntWithDefault("Ice.IPv4", 1) > 0;
bool preferIPv6 = properties->getPropertyAsInt("Ice.PreferIPv6Address") > 0;
string address;
if(ipv4 && !preferIPv6)
{
address = properties->getPropertyWithDefault("IceLocatorDiscovery.Address", "239.255.0.1");
}
else
{
address = properties->getPropertyWithDefault("IceLocatorDiscovery.Address", "ff15::1");
}
int port = properties->getPropertyAsIntWithDefault("IceLocatorDiscovery.Port", 4061);
string intf = properties->getProperty("IceLocatorDiscovery.Interface");
if(properties->getProperty("IceLocatorDiscovery.Reply.Endpoints").empty())
{
ostringstream os;
os << "udp";
if(!intf.empty())
{
os << " -h \"" << intf << "\"";
}
properties->setProperty("IceLocatorDiscovery.Reply.Endpoints", os.str());
}
if(properties->getProperty("IceLocatorDiscovery.Locator.Endpoints").empty())
{
properties->setProperty("IceLocatorDiscovery.Locator.AdapterId", IceUtil::generateUUID()); // Collocated adapter
}
_replyAdapter = _communicator->createObjectAdapter("IceLocatorDiscovery.Reply");
_locatorAdapter = _communicator->createObjectAdapter("IceLocatorDiscovery.Locator");
// We don't want those adapters to be registered with the locator so clear their locator.
_replyAdapter->setLocator(0);
_locatorAdapter->setLocator(0);
string lookupEndpoints = properties->getProperty("IceLocatorDiscovery.Lookup");
if(lookupEndpoints.empty())
{
ostringstream os;
os << "udp -h \"" << address << "\" -p " << port;
if(!intf.empty())
{
os << " --interface \"" << intf << "\"";
}
lookupEndpoints = os.str();
}
Ice::ObjectPrxPtr lookupPrx = _communicator->stringToProxy("IceLocatorDiscovery/Lookup -d:" + lookupEndpoints);
lookupPrx = lookupPrx->ice_collocationOptimized(false); // No collocation optimization for the multicast proxy!
try
{
// Ensure we can establish a connection to the multicast proxy
// but don't block.
#ifdef ICE_CPP11_MAPPING
promise<bool> sent;
promise<void> completed;
lookupPrx->ice_getConnectionAsync(
[&](shared_ptr<Ice::Connection>)
{
completed.set_value();
},
[&](exception_ptr ex)
{
completed.set_exception(ex);
},
[&](bool sentSynchronously)
{
sent.set_value(sentSynchronously);
});
if(sent.get_future().get())
{
completed.get_future().get();
}
#else
Ice::AsyncResultPtr result = lookupPrx->begin_ice_getConnection();
if(result->sentSynchronously())
{
lookupPrx->end_ice_getConnection(result);
}
#endif
}
catch(const Ice::LocalException& ex)
{
ostringstream os;
os << "IceLocatorDiscovery is unable to establish a multicast connection:\n";
os << "proxy = " << lookupPrx << '\n';
os << ex;
throw Ice::PluginInitializationException(__FILE__, __LINE__, os.str());
}
Ice::LocatorPrxPtr voidLocator = ICE_UNCHECKED_CAST(Ice::LocatorPrx, _locatorAdapter->addWithUUID(ICE_MAKE_SHARED(VoidLocatorI)));
string instanceName = properties->getProperty("IceLocatorDiscovery.InstanceName");
Ice::Identity id;
id.name = "Locator";
id.category = !instanceName.empty() ? instanceName : IceUtil::generateUUID();
LocatorIPtr locator = ICE_MAKE_SHARED(LocatorI, ICE_UNCHECKED_CAST(LookupPrx, lookupPrx), properties, instanceName, voidLocator);
_communicator->setDefaultLocator(ICE_UNCHECKED_CAST(Ice::LocatorPrx, _locatorAdapter->add(locator, id)));
Ice::ObjectPrxPtr lookupReply = _replyAdapter->addWithUUID(ICE_MAKE_SHARED(LookupReplyI, locator))->ice_datagram();
locator->setLookupReply(ICE_UNCHECKED_CAST(LookupReplyPrx, lookupReply));
_replyAdapter->activate();
_locatorAdapter->activate();
}
void
PluginI::destroy()
{
_replyAdapter->destroy();
_locatorAdapter->destroy();
}
void
Request::invoke(const Ice::LocatorPrxPtr& l)
{
#ifdef ICE_CPP11_MAPPING
if(l != _locatorPrx)
{
_locatorPrx = l;
try
{
auto self = shared_from_this();
l->ice_invokeAsync(_operation, _mode, _inParams,
[self](bool ok, vector<Ice::Byte> outParams)
{
pair<const Ice::Byte*, const Ice::Byte*> outPair;
if(outParams.empty())
{
outPair.first = outPair.second = 0;
}
else
{
outPair.first = &outParams[0];
outPair.second = outPair.first + outParams.size();
}
self->response(ok, move(outPair));
},
[self](exception_ptr e)
{
try
{
rethrow_exception(e);
}
catch(const Ice::Exception& ex)
{
self->exception(ex);
}
},
nullptr,
_context);
}
catch(const Ice::LocalException& ex)
{
exception(ex);
}
}
else
{
assert(_exception); // Don't retry if the proxy didn't change
_exceptionCB(_exception);
}
#else
if(l != _locatorPrx)
{
_locatorPrx = l;
try
{
l->begin_ice_invoke(_operation, _mode, _inParams, _context,
Ice::newCallback_Object_ice_invoke(this, &Request::response, &Request::exception));
}
catch(const Ice::LocalException& ex)
{
exception(ex);
}
}
else
{
assert(_exception.get()); // Don't retry if the proxy didn't change
_amdCB->ice_exception(*_exception.get());
}
#endif
}
#ifdef ICE_CPP11_MAPPING
void
Request::response(bool ok, pair<const Ice::Byte*, const Ice::Byte*> outParams)
{
_responseCB(ok, move(outParams));
}
#else
void
Request::response(bool ok, const pair<const Ice::Byte*, const Ice::Byte*>& outParams)
{
_amdCB->ice_response(ok, outParams);
}
#endif
void
Request::exception(const Ice::Exception& ex)
{
#ifdef ICE_CPP11_MAPPING
try
{
ex.ice_throw();
}
catch(const Ice::RequestFailedException&)
{
_exceptionCB(current_exception());
}
catch(const Ice::UnknownException&)
{
_exceptionCB(current_exception());
}
catch(const Ice::NoEndpointException&)
{
try
{
throw Ice::ObjectNotExistException(__FILE__, __LINE__);
}
catch(...)
{
_exceptionCB(current_exception());
}
}
catch(const Ice::CommunicatorDestroyedException&)
{
try
{
throw Ice::ObjectNotExistException(__FILE__, __LINE__);
}
catch(...)
{
_exceptionCB(current_exception());
}
}
catch(const Ice::ObjectAdapterDeactivatedException&)
{
try
{
throw Ice::ObjectNotExistException(__FILE__, __LINE__);
}
catch(...)
{
_exceptionCB(current_exception());
}
}
catch(const Ice::Exception&)
{
_exception = current_exception();
_locator->invoke(_locatorPrx, shared_from_this()); // Retry with new locator proxy
}
#else
try
{
ex.ice_throw();
}
catch(const Ice::RequestFailedException&)
{
_amdCB->ice_exception(ex);
}
catch(const Ice::UnknownException&)
{
_amdCB->ice_exception(ex);
}
catch(const Ice::NoEndpointException&)
{
_amdCB->ice_exception(Ice::ObjectNotExistException(__FILE__, __LINE__));
}
catch(const Ice::CommunicatorDestroyedException&)
{
_amdCB->ice_exception(Ice::ObjectNotExistException(__FILE__, __LINE__));
}
catch(const Ice::ObjectAdapterDeactivatedException&)
{
_amdCB->ice_exception(Ice::ObjectNotExistException(__FILE__, __LINE__));
}
catch(const Ice::Exception&)
{
_exception.reset(ex.ice_clone());
_locator->invoke(_locatorPrx, shared_from_this()); // Retry with new locator proxy
}
#endif
}
LocatorI::LocatorI(const LookupPrxPtr& lookup,
const Ice::PropertiesPtr& p,
const string& instanceName,
const Ice::LocatorPrxPtr& voidLocator) :
_lookup(lookup),
_timeout(IceUtil::Time::milliSeconds(p->getPropertyAsIntWithDefault("IceLocatorDiscovery.Timeout", 300))),
_retryCount(p->getPropertyAsIntWithDefault("IceLocatorDiscovery.RetryCount", 3)),
_retryDelay(IceUtil::Time::milliSeconds(p->getPropertyAsIntWithDefault("IceLocatorDiscovery.RetryDelay", 2000))),
_timer(IceInternal::getInstanceTimer(lookup->ice_getCommunicator())),
_instanceName(instanceName),
_warned(false),
_locator(lookup->ice_getCommunicator()->getDefaultLocator()),
_voidLocator(voidLocator),
_pendingRetryCount(0)
{
}
void
LocatorI::setLookupReply(const LookupReplyPrxPtr& lookupReply)
{
_lookupReply = lookupReply;
}
#ifdef ICE_CPP11_MAPPING
void
LocatorI::ice_invokeAsync(pair<const Ice::Byte*, const Ice::Byte*> inParams,
function<void(bool, pair<const Ice::Byte*, const Ice::Byte*>)> responseCB,
function<void(exception_ptr)> exceptionCB,
const Ice::Current& current)
{
invoke(nullptr, make_shared<Request>(this, current.operation, current.mode, inParams, current.ctx,
move(responseCB), move(exceptionCB)));
}
#else
void
LocatorI::ice_invoke_async(const Ice::AMD_Object_ice_invokePtr& amdCB,
const pair<const Ice::Byte*, const Ice::Byte*>& inParams,
const Ice::Current& current)
{
invoke(0, new Request(this, current.operation, current.mode, inParams, current.ctx, amdCB));
}
#endif
void
LocatorI::foundLocator(const Ice::LocatorPrxPtr& locator)
{
Lock sync(*this);
if(!locator || (!_instanceName.empty() && locator->ice_getIdentity().category != _instanceName))
{
return;
}
//
// If we already have a locator assigned, ensure the given locator
// has the same identity, otherwise ignore it.
//
if(_locator && locator->ice_getIdentity().category != _locator->ice_getIdentity().category)
{
if(!_warned)
{
_warned = true; // Only warn once.
Ice::Warning out(locator->ice_getCommunicator()->getLogger());
out << "received Ice locator with different instance name:\n";
out << "using = `" << _locator->ice_getIdentity().category << "'\n";
out << "received = `" << locator->ice_getIdentity().category << "'\n";
out << "This is typically the case if multiple Ice locators with different";
out << "instance names are deployed and the property `IceLocatorDiscovery.InstanceName' ";
out << "is not set.";
}
return;
}
if(_pendingRetryCount > 0) // No need to retry, we found a locator.
{
_timer->cancel(shared_from_this());
_pendingRetryCount = 0;
}
if(_locator)
{
//
// We found another locator replica, append its endpoints to the
// current locator proxy endpoints.
//
Ice::EndpointSeq newEndpoints = _locator->ice_getEndpoints();
Ice::EndpointSeq endpts = locator->ice_getEndpoints();
for(Ice::EndpointSeq::const_iterator p = endpts.begin(); p != endpts.end(); ++p)
{
//
// Only add endpoints if not already in the locator proxy endpoints
//
bool found = false;
for(Ice::EndpointSeq::const_iterator q = newEndpoints.begin(); q != newEndpoints.end(); ++q)
{
if(*p == *q)
{
found = true;
break;
}
}
if(!found)
{
newEndpoints.push_back(*p);
}
}
_locator = _locator->ice_endpoints(newEndpoints);
}
else
{
_locator = locator;
if(_instanceName.empty())
{
_instanceName = _locator->ice_getIdentity().category; // Stick to the first discovered locator.
}
}
//
// Send pending requests if any.
//
for(vector<RequestPtr>::const_iterator p = _pendingRequests.begin(); p != _pendingRequests.end(); ++p)
{
(*p)->invoke(_locator);
}
_pendingRequests.clear();
}
void
LocatorI::invoke(const Ice::LocatorPrxPtr& locator, const RequestPtr& request)
{
Lock sync(*this);
if(_locator && _locator != locator)
{
request->invoke(_locator);
}
else if(IceUtil::Time::now() < _nextRetry)
{
request->invoke(_voidLocator); // Don't retry to find a locator before the retry delay expires
}
else
{
_locator = 0;
_pendingRequests.push_back(request);
if(_pendingRetryCount == 0) // No request in progress
{
_pendingRetryCount = _retryCount;
try
{
#ifdef ICE_CPP11_MAPPING
_lookup->findLocatorAsync(_instanceName, _lookupReply); // Send multicast request.
#else
_lookup->begin_findLocator(_instanceName, _lookupReply); // Send multicast request.
#endif
_timer->schedule(shared_from_this(), _timeout);
}
catch(const Ice::LocalException&)
{
for(vector<RequestPtr>::const_iterator p = _pendingRequests.begin(); p != _pendingRequests.end(); ++p)
{
(*p)->invoke(_voidLocator);
}
_pendingRequests.clear();
_pendingRetryCount = 0;
}
}
}
}
void
LocatorI::runTimerTask()
{
Lock sync(*this);
if(--_pendingRetryCount > 0)
{
try
{
#ifdef ICE_CPP11_MAPPING
_lookup->findLocatorAsync(_instanceName, _lookupReply); // Send multicast request.
#else
_lookup->begin_findLocator(_instanceName, _lookupReply); // Send multicast request.
#endif
_timer->schedule(shared_from_this(), _timeout);
return;
}
catch(const Ice::LocalException&)
{
}
_pendingRetryCount = 0;
}
for(vector<RequestPtr>::const_iterator p = _pendingRequests.begin(); p != _pendingRequests.end(); ++p)
{
(*p)->invoke(_voidLocator); // Send pending requests on void locator.
}
_pendingRequests.clear();
_nextRetry = IceUtil::Time::now() + _retryDelay; // Only retry when the retry delay expires
}
void
LookupReplyI::foundLocator(ICE_IN(Ice::LocatorPrxPtr) locator, const Ice::Current&)
{
_locator->foundLocator(locator);
}
|