diff options
Diffstat (limited to 'Java/com/phidgets/event/ErrorListener.java')
-rw-r--r-- | Java/com/phidgets/event/ErrorListener.java | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/Java/com/phidgets/event/ErrorListener.java b/Java/com/phidgets/event/ErrorListener.java new file mode 100644 index 0000000..a1a0207 --- /dev/null +++ b/Java/com/phidgets/event/ErrorListener.java @@ -0,0 +1,21 @@ +/* + * Copyright 2006 Phidgets Inc. All rights reserved. + */ + +package com.phidgets.event; + +/** + * This interface represents a ErrorEvent. This event originates from all Phidgets. + * It is used for asynchronous error handling. + * + * @author Phidgets Inc. + */ +public interface ErrorListener +{ + /** + * This method is called with the event data when a new event arrives. + * + * @param ae the event data object containing event data + */ + public void error(ErrorEvent ae); +} |