X-Git-Url: https://git.distorted.org.uk/~mdw/sod/blobdiff_plain/52a79ab8b310a785f2c2f1a11069f3a5ad53810c..097d5a3ebbadefec2471e0046ab62a312b459934:/src/class-make-proto.lisp diff --git a/src/class-make-proto.lisp b/src/class-make-proto.lisp index 01e18eb..c04727c 100644 --- a/src/class-make-proto.lisp +++ b/src/class-make-proto.lisp @@ -136,12 +136,13 @@ This is the main constructor function for messages. This is a generic function primarily so that the CLASS can intervene in the construction - process. The default method uses the `:message-class' property - (defaulting to `sod-message') to choose a (CLOS) class to instantiate. - The message is then constructed by `make-instance' passing the arguments - as initargs; further behaviour is left to the standard CLOS instance - construction protocol; for example, `sod-message' defines an - `:after'-method on `shared-initialize'.")) + process. The default method uses the `:message-class' property to choose + a (CLOS) class to instantiate; if no such property is provided but a + `combination' property is present, then `aggregating-message' is chosen; + otherwise `standard-message' is used. The message is then constructed by + `make-instance' passing the arguments as initargs; further behaviour is + left to the standard CLOS instance construction protocol; for example, + `sod-message' defines an `:after'-method on `shared-initialize'.")) (export 'make-sod-method) (defgeneric make-sod-method