You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@qpid.apache.org by ac...@apache.org on 2016/11/25 21:01:38 UTC
[42/48] qpid-proton git commit: NO-JIRA: Delete dead code - cdriver
jython shim
NO-JIRA: Delete dead code - cdriver jython shim
Project: http://git-wip-us.apache.org/repos/asf/qpid-proton/repo
Commit: http://git-wip-us.apache.org/repos/asf/qpid-proton/commit/468b719d
Tree: http://git-wip-us.apache.org/repos/asf/qpid-proton/tree/468b719d
Diff: http://git-wip-us.apache.org/repos/asf/qpid-proton/diff/468b719d
Branch: refs/heads/go1
Commit: 468b719da05222da77f72f25a026aea46352a372
Parents: 331e3b9
Author: Alan Conway <ac...@redhat.com>
Authored: Mon Nov 21 14:34:30 2016 -0500
Committer: Alan Conway <ac...@redhat.com>
Committed: Wed Nov 23 11:08:08 2016 -0500
----------------------------------------------------------------------
tests/java/shim/cdriver.py | 69 -----------------------------------------
tests/java/shim/cproton.py | 1 -
2 files changed, 70 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/qpid-proton/blob/468b719d/tests/java/shim/cdriver.py
----------------------------------------------------------------------
diff --git a/tests/java/shim/cdriver.py b/tests/java/shim/cdriver.py
deleted file mode 100644
index a7a20f0..0000000
--- a/tests/java/shim/cdriver.py
+++ /dev/null
@@ -1,69 +0,0 @@
-#
-# 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.
-#
-from org.apache.qpid.proton import Proton
-
-# from proton/driver.h
-
-def pn_driver():
- return Proton.driver()
-
-def pn_driver_wait(drv, t):
- drv.doWait(t)
-
-def pn_driver_listener(drv):
- return drv.listener()
-
-def pn_driver_connector(drv):
- return drv.connector()
-
-def pn_listener(drv, host, port, ctx):
- return drv.createListener(host, int(port), ctx)
-
-def pn_listener_context(l):
- return l.getContext()
-
-def pn_listener_set_context(l, v):
- l.setContext(v)
-
-def pn_listener_accept(l):
- return l.accept()
-
-def pn_connector(drv, host, port, ctx):
- return drv.createConnector(host, int(port), ctx)
-
-def pn_connector_context(c):
- return c.getContext()
-
-def pn_connector_set_context(c, v):
- c.setContext(v)
-
-def pn_connector_set_connection(c, conn):
- c.setConnection(conn.impl)
-
-def pn_connector_connection(c):
- return wrap(c.getConnection(), pn_connection_wrapper)
-
-def pn_connector_transport(c):
- return wrap(c.getTransport(), pn_transport_wrapper)
-
-def pn_connector_process(c):
- return c.process()
-
-def pn_connector_closed(c):
- return c.isClosed()
http://git-wip-us.apache.org/repos/asf/qpid-proton/blob/468b719d/tests/java/shim/cproton.py
----------------------------------------------------------------------
diff --git a/tests/java/shim/cproton.py b/tests/java/shim/cproton.py
index 0840273..d5ed574 100644
--- a/tests/java/shim/cproton.py
+++ b/tests/java/shim/cproton.py
@@ -35,7 +35,6 @@ from ccodec import *
from cengine import *
from csasl import *
from cssl import *
-from cdriver import *
from cmessenger import *
from cmessage import *
from curl import *
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@qpid.apache.org
For additional commands, e-mail: commits-help@qpid.apache.org