Subversion Repositories HomeAutomation

Rev

Rev 2107 | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | SVN | RSS feed

Rev 2107 Rev 2109
Line 68... Line 68...
68
  Plugin::InitializeDone();
68
  Plugin::InitializeDone();
69
}
69
}
70
 
70
 
71
void JsPipe::CallResult(unsigned int request_id, std::string output)
71
void JsPipe::CallResult(unsigned int request_id, std::string output)
72
{
72
{
-
 
73
  output += "\n";
-
 
74
 
73
  net::Manager::Instance()->SendTo(request_id, common::Byteset(output.begin(), output.end()));
75
  net::Manager::Instance()->SendTo(request_id, common::Byteset(output.begin(), output.end()));
74
}
76
}
75
 
77
 
76
void JsPipe::SlotOnNewData(net::SocketId id, common::Byteset data)
78
void JsPipe::SlotOnNewData(net::SocketId id, common::Byteset data)
77
{
79
{