qpid-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From r..@apache.org
Subject svn commit: r1343917 - /qpid/proton/trunk/proton-j/jproton.py
Date Tue, 29 May 2012 18:56:37 GMT
Author: rhs
Date: Tue May 29 18:56:37 2012
New Revision: 1343917

URL: http://svn.apache.org/viewvc?rev=1343917&view=rev
Log:
more shim

Modified:
    qpid/proton/trunk/proton-j/jproton.py

Modified: qpid/proton/trunk/proton-j/jproton.py
URL: http://svn.apache.org/viewvc/qpid/proton/trunk/proton-j/jproton.py?rev=1343917&r1=1343916&r2=1343917&view=diff
==============================================================================
--- qpid/proton/trunk/proton-j/jproton.py (original)
+++ qpid/proton/trunk/proton-j/jproton.py Tue May 29 18:56:37 2012
@@ -75,6 +75,9 @@ def state(endpoint):
 def pn_connection():
   return impl.ConnectionImpl()
 
+def pn_connection_destroy(c):
+  pass
+
 def pn_connection_state(c):
   return state(c)
 
@@ -84,18 +87,21 @@ def pn_connection_open(c):
 def pn_connection_close(c):
   return c.close()
 
-def pn_connection_destroy(c):
-  pass
-
 def pn_session(c):
   return c.session()
 
+def pn_session_destroy(s):
+  pass
+
 def pn_session_state(s):
   return state(s)
 
 def pn_session_open(s):
   return s.open()
 
+def pn_session_close(s):
+  return s.close()
+
 def pn_transport(c):
   return c.transport()
 
@@ -120,5 +126,26 @@ def pn_sender(ssn, name):
 def pn_receiver(ssn, name):
   return ssn.receiver(name)
 
+def pn_link_destroy(lnk):
+  pass
+
+def pn_link_state(lnk):
+  return state(lnk)
+
 def pn_link_open(lnk):
   return lnk.open()
+
+def pn_link_close(lnk):
+  return lnk.close()
+
+def pn_work_head(c):
+  return c.getWorkHead()
+
+def pn_delivery(lnk, tag):
+  return lnk.delivery(tag, 0, len(tag))
+
+def pn_flow(rcv, n):
+  return rcv.flow(n)
+
+def pn_send(snd, msg):
+  return snd.send(msg, 0, len(msg))



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@qpid.apache.org
For additional commands, e-mail: commits-help@qpid.apache.org


Mime
View raw message