it_bus_pdk/forwarding_registry.h

00001 #ifndef _IT_FORWARDING_REGISTRY_H_
00002 #define _IT_FORWARDING_REGISTRY_H_
00003 
00004 //  Copyright (c) 2005 IONA Technologies PLC. All Rights Reserved.
00005 //
00006 
00007 #include <it_bus/bus.h>
00008 #include <it_bus_pdk/registry.h>
00009 #include <it_dsa/vector.h>
00010 
00011 namespace IT_Bus
00012 {   
00013     extern const IT_BUS_API String forwarding_control_registry_name;
00014     extern const IT_BUS_API String forwarding_details_registry_name;
00015     extern const IT_BUS_API String forwarding_details_entry_name;
00016     extern const IT_BUS_API String forwarding_process_all_requests_locally;
00017     extern const IT_BUS_API String forwarding_replacement_type;
00018     extern const IT_BUS_API String forwarding_replacement_name;
00019     extern const IT_BUS_API String forwarding_on;
00020 
00021     typedef Registry<String, String> ForwardingControlRegistry;
00022     
00023     struct ForwardingDetails
00024     {
00025         IT_Vector<IT_Bus::String>   m_operations;
00026         QName                       m_service;
00027         String                      m_port;
00028         String                      m_wsdl_url;
00029 
00030         ForwardingDetails(
00031             const IT_Vector<IT_Bus::String>&    operations,
00032             const QName&                        service,
00033             const String&                       port,
00034             const String&                       wsdl_url
00035         ) :
00036             m_operations(operations),
00037             m_service(service),
00038             m_port(port),
00039             m_wsdl_url(wsdl_url)
00040         {
00041             // complete
00042         }               
00043     };
00044     typedef Registry<String, IT_Vector<ForwardingDetails*> > ForwardingDetailsRegistry;
00045 }
00046 
00047 #endif  

Generated on Thu Sep 7 11:39:33 2006 for Artix by  doxygen 1.4.7