summaryrefslogtreecommitdiff
path: root/qpid/java/common/src/main/java/org/apache/qpid/protocol/ProtocolEngineFactory.java
diff options
context:
space:
mode:
authorAidan Skinner <aidan@apache.org>2009-08-18 16:16:10 +0000
committerAidan Skinner <aidan@apache.org>2009-08-18 16:16:10 +0000
commit0314cbe225dce796e09ae9abbd450323808fe493 (patch)
tree2108ca3a099e8272dfa4ad2aab39b8e3f078e88c /qpid/java/common/src/main/java/org/apache/qpid/protocol/ProtocolEngineFactory.java
parent31567e20755c42126c1479352139ca434079dc19 (diff)
downloadqpid-python-0314cbe225dce796e09ae9abbd450323808fe493.tar.gz
QPID-2024: Add ProtocolEngine and NetworkDriver interfaces and a NetworkDriver implementation that uses MINA.
git-svn-id: https://svn.apache.org/repos/asf/qpid/branches/java-network-refactor@805477 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'qpid/java/common/src/main/java/org/apache/qpid/protocol/ProtocolEngineFactory.java')
-rw-r--r--qpid/java/common/src/main/java/org/apache/qpid/protocol/ProtocolEngineFactory.java29
1 files changed, 29 insertions, 0 deletions
diff --git a/qpid/java/common/src/main/java/org/apache/qpid/protocol/ProtocolEngineFactory.java b/qpid/java/common/src/main/java/org/apache/qpid/protocol/ProtocolEngineFactory.java
new file mode 100644
index 0000000000..d8c0f2c916
--- /dev/null
+++ b/qpid/java/common/src/main/java/org/apache/qpid/protocol/ProtocolEngineFactory.java
@@ -0,0 +1,29 @@
+/*
+ *
+ * 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.qpid.protocol;
+
+public interface ProtocolEngineFactory
+{
+
+ // Returns a new instance of a ProtocolEngine
+ ProtocolEngine newProtocolEngine();
+
+} \ No newline at end of file