This forum has been archived. Please start a new discussion on GitHub.

find servant in Grid by servantId

Hello, i use Grid with some nodes (node1, node2, node3 ...)
I have well-known object on every node - Gateway.
Gateway has function like "GamePrx createGame(params)"

Client application going to server to obtain session, in some situation server understand that he must not create new game but retunr already exist servant, server can find in DB - Ice.Identity gameId for this game.

Does server must also store nodeName where exist this game servant and make like this:
return GamePrxHelper.checkedCast(current.adapter.createIndirectProxy(gameId)) .ice_adapterId(nodeName) );

Or enought return GamePrxHelper.checkedCast(current.adapter.createIndirectProxy(gameId)));


PS: as i understand Grid Locator works only for well-known objects, but not for user servants