diff options
author | thlo <t.lohmar@gmx.de> | 2013-05-11 15:45:00 +0200 |
---|---|---|
committer | thlo <t.lohmar@gmx.de> | 2013-05-11 15:45:00 +0200 |
commit | aa83ca05d35edbba7784909ee09da1980b9fe450 (patch) | |
tree | dc05639fb53cff2c37963fad7dad06a20366adb7 /httpclient.c | |
parent | 2c84a7c872c7237b0b2b87d9fe20fc4335573321 (diff) | |
download | vdr-plugin-smarttvweb-aa83ca05d35edbba7784909ee09da1980b9fe450.tar.gz vdr-plugin-smarttvweb-aa83ca05d35edbba7784909ee09da1980b9fe450.tar.bz2 |
OsdStatusMessage added.
Diffstat (limited to 'httpclient.c')
-rw-r--r-- | httpclient.c | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/httpclient.c b/httpclient.c index f1dd793..a3fb192 100644 --- a/httpclient.c +++ b/httpclient.c @@ -389,3 +389,19 @@ cHttpInfoClient::~cHttpInfoClient() { string cHttpInfoClient::getMsgBody(int) { return "{\"type\":\"INFO\",payload:" + mBody +"}";; } + + +//-------------------------------- +//----- cHttpMesgPushClient ------ +//-------------------------------- +cHttpMesgPushClient::cHttpMesgPushClient(int f, int id, int port, SmartTvServer* fac, string peer, string mesg) : cHttpClientBase(f, id, port, fac, peer), mMesg(mesg) { + + createRequestMessage(""); +} + +cHttpMesgPushClient::~cHttpMesgPushClient() { +} + +string cHttpMesgPushClient::getMsgBody(int) { + return "{\"type\":\"MESG\",payload:" + mMesg +"}";; +} |