qpid-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From r..@apache.org
Subject svn commit: r1343994 - /qpid/proton/trunk/proton-j/jproton.py
Date Tue, 29 May 2012 21:09:35 GMT
Author: rhs
Date: Tue May 29 21:09:35 2012
New Revision: 1343994

URL: http://svn.apache.org/viewvc?rev=1343994&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=1343994&r1=1343993&r2=1343994&view=diff
==============================================================================
--- qpid/proton/trunk/proton-j/jproton.py (original)
+++ qpid/proton/trunk/proton-j/jproton.py Tue May 29 21:09:35 2012
@@ -141,11 +141,23 @@ def pn_link_close(lnk):
 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))
+
+def pn_delivery(lnk, tag):
+  return lnk.delivery(tag, 0, len(tag))
+
+def pn_delivery_tag(d):
+  return d.getTag().tostring()
+
+def pn_writable(d):
+  return d.isWritable()
+
+def pn_readable(d):
+  return d.isReadable()
+
+def pn_updated(d):
+  return d.isUpdated()



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


Mime
View raw message