theInterface

Use the theInterface parameter of the beginClassesNotificationForIF class to specify the interface that defines the appropriate userNotification or sysNotification method.

If the value of the eventType parameter is a system event, events are sent to the method that maps to the sysNotification method of the interface. If this parameter does not specify a system event, events are sent to the method that maps to the userNotification method of the interface.

The interface must have a defined userNotification or sysNotification method and the receiver class and optionally its subclasses must implement the corresponding method in the interface. (For details, see "Implementing an Interface", in Chapter 14 of the JADE Development Environment User’s Guide.)