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 class  SSDP::NotifySubtype { SSDP::XX , SSDP::OTHER }
 SSDP Notification subtype. More...
 
enum class  SSDP::SearchTarget { SSDP::root , SSDP::type , SSDP::uuid , SSDP::all }
 SSDP Search target types. More...
 
enum class  SSDP::SearchMatch { SSDP::root , SSDP::uuid , SSDP::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")
#define XX(type, str)
Definition: MessageSpec.h:41

◆ 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)