Interface-Related Methods and Properties

JADE provides the interface-related methods summarized in the following table. (For details, see Volume 1 or Volume 2 of the JADE Encyclopaedia of Classes.)

Class and Method Description
Class ::implementsInterface Returns true if the specified interface is implemented by the receiver
Object ::beginClassNotificationForIF Sends notification events on instances of a class and its subclasses to methods mapped to the userNotification and sysNotification methods of the theInterface parameter, rather than to those of the subscriber
Object ::beginClassesNotificationForIF Sends notification events on instances of a class and optionally its subclasses to methods mapped to the userNotification and sysNotification methods of the theInterface parameter, rather than to those of the subscriber
Object ::beginNotificationForIF Sends notification events on an object to methods mapped to userNotification and sysNotification methods of the theInterface parameter, rather than to those of the subscriber
Object ::beginTimerForIF Arms a timer for methods mapped to the timerEvent method of the theInterface parameter, rather than to that of the subscriber
Object ::endClassNotificationForIF Ends an interface event notification registered using the beginClassNotificationForIF method for the corresponding parameters
Object ::endClassesNotificationForIF Ends an interface event notification registered using the beginClassesNotificationForIF method for the corresponding parameters
Object ::endNotificationForIF Ends an interface event notification registered using the beginNotificationForIF method for the corresponding parameters
Object ::endTimerForIF Terminates an interface timer initiated using the beginTimerForIF method for the corresponding parameters
Object ::getTimerStatusForIF Returns the status of a specified timer that was initiated using the beginTimerForIF method for the corresponding parameters, if it is currently active
Object ::respondsTo Returns true if the receiver’s class or its superclasses implement the specified JADE interface
Schema ::allJadeInterfaces Returns a reference to all interfaces defined the receiver and its superschemas
Schema ::getJadeInterface Returns a reference to the specified interface

JADE provides the interface-related properties summarized in the following table. (For details, see Volume 1 or Volume 2 of the JADE Encyclopaedia of Classes.)

Class and Property Description
Class ::implementedInterfaces Contains references to the interfaces implemented by the class
Notification ::featureNumber Contains a value that allows for identification of the interface method that was mapped by the subscriber
Notification ::isInterface Specifies whether the notification was registered by an interface notification method
Notification ::typeNumber Contains a value that allows for identification of the associated interface