activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From chir...@apache.org
Subject svn commit: r453094 - in /incubator/activemq/activeio/trunk/activeio-core/src: main/java/org/apache/activeio/ main/java/org/apache/activeio/adapter/ main/java/org/apache/activeio/command/ main/java/org/apache/activeio/oneport/ main/java/org/apache/acti...
Date Thu, 05 Oct 2006 02:57:43 GMT
Author: chirino
Date: Wed Oct  4 19:57:42 2006
New Revision: 453094

URL: http://svn.apache.org/viewvc?view=rev&rev=453094
Log:
Trashing the IO APIS that are no longer being used by ActiveMQ

Removed:
    incubator/activemq/activeio/trunk/activeio-core/src/main/java/org/apache/activeio/AcceptListener.java
    incubator/activemq/activeio/trunk/activeio-core/src/main/java/org/apache/activeio/Adaptable.java
    incubator/activemq/activeio/trunk/activeio-core/src/main/java/org/apache/activeio/Channel.java
    incubator/activemq/activeio/trunk/activeio-core/src/main/java/org/apache/activeio/ChannelFactory.java
    incubator/activemq/activeio/trunk/activeio-core/src/main/java/org/apache/activeio/ChannelServer.java
    incubator/activemq/activeio/trunk/activeio-core/src/main/java/org/apache/activeio/Disposable.java
    incubator/activemq/activeio/trunk/activeio-core/src/main/java/org/apache/activeio/Service.java
    incubator/activemq/activeio/trunk/activeio-core/src/main/java/org/apache/activeio/adapter/AsyncChannelToOutputStream.java
    incubator/activemq/activeio/trunk/activeio-core/src/main/java/org/apache/activeio/adapter/AsyncToSyncChannel.java
    incubator/activemq/activeio/trunk/activeio-core/src/main/java/org/apache/activeio/adapter/AsyncToSyncChannelFactory.java
    incubator/activemq/activeio/trunk/activeio-core/src/main/java/org/apache/activeio/adapter/AsyncToSyncChannelServer.java
    incubator/activemq/activeio/trunk/activeio-core/src/main/java/org/apache/activeio/adapter/SyncChannelServerToServerSocket.java
    incubator/activemq/activeio/trunk/activeio-core/src/main/java/org/apache/activeio/adapter/SyncChannelToInputStream.java
    incubator/activemq/activeio/trunk/activeio-core/src/main/java/org/apache/activeio/adapter/SyncChannelToOutputStream.java
    incubator/activemq/activeio/trunk/activeio-core/src/main/java/org/apache/activeio/adapter/SyncChannelToSocket.java
    incubator/activemq/activeio/trunk/activeio-core/src/main/java/org/apache/activeio/adapter/SyncToAsyncChannel.java
    incubator/activemq/activeio/trunk/activeio-core/src/main/java/org/apache/activeio/adapter/SyncToAsyncChannelFactory.java
    incubator/activemq/activeio/trunk/activeio-core/src/main/java/org/apache/activeio/adapter/SyncToAsyncChannelServer.java
    incubator/activemq/activeio/trunk/activeio-core/src/main/java/org/apache/activeio/adapter/SynchToAsynchChannelAdapter.java
    incubator/activemq/activeio/trunk/activeio-core/src/main/java/org/apache/activeio/command/
    incubator/activemq/activeio/trunk/activeio-core/src/main/java/org/apache/activeio/oneport/OnePortAsyncChannelServer.java
    incubator/activemq/activeio/trunk/activeio-core/src/main/java/org/apache/activeio/package.html
    incubator/activemq/activeio/trunk/activeio-core/src/main/java/org/apache/activeio/packet/async/
    incubator/activemq/activeio/trunk/activeio-core/src/main/java/org/apache/activeio/packet/sync/
    incubator/activemq/activeio/trunk/activeio-core/src/main/java/org/apache/activeio/stream/
    incubator/activemq/activeio/trunk/activeio-core/src/main/java/org/apache/activeio/util/
    incubator/activemq/activeio/trunk/activeio-core/src/main/java/org/apache/activeio/xnet/SyncChannelServerDaemon.java
    incubator/activemq/activeio/trunk/activeio-core/src/test/java/org/apache/activeio/ChannelFactoryTest.java
    incubator/activemq/activeio/trunk/activeio-core/src/test/java/org/apache/activeio/oneport/
    incubator/activemq/activeio/trunk/activeio-core/src/test/java/org/apache/activeio/packet/ClientLoadSimulator.java
    incubator/activemq/activeio/trunk/activeio-core/src/test/java/org/apache/activeio/packet/Server.java
    incubator/activemq/activeio/trunk/activeio-core/src/test/java/org/apache/activeio/packet/async/
    incubator/activemq/activeio/trunk/activeio-core/src/test/java/org/apache/activeio/packet/nio/
    incubator/activemq/activeio/trunk/activeio-core/src/test/java/org/apache/activeio/packet/sync/
Modified:
    incubator/activemq/activeio/trunk/activeio-core/src/main/java/org/apache/activeio/packet/Packet.java

Modified: incubator/activemq/activeio/trunk/activeio-core/src/main/java/org/apache/activeio/packet/Packet.java
URL: http://svn.apache.org/viewvc/incubator/activemq/activeio/trunk/activeio-core/src/main/java/org/apache/activeio/packet/Packet.java?view=diff&rev=453094&r1=453093&r2=453094
==============================================================================
--- incubator/activemq/activeio/trunk/activeio-core/src/main/java/org/apache/activeio/packet/Packet.java
(original)
+++ incubator/activemq/activeio/trunk/activeio-core/src/main/java/org/apache/activeio/packet/Packet.java
Wed Oct  4 19:57:42 2006
@@ -21,14 +21,12 @@
 import java.io.IOException;
 import java.io.OutputStream;
 
-import org.apache.activeio.Adaptable;
-
 /**
  * Provides a ByteBuffer like interface to work with IO channel packets of data.
  * 
  * @version $Revision$
  */
-public interface Packet extends Adaptable {
+public interface Packet {
     
     public int position();
     public void position(int position);
@@ -47,6 +45,12 @@
     
     public ByteSequence asByteSequence();
     public byte[] sliceAsBytes();
+    
+    /**
+     *  @Return object that is an instance of requested type and is associated this this
object.  May return null if no 
+     *  object of that type is associated.
+     */
+    Object getAdapter(Class target);
     
     
     /**



Mime
View raw message