chiark / gitweb /
src/method-impl.lisp: Default method for `primary-method-class'.
authorMark Wooding <mdw@distorted.org.uk>
Sat, 29 Aug 2015 13:11:42 +0000 (14:11 +0100)
committerMark Wooding <mdw@distorted.org.uk>
Sun, 30 Aug 2015 17:11:38 +0000 (18:11 +0100)
The `basic-direct-method' class seems like an appropriate choice.

src/method-impl.lisp

index f3673d8968a638130b3210aab9999b3e755ef629..d76b37e5494352fef7495ed40046ed7c6f5e599e 100644 (file)
@@ -98,6 +98,9 @@ (defmethod sod-message-method-class
       (call-next-method)
       (primary-method-class message)))
 
+(defmethod primary-method-class ((message simple-message))
+  'basic-direct-method)
+
 ;;;--------------------------------------------------------------------------
 ;;; Direct method classes.