From f547b104261cab5394a515c3f2a87396b68a7c11 Mon Sep 17 00:00:00 2001 From: thlo Date: Sat, 11 May 2013 15:45:00 +0200 Subject: OsdStatusMessage added. --- httpclient.c | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) (limited to 'httpclient.c') 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 +"}";; +} -- cgit v1.2.3