MessageSpec.h File Reference
#include "Message.h"
#include <IpAddress.h>
Include dependency graph for MessageSpec.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  SSDP::MessageSpec
 Defines the information used to create an outgoing message. More...
 

Namespaces

 SSDP
 

Macros

#define SSDP_NOTIFY_SUBTYPE_MAP(XX)
 
#define XX(type, str)   type,
 

Enumerations

enum  SSDP::NotifySubtype { SSDP::NotifySubtype::XX, SSDP::NotifySubtype::OTHER }
 SSDP Notification subtype. More...
 
enum  SSDP::SearchTarget { SSDP::SearchTarget::root, SSDP::SearchTarget::type, SSDP::SearchTarget::uuid, SSDP::SearchTarget::all }
 SSDP Search target types. More...
 
enum  SSDP::SearchMatch { SSDP::SearchMatch::root, SSDP::SearchMatch::uuid, SSDP::SearchMatch::type }
 Determines the kind of match obtained when scanning incoming packets. More...
 

Functions

NotifySubtype SSDP::getNotifySubtype (const char *subtype)
 
String toString (SSDP::NotifySubtype subtype)
 
String toString (SSDP::SearchTarget target)
 
String toString (SSDP::SearchMatch match)
 

Macro Definition Documentation

◆ SSDP_NOTIFY_SUBTYPE_MAP

#define SSDP_NOTIFY_SUBTYPE_MAP (   XX)
Value:
XX(alive, "ssdp:alive") \
XX(byebye, "ssdp:byebye") \
XX(update, "ssdp:update") \
XX(event, "upnp:propchange")

◆ XX

#define XX (   type,
  str 
)    type,

Function Documentation

◆ toString() [1/3]

String toString ( SSDP::NotifySubtype  subtype)

◆ toString() [2/3]

String toString ( SSDP::SearchMatch  match)

◆ toString() [3/3]

String toString ( SSDP::SearchTarget  target)
#define XX(type, str)
Definition: MessageSpec.h:41