Changes to attempt to silence bcc64x
[ACE_TAO.git] / ACE / examples / IPC_SAP / SOCK_SAP / CPP-inserver-fancy.h
blob24c3b74ce9269fb3a0f3362906e260be0fab5a8a
1 // This file defines the Options class for CPP-inserver-fancy.
2 // IBM C++ compiler'd template auto-instantiator needs this in a separate file.
4 #ifndef __CPP_INSERVER_FANCY_H
5 #define __CPP_INSERVER_FANCY_H
7 class Options
8 // = TITLE
9 // Define the options for this test.
11 public:
12 Options ();
13 // Constructor.
15 ~Options ();
16 // Destructor.
18 int parse_args (int argc, ACE_TCHAR *argv[]);
19 // Parse the command-line arguments.
21 int verbose () const;
22 // Are we running in verbose mode?
24 u_short port () const;
25 // Port number that we are listening at.
27 int reply_message_len () const;
28 // Size of the reply message.
30 private:
31 int verbose_;
32 // Are we running in verbose mode?
34 u_short port_;
35 // Port number we listen at.
37 size_t reply_message_len_;
38 // Size of the reply message.
41 #endif /* __CPP_INSERVER_FANCY_H */