Author: david.lloyd(a)jboss.com
Date: 2010-03-02 21:25:20 -0500 (Tue, 02 Mar 2010)
New Revision: 5789
Modified:
remoting3/trunk/jboss-remoting/src/main/java/org/jboss/remoting3/ClientListener.java
remoting3/trunk/jboss-remoting/src/main/java/org/jboss/remoting3/RequestListener.java
Log:
Event listeners should implement EventListener
Modified:
remoting3/trunk/jboss-remoting/src/main/java/org/jboss/remoting3/ClientListener.java
===================================================================
---
remoting3/trunk/jboss-remoting/src/main/java/org/jboss/remoting3/ClientListener.java 2010-03-02
22:32:34 UTC (rev 5788)
+++
remoting3/trunk/jboss-remoting/src/main/java/org/jboss/remoting3/ClientListener.java 2010-03-03
02:25:20 UTC (rev 5789)
@@ -22,6 +22,8 @@
package org.jboss.remoting3;
+import java.util.EventListener;
+
/**
* A client listener associated with a service. When a client is opened for this
service, a new request listener
* is created and returned.
@@ -31,7 +33,7 @@
*
* @apiviz.landmark
*/
-public interface ClientListener<I, O> {
+public interface ClientListener<I, O> extends EventListener {
/**
* Handle a client open by returning a new request listener. The supplied client
context may be used to register
Modified:
remoting3/trunk/jboss-remoting/src/main/java/org/jboss/remoting3/RequestListener.java
===================================================================
---
remoting3/trunk/jboss-remoting/src/main/java/org/jboss/remoting3/RequestListener.java 2010-03-02
22:32:34 UTC (rev 5788)
+++
remoting3/trunk/jboss-remoting/src/main/java/org/jboss/remoting3/RequestListener.java 2010-03-03
02:25:20 UTC (rev 5789)
@@ -22,6 +22,8 @@
package org.jboss.remoting3;
+import java.util.EventListener;
+
/**
* A request listener. Implementations of this interface will reply to client requests.
*
@@ -31,7 +33,7 @@
* @remoting.implement
* @apiviz.landmark
*/
-public interface RequestListener<I, O> {
+public interface RequestListener<I, O> extends EventListener {
/**
* Handle a request. If this method throws {@code RemoteExecutionException}, then
that exception is passed
* back to the caller and the request is marked as complete. Otherwise, the request
Show replies by date