I'm trying to use protobufremote asynchronously, everything is working properly
with synchronous method but when using it with a callback which is supposed to
get the resultset back there's no way to obtain it.
When debugging, it seems that the ProtoFromMessage is never called ( i'm doing
my test on a user object )
Basically scheme is the following
AsyncCallback cb = new AsyncallBack ( ProcessResult );
IAsyncResult res = BeginGetData(object myparam,cb,null);
...
void ProcessResult ( IAsyncResult res)
{
if (res.Completed)
{
MyObject obj = (MyObject) res.Result; // here impossible because IAsynResult is a PendingCall object so => res.Result is a ProtoParam => so it should have been serialized before in the process i assume
How can i do it.....?
}
}
Original issue reported on code.google.com by philippe...@gmail.com on 27 Sep 2012 at 12:19
Original issue reported on code.google.com by
philippe...@gmail.com
on 27 Sep 2012 at 12:19