1 #include "rpc_caller.h"
3 #include "object_stream.h"
7 class efc_stub
: public rpc_stub
{
13 void serialize(manes::ods::object_stream
&ostr
) {
14 ostr
.start
<efc_stub
>();
19 void deserialize(manes::ods::object_stream
&ostr
) {
25 class efc
: public rpc_caller
{
33 virtual void inject(p
<obj_ref
> obj
, caller_type tpe
);
34 virtual p
<rpc_stub
> create_stub(p
<obj_ref
> obj
, caller_type tpe
);
35 virtual p
<obj_ref
> ref_from_stub(p
<rpc_stub
> stub
);
37 virtual unsigned int call(p
<obj_ref
>, method_id
, buffer
&);
39 virtual unsigned int call_local(p
<obj_ref
>, method_id
, buffer
&);
40 virtual unsigned int call_far(p
<obj_ref
>, method_id
, buffer
&);
41 virtual unsigned int call_remote(p
<obj_ref
>, method_id
, buffer
&);
43 static void create() {