[jboss-remoting-commits] JBoss Remoting SVN: r5602 - remoting3-multiplex/trunk/src/main/java/org/jboss/remoting3/multiplex.

jboss-remoting-commits at lists.jboss.org jboss-remoting-commits at lists.jboss.org
Fri Nov 20 11:41:04 EST 2009


Author: david.lloyd at jboss.com
Date: 2009-11-20 11:41:04 -0500 (Fri, 20 Nov 2009)
New Revision: 5602

Removed:
   remoting3-multiplex/trunk/src/main/java/org/jboss/remoting3/multiplex/RemoteClient.java
   remoting3-multiplex/trunk/src/main/java/org/jboss/remoting3/multiplex/SubchannelHandler.java
Log:
Remove unused junk

Deleted: remoting3-multiplex/trunk/src/main/java/org/jboss/remoting3/multiplex/RemoteClient.java
===================================================================
--- remoting3-multiplex/trunk/src/main/java/org/jboss/remoting3/multiplex/RemoteClient.java	2009-11-19 22:41:13 UTC (rev 5601)
+++ remoting3-multiplex/trunk/src/main/java/org/jboss/remoting3/multiplex/RemoteClient.java	2009-11-20 16:41:04 UTC (rev 5602)
@@ -1,49 +0,0 @@
-/*
- * JBoss, Home of Professional Open Source
- * Copyright 2009, JBoss Inc., and individual contributors as indicated
- * by the @authors tag. See the copyright.txt in the distribution for a
- * full listing of individual contributors.
- *
- * This is free software; you can redistribute it and/or modify it
- * under the terms of the GNU Lesser General Public License as
- * published by the Free Software Foundation; either version 2.1 of
- * the License, or (at your option) any later version.
- *
- * This software is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- * Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public
- * License along with this software; if not, write to the Free
- * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
- * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
- */
-
-package org.jboss.remoting3.multiplex;
-
-import org.jboss.remoting3.spi.RequestHandler;
-import org.jboss.xnio.Result;
-import java.util.concurrent.atomic.AtomicReferenceFieldUpdater;
-
-final class RemoteClient {
-
-    @SuppressWarnings({ "UnusedDeclaration" })
-    private volatile Result<RequestHandler> result;
-    private final RequestHandler requestHandler;
-    private static final AtomicReferenceFieldUpdater<RemoteClient, Result> updater = AtomicReferenceFieldUpdater.newUpdater(RemoteClient.class, Result.class, "result");
-
-    RemoteClient(final Result<RequestHandler> result, final RequestHandler requestHandler) {
-        this.result = result;
-        this.requestHandler = requestHandler;
-    }
-
-    @SuppressWarnings({ "unchecked" })
-    Result<RequestHandler> takeResult() {
-        return updater.getAndSet(this, null);
-    }
-
-    public RequestHandler getRequestHandler() {
-        return result == null ? requestHandler : null;
-    }
-}

Deleted: remoting3-multiplex/trunk/src/main/java/org/jboss/remoting3/multiplex/SubchannelHandler.java
===================================================================
--- remoting3-multiplex/trunk/src/main/java/org/jboss/remoting3/multiplex/SubchannelHandler.java	2009-11-19 22:41:13 UTC (rev 5601)
+++ remoting3-multiplex/trunk/src/main/java/org/jboss/remoting3/multiplex/SubchannelHandler.java	2009-11-20 16:41:04 UTC (rev 5602)
@@ -1,34 +0,0 @@
-/*
- * JBoss, Home of Professional Open Source
- * Copyright 2009, JBoss Inc., and individual contributors as indicated
- * by the @authors tag. See the copyright.txt in the distribution for a
- * full listing of individual contributors.
- *
- * This is free software; you can redistribute it and/or modify it
- * under the terms of the GNU Lesser General Public License as
- * published by the Free Software Foundation; either version 2.1 of
- * the License, or (at your option) any later version.
- *
- * This software is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- * Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public
- * License along with this software; if not, write to the Free
- * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
- * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
- */
-
-package org.jboss.remoting3.multiplex;
-
-import java.nio.ByteBuffer;
-
-/**
- *
- */
-public interface SubchannelHandler {
-    void handleMessage(EstablishedConnection conn, int subchannel, ByteBuffer message);
-
-    void handleEof();
-}



More information about the jboss-remoting-commits mailing list