GsTsExternalSession can log in to a Stone other than the one the current session is logged in to, including a Stone running a different version of GemStone. The following GsTsExternalSession methods send a message to an object in the external session’s repository:
send:to:
send:to:withArguments:
nbSend:to:withArguments:
send:to:withOops:
When the selector argument is a Symbol, these methods pass the OOP of that Symbol in the calling session’s repository. The external Gem then interprets that OOP in its own repository. If the external session is logged in to a different repository, the same Symbol usually has a different OOP there. As a result, the message may fail with an error, or the external Gem may perform a different method than the one intended, without any error. When the selector is a String, it is passed as text, and the external Gem looks it up correctly.
Pass the selector as a String rather than a Symbol.
Last updated: 10/16/26