orc-lang / orc

Orc programming language implementation
https://orc.csres.utexas.edu/
BSD 3-Clause "New" or "Revised" License
40 stars 3 forks source link

Rename orc.Handle to orc.CallContext #201

Closed jthywiss closed 6 years ago

jthywiss commented 6 years ago

From discussion on https://github.com/orc-lang/orc/pull/199#discussion_r127056422:

orc.Handle is vaguely named. It is an interface for a site call instance to interact with the Orc runtime, primarily to send responses. Rename to SiteResponseChannel? Well maybe not "Channel", but something like that....

jthywiss commented 6 years ago

Maybe "orc.SiteResponseInterface"?

arthurp commented 6 years ago

"orc.SiteResponseInterface" sounds like the interface for a site response. Also it should be "Method" not "Site" if we are trying to switch to the new terms.

How about "orc.MethodResponseHandler"?

That does describe exactly what that object does. It handles method responses.

jthywiss commented 6 years ago

CallResponseReceiver ? Caller ?

jthywiss commented 6 years ago

CallContext !