JackDunaway wrote: I don't use AF for production code, but I view messages as being "part of" the documentation of an API, which then has the concrete implementation of business logic on the receiver-side and the concrete implementation of message construction client-side. |
Mmmm... I'll put you down your pool answer as "part of the sending code" then, as the "API", and documentation thereof, is part of the receiving actor codebase.
The other view would be that the actor class's public methods are the only API, and that messages are the responsibility of the code calling the actor. Different callers could use entirely independant sets of messages to comunicate with and actor.