The protocol namespace contains classes that define the framework for implementing and accessing WSPR service protocols. More...
Classes | |
| struct | MessageGroupSession |
| struct | MessageLogin |
| struct | ServiceProtocol |
| struct | MessageRegistry |
| struct | MessageRelay |
| struct | MessageRenderer |
| struct | MessageService |
| struct | MessageSession |
| struct | MessageWebService |
Enumerations | |
| enum | MessageProtocol { Unspecified = 0, Service = 1, Registry = 2, Log = 3, Session = 4, Renderer = 5, Relay = 6, WebService = 7, GroupSession = 8, Login = 9, Talk = 10, Documents = 11, Preferences = 12, Forum = 13, Issues = 14, Wiki = 15, Blog = 16, Notify = 17, SiteSearch = 18, Subscribe = 19, TextShards = 20, SimpleFS = 21, MaxReserved = 1023 } |
Functions | |
| template<> | |
| std::string | service_type< GroupSession > () |
| std::string | service_type_group_session () |
| template<> | |
| std::string | service_type< Login > () |
| std::string | service_type_login () |
| template<NS_SSRC_WISP_PROTOCOL::wisp_message_protocol protocol_> | |
| std::string | service_type () |
| std::string | service_type_unknown () |
| Returns a string identifying an unnkown service type. | |
| template<> | |
| std::string | service_type< Registry > () |
| std::string | service_type_registry () |
| template<> | |
| std::string | service_type< Relay > () |
| std::string | service_type_relay () |
| template<> | |
| std::string | service_type< Renderer > () |
| std::string | service_type_renderer () |
| template<> | |
| std::string | service_type< Service > () |
| std::string | service_type_service () |
| template<> | |
| std::string | service_type< Session > () |
| std::string | service_type_session () |
| template<> | |
| std::string | service_type< WebService > () |
| std::string | service_type_ws () |
Detailed Description
The protocol namespace contains classes that define the framework for implementing and accessing WSPR service protocols.
Enumeration Type Documentation
- Enumerator:
Unspecified Service Registry Log Session Renderer Relay WebService GroupSession Login Talk Documents Preferences Forum Issues Wiki Blog Notify SiteSearch Subscribe TextShards SimpleFS MaxReserved
Definition at line 40 of file Protocols.h.
Function Documentation
| std::string protocol::service_type | ( | ) |
Referenced by group_session::_gs_name(), renderer::_lua_init_global_environment_ref(), relay::_to_table(), registry::Registry::register_service(), registry::RegistryEntry::serialize(), protocol::ServiceProtocol< MessageBase< 0 >::protocol >::service_group(), and registry::Registry::unregister_service().
| std::string protocol::service_type< GroupSession > | ( | ) | [inline] |
Definition at line 35 of file group_session/protocol.h.
| std::string protocol::service_type< Login > | ( | ) | [inline] |
Definition at line 33 of file login/protocol.h.
| std::string protocol::service_type< Registry > | ( | ) | [inline] |
Definition at line 33 of file registry/protocol.h.
| std::string protocol::service_type< Relay > | ( | ) | [inline] |
Definition at line 29 of file relay/protocol.h.
| std::string protocol::service_type< Renderer > | ( | ) | [inline] |
Definition at line 29 of file renderer/protocol.h.
| std::string protocol::service_type< Service > | ( | ) | [inline] |
Definition at line 30 of file service/protocol.h.
| std::string protocol::service_type< Session > | ( | ) | [inline] |
Definition at line 30 of file session/protocol.h.
| std::string protocol::service_type< WebService > | ( | ) | [inline] |
Definition at line 39 of file ws/protocol.h.
| std::string protocol::service_type_group_session | ( | ) | [inline] |
Definition at line 35 of file group_session/protocol.h.
| std::string protocol::service_type_login | ( | ) | [inline] |
Definition at line 33 of file login/protocol.h.
| std::string protocol::service_type_registry | ( | ) | [inline] |
Definition at line 33 of file registry/protocol.h.
Referenced by registry::Registry::Registry(), and registry::service_group_registry().
| std::string protocol::service_type_relay | ( | ) | [inline] |
Definition at line 29 of file relay/protocol.h.
| std::string protocol::service_type_renderer | ( | ) | [inline] |
Definition at line 29 of file renderer/protocol.h.
| std::string protocol::service_type_service | ( | ) | [inline] |
Definition at line 30 of file service/protocol.h.
| std::string protocol::service_type_session | ( | ) | [inline] |
Definition at line 30 of file session/protocol.h.
| std::string protocol::service_type_unknown | ( | ) | [inline] |
Returns a string identifying an unnkown service type.
- Returns:
- A string identifying an unnkown service type.
Definition at line 125 of file Protocols.h.
References WSPR_SERVICE_TYPE.
Referenced by registry::Registry::register_service(), registry::Registry::service_join(), and registry::Registry::unregister_service().
| std::string protocol::service_type_ws | ( | ) | [inline] |
Definition at line 39 of file ws/protocol.h.