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

RMI #24

Open
JKamsker opened this issue Mar 10, 2017 · 4 comments
Open

RMI #24

JKamsker opened this issue Mar 10, 2017 · 4 comments

Comments

@JKamsker
Copy link

Hey
Is it possible to invoke an mehtod on the client side and return the results to the server? That would save me a whole of a lot of work :)
Are there any examples for this?
Thanks in advance!

@hikalkan
Copy link
Owner

Hi,

Sure, it's possible. See my article: https://www.codeproject.com/Articles/153938/TCP-Server-Client-Communication-Usage#chatclient

In this chat example, server calls client's methods whenever needed. Any method can have a return value.

@JKamsker
Copy link
Author

Oh, thank you, didn't see that. Looks very difficult, I'll have a look at it :D

@JKamsker
Copy link
Author

Is there any console-only example? Its really hard to understand and i barely make any process :(

@hikalkan
Copy link
Owner

It's not complicated actually. There are some console samples, but may not be exactly like what you want. You can start from this sample for example: https://github.com/hikalkan/scs/tree/master/samples/SimpleCalculatorSystem

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

No branches or pull requests

2 participants