MashaTelyatnikova / protobuf-socket-rpc

Automatically exported from code.google.com/p/protobuf-socket-rpc
MIT License
0 stars 0 forks source link

RPCCallBack method run is never called... #24

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
I´ve created test Server a test Client.

1 - Client calls Server RPC method properly.
2 - Messages arrive on the server and i get the message.
3 - By the server side, i call done.run(gBuilder.build()); to call the callback 
method at client.

The issues is: the cliente thread finished and callback method is never called.
i see that for main classes (static void main(String[] arg)), if i add 
"threadPool.shutdownNow();" after callback, SOMETIMES is runs OK, but it does 
never work into a Junit TestCase....

Please provide me some protobuf-socket-rpc document or information about "how 
can i have my callback methods being called properly".

I am using following versions:
- protobuf-java-2.4.1.jar
- protobuf-socket-rpc-2.0.jar
- JDK 6

Thank you guys

Original issue reported on code.google.com by marcello1975@gmail.com on 16 Jul 2012 at 4:50