Sha256: 912ec56cab219a35e57374d793d3c9347927eed354450ab1548b082f961d7ffb

Contents?: true

Size: 1.09 KB

Versions: 28

Compression:

Stored size: 1.09 KB

Contents

Example session using thrift_client:

118> f(), {ok, C} = thrift_client:start_link("localhost", 9090, thriftTest_thrif
t).
{ok,<0.271.0>}
119> thrift_client:call(C, testVoid, []).
{ok,ok}
120> thrift_client:call(C, testVoid, [asdf]).
{error,{bad_args,testVoid,[asdf]}}
121> thrift_client:call(C, testI32, [123]).
{ok,123}
122> thrift_client:call(C, testAsync, [1]).
{ok,ok}
123> catch thrift_client:call(C, testXception, ["foo"]).
{error,{no_function,testXception}}
124> catch thrift_client:call(C, testException, ["foo"]).
{ok,ok}
125> catch thrift_client:call(C, testException, ["Xception"]).
{xception,1001,"This is an Xception"}
126> thrift_client:call(C, testException, ["Xception"]).

=ERROR REPORT==== 24-Feb-2008::23:00:23 ===
Error in process <0.269.0> with exit value: {{nocatch,{xception,1001,"This is an
 Xception"}},[{thrift_client,call,3},{erl_eval,do_apply,5},{shell,exprs,6},{shel
l,eval_loop,3}]}

** exited: {{nocatch,{xception,1001,"This is an Xception"}},
            [{thrift_client,call,3},
             {erl_eval,do_apply,5},
             {shell,exprs,6},
             {shell,eval_loop,3}]} **

Version data entries

28 entries across 28 versions & 3 rubygems

Version Path
auser-poolparty-1.3.0 examples/thrift/erlang/deps/thrift/README
auser-poolparty-1.3.1 examples/thrift/erlang/deps/thrift/README
auser-poolparty-1.3.10 examples/thrift/erlang/deps/thrift/README
auser-poolparty-1.3.11 examples/thrift/erlang/deps/thrift/README
auser-poolparty-1.3.12 examples/thrift/erlang/deps/thrift/README
auser-poolparty-1.3.13 examples/thrift/erlang/deps/thrift/README
auser-poolparty-1.3.14 examples/thrift/erlang/deps/thrift/README
auser-poolparty-1.3.15 examples/thrift/erlang/deps/thrift/README
auser-poolparty-1.3.16 examples/thrift/erlang/deps/thrift/README
auser-poolparty-1.3.17 examples/thrift/erlang/deps/thrift/README
auser-poolparty-1.3.2 examples/thrift/erlang/deps/thrift/README
auser-poolparty-1.3.3 examples/thrift/erlang/deps/thrift/README
auser-poolparty-1.3.4 examples/thrift/erlang/deps/thrift/README
auser-poolparty-1.3.5 examples/thrift/erlang/deps/thrift/README
auser-poolparty-1.3.6 examples/thrift/erlang/deps/thrift/README
auser-poolparty-1.3.7 examples/thrift/erlang/deps/thrift/README
auser-poolparty-1.3.8 examples/thrift/erlang/deps/thrift/README
fairchild-poolparty-1.3.17 examples/thrift/erlang/deps/thrift/README
fairchild-poolparty-1.3.5 examples/thrift/erlang/deps/thrift/README
poolparty-1.3.15 examples/thrift/erlang/deps/thrift/README