activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rajdav...@apache.org
Subject svn commit: r734858 - /activemq/activemq-blaze/trunk/src/main/java/org/apache/activeblaze/impl/processor/ChainedProcessor.java
Date Thu, 15 Jan 2009 23:48:44 GMT
Author: rajdavies
Date: Thu Jan 15 15:48:44 2009
New Revision: 734858

URL: http://svn.apache.org/viewvc?rev=734858&view=rev
Log:
Extracted ChainerProcessor as an Interface

Added:
    activemq/activemq-blaze/trunk/src/main/java/org/apache/activeblaze/impl/processor/ChainedProcessor.java
  (with props)

Added: activemq/activemq-blaze/trunk/src/main/java/org/apache/activeblaze/impl/processor/ChainedProcessor.java
URL: http://svn.apache.org/viewvc/activemq/activemq-blaze/trunk/src/main/java/org/apache/activeblaze/impl/processor/ChainedProcessor.java?rev=734858&view=auto
==============================================================================
--- activemq/activemq-blaze/trunk/src/main/java/org/apache/activeblaze/impl/processor/ChainedProcessor.java
(added)
+++ activemq/activemq-blaze/trunk/src/main/java/org/apache/activeblaze/impl/processor/ChainedProcessor.java
Thu Jan 15 15:48:44 2009
@@ -0,0 +1,80 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License.  You may obtain a copy of the License at
+ *
+ *      http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.apache.activeblaze.impl.processor;
+
+import org.apache.activeblaze.ExceptionListener;
+import org.apache.activeblaze.Processor;
+
+/**
+ * Chains Processors together
+ * 
+ */
+public interface ChainedProcessor extends Processor {
+    /**
+     * @return the next
+     */
+    public abstract Processor getNext();
+
+    /**
+     * Set Next at the end of the chain
+     * 
+     * @param next
+     * 
+     */
+    public abstract void setEnd(Processor next);
+
+    /**
+     * Set the next
+     * 
+     * @param next
+     */
+    public abstract void setNext(Processor next);
+
+    /**
+     * @return the prev
+     */
+    public abstract Processor getPrev();
+
+    /**
+     * Set the next chain
+     * 
+     * @param p
+     */
+    public abstract void setNextChain(ChainedProcessor p);
+
+    /**
+     * @param prev
+     *            the prev to set
+     */
+    public abstract void setPrev(Processor prev);
+
+    /**
+     * @return the exceptionListener
+     */
+    public ExceptionListener getExceptionListener();
+
+    /**
+     * @param maxPacketSize
+     *            the maxPacketSize to set
+     */
+    public void setMaxPacketSize(int maxPacketSize);
+
+    /**
+     * @return the maxPacketSize
+     */
+    public int getMaxPacketSize();
+}
\ No newline at end of file

Propchange: activemq/activemq-blaze/trunk/src/main/java/org/apache/activeblaze/impl/processor/ChainedProcessor.java
------------------------------------------------------------------------------
    svn:eol-style = native



Mime
View raw message