#include <it_bus/server_service.h>
Inheritance diagram for IT_Bus::ServerService:
Definition at line 30 of file server_service.h.
Public Member Functions | |
virtual void | register_servant (Servant &servant, const String &port_to_register=IT_BUS_ALL_PORTS)=0 |
Registers a servant, optionally associated with a specific port name. | |
virtual void | register_default_servant (Servant &servant, const String &port_to_register=IT_BUS_ALL_PORTS)=0 |
Registers a default servant, optionally associated with a specific port name. | |
virtual Reference | get_reference_with_id (const String &instance_id, const String &port_to_register=IT_BUS_ALL_PORTS)=0 |
Registers a new addressing context for the default servant to support. | |
virtual WS_Addressing::EndpointReferenceType | get_endpoint_reference_with_id (const String &instance_id, const String &port_to_register=IT_BUS_ALL_PORTS)=0 |
Registers a new addressing context for the default servant to support. | |
virtual void | shutdown (IT_Bool wait_for_completion)=0 |
Shutdown the service. | |
virtual IT_Bool | is_transient () const =0 |
Return an indicator of whether the service is transient. | |
Protected Member Functions | |
ServerService () |
virtual WS_Addressing::EndpointReferenceType IT_Bus::ServerService::get_endpoint_reference_with_id | ( | const String & | instance_id, | |
const String & | port_to_register = IT_BUS_ALL_PORTS | |||
) | [pure virtual] |
Registers a new addressing context for the default servant to support.
This will throw a Bus Exception if no default servant has been registered for the port specified.
Use this method when you want to activate a new service against a default servant. The EndpointReferenceType returned contains addressing based on the instance_id passed in.
Instance | ID to be used when creating new addressing. | |
String | name of a specific port; default is to associate the servant will all ports. |
virtual Reference IT_Bus::ServerService::get_reference_with_id | ( | const String & | instance_id, | |
const String & | port_to_register = IT_BUS_ALL_PORTS | |||
) | [pure virtual] |
Registers a new addressing context for the default servant to support.
This will throw a Bus Exception if no default servant has been registered for the port specified.
Use this method when you want to activate a new service against a default servant. The Reference returned contains addressing based on the instance_id passed in.
Instance | ID to be used when creating new addressing. | |
String | name of a specific port; default is to associate the servant will all ports. |
virtual IT_Bool IT_Bus::ServerService::is_transient | ( | ) | const [pure virtual] |
Return an indicator of whether the service is transient.
virtual void IT_Bus::ServerService::register_default_servant | ( | Servant & | servant, | |
const String & | port_to_register = IT_BUS_ALL_PORTS | |||
) | [pure virtual] |
virtual void IT_Bus::ServerService::register_servant | ( | Servant & | servant, | |
const String & | port_to_register = IT_BUS_ALL_PORTS | |||
) | [pure virtual] |
Registers a servant, optionally associated with a specific port name.
Use this method when multiple servants, associated with different port names, must be registered under the same service.
virtual void IT_Bus::ServerService::shutdown | ( | IT_Bool | wait_for_completion | ) | [pure virtual] |
Shutdown the service.
IT_Bool | indicating whether to delay return from this method until shutdown completes. |