commit-gnuradio
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Commit-gnuradio] [gnuradio] 02/05: controlport: using the 'binary' Thri


From: git
Subject: [Commit-gnuradio] [gnuradio] 02/05: controlport: using the 'binary' Thrift data type to work better with Java.
Date: Fri, 11 Dec 2015 20:27:02 +0000 (UTC)

This is an automated email from the git hooks/post-receive script.

jcorgan pushed a commit to branch master
in repository gnuradio.

commit 8cac222aaa66212686d1a1299f9485b202784059
Author: Tom Rondeau <address@hidden>
Date:   Thu Dec 10 13:56:49 2015 -0500

    controlport: using the 'binary' Thrift data type to work better with Java.
    
    Java String class can change data from an arbitrary byte[] object. We
    use the ByteBuffer class now when passing data to ControlPort's
    postMessage function, which manages the underlying data properly.
---
 gnuradio-runtime/lib/controlport/thrift/gnuradio.thrift | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/gnuradio-runtime/lib/controlport/thrift/gnuradio.thrift 
b/gnuradio-runtime/lib/controlport/thrift/gnuradio.thrift
index 432fb5d..e2cc68b 100644
--- a/gnuradio-runtime/lib/controlport/thrift/gnuradio.thrift
+++ b/gnuradio-runtime/lib/controlport/thrift/gnuradio.thrift
@@ -105,6 +105,6 @@ service ControlPort {
         KnobMap getKnobs(1:KnobIDList knobs);
         KnobMap getRe(1:KnobIDList knobs);
         KnobPropMap properties(1:KnobIDList knobs);
-        void postMessage(1:string blk_alias, 2:string port, 3:string msg);
+        void postMessage(1:string blk_alias, 2:string port, 3:binary msg);
         void shutdown();
 }



reply via email to

[Prev in Thread] Current Thread [Next in Thread]