24#ifndef NETWORK_MANAGEMENT_INTERFACE_H
25#define NETWORK_MANAGEMENT_INTERFACE_H
107 std::shared_ptr<Network_provider> provider) = 0;
Inversion of Control interface to manage Network providers.
Definition: network_management_interface.h:34
Network_provider_management_interface(Network_provider_management_interface &&)=default
virtual int xcom_get_ssl_fips_mode(const char *mode)=0
Return the operation fips mode as an integer from an operation fips mode provided as a string.
Network_provider_management_interface & operator=(Network_provider_management_interface const &)=delete
virtual void finalize_secure_connections_context()=0
Destroys all things SSL related.
virtual int is_xcom_using_ssl() const =0
Return whether the SSL will be used to encrypt data or not.
virtual int xcom_get_ssl_mode(const char *mode)=0
Return the operation mode as an integer from an operation mode provided as a string.
virtual int xcom_get_ssl_fips_mode()=0
Returns the configured FIPS mode.
virtual void remove_all_network_provider()=0
Network_provider_management_interface()
Definition: network_management_interface.h:36
virtual bool initialize()=0
Initialize the network manager.
virtual int xcom_set_ssl_fips_mode(int mode)=0
Set the operation fips mode which might be the following:
virtual enum_transport_protocol get_running_protocol() const =0
Gets the configured running protocol.
virtual ~Network_provider_management_interface()
Definition: network_management_interface.h:37
virtual int xcom_get_ssl_mode()=0
Return the configured value into SSL mode.
virtual void set_running_protocol(enum_transport_protocol new_value)=0
Sets the running Communication Stack, thus defining the active provider.
virtual enum_transport_protocol get_incoming_connections_protocol() const =0
Get the incoming connections Communication Stack.
virtual int xcom_set_ssl_mode(int mode)=0
Set the operation mode which might be the following:
virtual bool finalize()=0
Finalize the network manager.
virtual void cleanup_secure_connections_context()=0
Cleans up SSL context directly into the active network provider.
virtual void delayed_cleanup_secure_connections_context()=0
Cleans up SSL context indirectly from the last active network provider.
Network_provider_management_interface(Network_provider_management_interface const &)=delete
virtual void remove_network_provider(enum_transport_protocol provider_key)=0
Network_provider_management_interface & operator=(Network_provider_management_interface &&)=default
virtual void add_network_provider(std::shared_ptr< Network_provider > provider)=0
Add a new Gcs_network_provider instance.
Inversion of Control proxy interface to operate Network providers.
Definition: network_management_interface.h:211
virtual ~Network_provider_operations_interface()
Definition: network_management_interface.h:214
virtual bool start_active_network_provider()=0
Start the active provider.
virtual bool stop_all_network_providers()=0
Stops all network providers.
Network_provider_operations_interface & operator=(Network_provider_operations_interface const &)=delete
Network_provider_operations_interface(Network_provider_operations_interface const &)=delete
virtual bool stop_active_network_provider()=0
Stops the active provider.
virtual bool configure_active_provider_secure_connections(Network_configuration_parameters ¶ms)=0
COnfigures the active provider SSL parameters.
Network_provider_operations_interface()
Definition: network_management_interface.h:213
virtual bool configure_active_provider(Network_configuration_parameters ¶ms)=0
Configures the active provider.
mode
Definition: file_handle.h:61
enum_transport_protocol
Enum that describes the available XCom Communication Stacks.
Definition: network_provider.h:45
Possible configuration parameters.
Definition: network_provider.h:191