-
Notifications
You must be signed in to change notification settings - Fork 216
New IceBox greeter demo (C++) #270
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
Conversation
| @@ -0,0 +1,18 @@ | |||
| // Copyright (c) ZeroC, Inc. | |||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Greeter.ice, Chatbot.h and Chatbot.cpp are exact copies of the files in Ice/greeter.
|
|
||
| using namespace std; | ||
|
|
||
| int |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
A simplified version of the Ice/greeter client. You can also use the Greeter client if you like.
|
|
||
| #include <IceBox/IceBox.h> | ||
|
|
||
| namespace GreeterServer |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
In the same namespace as Chatbot (GreeterServer).
|
|
||
| void | ||
| GreeterServer::GreeterService::start( | ||
| const string& name, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think name is also unused here. I need to enable build warnings tomorrow.
| **Linux:** | ||
|
|
||
| ```shell | ||
| LD_LIBRARY_PATH=./build icebox --IceBox.Service.Greeter="GreeterService:create --Ice.Trace.Dispatch" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should this be --Ice.Trace.Dispatch=1?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
=1 is the default.
This PR adds a new IceBox/greeter demo, derived from Ice/greeter and IceBox/hello.