diff options
Diffstat (limited to 'apps/Gateway/Gateway/Config_Files.h')
-rw-r--r-- | apps/Gateway/Gateway/Config_Files.h | 90 |
1 files changed, 0 insertions, 90 deletions
diff --git a/apps/Gateway/Gateway/Config_Files.h b/apps/Gateway/Gateway/Config_Files.h deleted file mode 100644 index eae0248eb8c..00000000000 --- a/apps/Gateway/Gateway/Config_Files.h +++ /dev/null @@ -1,90 +0,0 @@ -/* -*- C++ -*- */ -// $Id$ - -// ============================================================================ -// -// = LIBRARY -// apps -// -// = FILENAME -// Config_Files.h -// -// = AUTHOR -// Doug Schmidt -// -// ============================================================================ - -#if !defined (_CONFIG_FILES) -#define _CONFIG_FILES - -#include "ace/OS.h" -#include "File_Parser.h" - -class Connection_Config_File_Entry - // = TITLE - // Stores connection configuration information. -{ -public: - ACE_INT32 conn_id_; - // Connection id for this Proxy_Handler. - - char host_[BUFSIZ]; - // Host to connect with. - - u_short remote_port_; - // Port to connect with. - - char proxy_role_; - // 'S' (supplier) or 'C' (consumer). - - ACE_INT32 max_retry_delay_; - // Maximum amount of time to wait for reconnecting. - - u_short local_port_; - // Our local port number. -}; - -class Connection_Config_File_Parser : public File_Parser<Connection_Config_File_Entry> - // = TITLE - // Parser for the Proxy_Handler Connection file. -{ -public: - virtual FP::Return_Type - read_entry (Connection_Config_File_Entry &entry, int &line_number); -}; - -class Consumer_Config_File_Entry - // = TITLE - // Stores the information in a Consumer Map entry. -{ -public: - enum { - MAX_CONSUMERS = 1000 // Total number of multicast consumers. - }; - - ACE_INT32 conn_id_; - // Connection id for this proxy. - - ACE_INT32 supplier_id_; - // Logical supplier id for this proxy. - - ACE_INT32 type_; - // Message type. - - ACE_INT32 consumers_[MAX_CONSUMERS]; - // Connection ids for consumers that we're routing to. - - int total_consumers_; - // Total number of these consumers. -}; - -class Consumer_Config_File_Parser : public File_Parser<Consumer_Config_File_Entry> - // = TITLE - // Parser for the Consumer Map file. -{ -public: - virtual FP::Return_Type - read_entry (Consumer_Config_File_Entry &entry, int &line_number); -}; - -#endif /* _CONFIG_FILES */ |