1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
//! # Remote interaction with FutureSDR
//!
//! Library for remote interaction with a FutureSDR runtime and flowgraph.
//!
//! ## Example
//! ```no_run
//! use futuresdr_remote::Error;
//! use futuresdr_remote::Handler;
//! use futuresdr_remote::Remote;
//! use futuresdr_types::Pmt;
//!
//! #[tokio::main]
//! async fn main() -> Result<(), Error> {
//! let remote = Remote::new("http://127.0.0.1:1337");
//!
//! let fgs = remote.flowgraphs().await?;
//! let blocks = fgs[0].blocks();
//!
//! let p = blocks[0].callback(Handler::Id(0), Pmt::U32(123)).await?;
//! println!("result: {:?}", p);
//!
//! Ok(())
//! }
//! ```
pub use Block;
pub use Connection;
pub use ConnectionType;
pub use Flowgraph;
pub use Handler;
pub use Remote;
use Error;
/// FutureSDR Remote Error