Author: david.lloyd(a)jboss.com
Date: 2009-10-24 18:49:32 -0400 (Sat, 24 Oct 2009)
New Revision: 5571
Modified:
remoting3/trunk/jboss-remoting/src/main/java/org/jboss/remoting3/EndpointImpl.java
Log:
Fix a problem where connection close is not passed on to the handler
Modified:
remoting3/trunk/jboss-remoting/src/main/java/org/jboss/remoting3/EndpointImpl.java
===================================================================
---
remoting3/trunk/jboss-remoting/src/main/java/org/jboss/remoting3/EndpointImpl.java 2009-10-23
22:30:53 UTC (rev 5570)
+++
remoting3/trunk/jboss-remoting/src/main/java/org/jboss/remoting3/EndpointImpl.java 2009-10-24
22:49:32 UTC (rev 5571)
@@ -554,6 +554,10 @@
connectionHandler =
connectionHandlerFactory.createInstance(localConnectionContext);
}
+ protected void closeAction() throws IOException {
+ connectionHandler.close();
+ }
+
public <I, O> IoFuture<? extends Client<I, O>> openClient(final
String serviceType, final String groupName, final Class<I> requestClass, final
Class<O> replyClass) {
return doOpenClient(connectionHandler, serviceType, groupName, requestClass,
replyClass);
}
Show replies by date