Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

RPCCallBack method run is never called... #24

Open
GoogleCodeExporter opened this issue Mar 31, 2015 · 0 comments
Open

RPCCallBack method run is never called... #24

GoogleCodeExporter opened this issue Mar 31, 2015 · 0 comments

Comments

@GoogleCodeExporter
Copy link

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 [email protected] on 16 Jul 2012 at 4:50

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant