Tasks #589

Reduce complexity of client-server example

Added by J. Sanchez Riera over 12 years ago. Updated over 12 years ago.

Status:ResolvedStart date:09/27/2011
Priority:LowDue 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

Revision fe1e1ced
Added by J. Moringen over 12 years ago

Reduced complexity in examples/server/server.cpp
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.

Also available in: Atom PDF