Code Review
/
src
/
app-framework-binder.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
c17b1ed08a1497cb9fae541b62400af83ce9d6a3
[src/app-framework-binder.git]
/
src
/
afb-wsj1-test.cpp
1
#include "afb-wsj1.hpp"
2
3
void onreply(const char *value){
4
std::cout<< *value<<std::endl;
5
system("PAUSE");
6
}
7
8
int main(int ac, char **av){
9
char*uri=av[0];
10
char*api =av[1];
11
char*verb =av[2];
12
char*req =av[3];
13
afb::wsj1 sj1;
14
sj1.connect(uri);
15
sj1.call(api,verb,req,onreply);
16
17
return EXIT_SUCCESS;
18
}