3 //=============================================================================
7 * Options is an Singleton for blobby
9 * @author Prashant Jain and Sumedh Mungee
11 //=============================================================================
14 #ifndef ACE_BLOBBY_OPTIONS_H
15 #define ACE_BLOBBY_OPTIONS_H
18 #include "Blob_Handler.h"
19 #include "ace/Get_Opt.h"
21 #if !defined (ACE_LACKS_PRAGMA_ONCE)
23 #endif /* ACE_LACKS_PRAGMA_ONCE */
30 /// Returns the singleton instance
31 static Options
*instance ();
33 /// parses commandline arguments
34 void parse_args (int argc
, ACE_TCHAR
*argv
[]);
36 /// Hostname to connect to
39 /// Port number to use
42 /// Filename to upload/download
45 /// number of bytes to read/write
48 /// offset to read/write
51 /// "r" means download (read), and "w" means upload (write).
54 /// turns on verbosity
59 // protected constructor, singleton
62 static Options
*instance_
;
65 #endif /* ACE_BLOBBY_OPTIONS_H */