-
Notifications
You must be signed in to change notification settings - Fork 16
/
CtrlPoint.h
40 lines (27 loc) · 894 Bytes
/
CtrlPoint.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
/******************************************************************
*
* mUPnP for C++
*
* Copyright (C) Satoshi Konno 2002
*
* This is licensed under BSD-style license, see file COPYING.
*
******************************************************************/
#ifndef _MUPNPDUMP_CTRLPOINT_H_
#define _MUPNPDUMP_CTRLPOINT_H_
#include <mupnp/mUPnP.h>
using namespace mUPnP;
class CtrlPoint : public ControlPoint , public NotifyListener, public EventListener, public SearchResponseListener
{
public:
CtrlPoint();
////////////////////////////////////////////////
// Listener
////////////////////////////////////////////////
public:
bool deviceNotifyReceived(SSDPPacket *packet);
bool deviceSearchResponseReceived(SSDPPacket *packet);
bool eventNotifyReceived(const std::string &uuid, long seq, const std::string &name, const std::string &value);
void print();
};
#endif