java.lang.Object
com.zeroc.Ice.ServantLocator.LocateResult
- Enclosing interface:
- ServantLocator
Holds the result of calling
ServantLocator.locate(com.zeroc.Ice.Current).-
Field Summary
FieldsModifier and TypeFieldDescriptionA "cookie" that will be passed toServantLocator.finished(com.zeroc.Ice.Current, com.zeroc.Ice.Object, java.lang.Object).The located servant, ornullif no suitable servant was found. -
Constructor Summary
ConstructorsConstructorDescriptionConstructs an empty LocateResult with anulllocated servant.LocateResult(Object returnValue, Object cookie) Constructs a LocateResult from the return value ofServantLocator.locate(com.zeroc.Ice.Current)and a cookie. -
Method Summary
-
Field Details
-
returnValue
The located servant, ornullif no suitable servant was found. -
cookie
A "cookie" that will be passed toServantLocator.finished(com.zeroc.Ice.Current, com.zeroc.Ice.Object, java.lang.Object).
-
-
Constructor Details
-
LocateResult
public LocateResult()Constructs an empty LocateResult with anulllocated servant. -
LocateResult
Constructs a LocateResult from the return value ofServantLocator.locate(com.zeroc.Ice.Current)and a cookie.- Parameters:
returnValue- the located servant, ornullif no suitable servant was foundcookie- a "cookie" that will be passed toServantLocator.finished(com.zeroc.Ice.Current, com.zeroc.Ice.Object, java.lang.Object)
-