Merge pull request #2216 from jwillemsen/jwi-cxxversionchecks
[ACE_TAO.git] / ACE / examples / IPC_SAP / SSL_SAP / SSL-server-fancy.h
blob974dc63ccdc325f0e116bfb2d38d80308b83cd0f
1 // -*- C++ -*-
2 // This file defines the Options class for SSL-server-fancy.
3 // IBM C++ compiler'd template auto-instantiator needs this in a separate file.
5 #ifndef __ACE_SSL_SERVER_FANCY_H
6 #define __ACE_SSL_SERVER_FANCY_H
8 class Options
9 // = TITLE
10 // Define the options for this test.
12 public:
13 Options ();
14 // Constructor.
16 ~Options ();
17 // Destructor.
19 int parse_args (int argc, ACE_TCHAR *argv[]);
20 // Parse the command-line arguments.
22 int verbose () const;
23 // Are we running in verbose mode?
25 u_short port () const;
26 // Port number that we are listening at.
28 int reply_message_len () const;
29 // Size of the reply message.
31 private:
32 int verbose_;
33 // Are we running in verbose mode?
35 u_short port_;
36 // Port number we listen at.
38 size_t reply_message_len_;
39 // Size of the reply message.
42 #endif /* __ACE_SSL_SERVER_FANCY_H */