Tasks #589
Reduce complexity of client-server example
Status: | Resolved | Start date: | 09/27/2011 | |
---|---|---|---|---|
Priority: | Low | Due date: | ||
Assignee: | J. Moringen | % Done: | 100% | |
Category: | Documentation | |||
Target version: | 0.5 |
Description
In the server example a callback with an additional member that stores the method name is displayed. This leads to the assumption that storing this is required by the framework and adds to the complexity of this minimal example. Probably, we can just remove this overhead.
Associated revisions
Reduced complexity in examples/server/server.cpp
fixes #589
fixes #589
- examples/server/server.cpp: removed dispatch on method name in
callback; introduced dedicated callback class for intentional
errors; removed all method name variables
History
#1 Updated by J. Wienke over 12 years ago
- Assignee changed from J. Wienke to J. Moringen
Jan, this was your example ;)
#2 Updated by J. Moringen over 12 years ago
Does this refer to the C++ implementation?
#3 Updated by J. Moringen over 12 years ago
- Status changed from New to Resolved
- % Done changed from 0 to 100
Applied in changeset r2751.