- All Superinterfaces:
Object
Provides access to a
LocatorPrx object via a fixed identity.
A LocatorFinder is always registered with identity Ice/LocatorFinder. This allows clients to obtain the
associated Locator proxy with just the endpoint information of the object. For example, you can use the
LocatorFinder proxy Ice/LocatorFinder:tcp -h somehost -p 4061 to get the Locator proxy
MyIceGrid/Locator:tcp -h somehost -p 4061.
Remarks:
The Slice compiler generated this skeleton interface from Slice interface ::Ice::LocatorFinder.
-
Nested Class Summary
Nested classes/interfaces inherited from interface com.zeroc.Ice.Object
Object.Ice_invokeResult -
Method Summary
Modifier and TypeMethodDescriptiondefault CompletionStage<OutgoingResponse>dispatch(IncomingRequest request) Dispatches an incoming request to one of the methods of this generated interface, based on the operation name carried by the request.getLocatorAsync(Current current) Gets a proxy to the associatedLocatorPrx.static StringGets the type ID of the associated Slice interface.
-
Method Details
-
getLocatorAsync
Gets a proxy to the associatedLocatorPrx. The proxy might point to several replicas.- Parameters:
current- the Current object of the incoming request- Returns:
- The locator proxy. This proxy is never null.
-
ice_staticId
Gets the type ID of the associated Slice interface.- Returns:
- the string "::Ice::LocatorFinder"
-
dispatch
Dispatches an incoming request to one of the methods of this generated interface, based on the operation name carried by the request.- Specified by:
dispatchin interfaceObject- Parameters:
request- the incoming request- Returns:
- the outgoing response
- Throws:
UserException- if aUserExceptionis thrown, Ice will marshal it as the response payload.
-