MCPcopy Create free account
hub / github.com/KangLin/RabbitRemoteControl / write

Method write

Plugins/Telnet/QTelnet.cpp:93–101  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

91}
92
93void QTelnet::write(const char c)
94{
95 if(!isConnected())
96 return;
97 if(m_socketType == TCP)
98 m_tcpSocket.write( (char*)&c, 1 );
99 else if(m_socketType == WEBSOCKET || m_socketType == SECUREWEBSOCKET)
100 m_webSocket.sendBinaryMessage(QByteArray(&c, 1));
101}
102
103qint64 QTelnet::write(const char *data, qint64 len)
104{

Callers 13

LoadOperateMethod · 0.80
writeDataMethod · 0.80
ImportFileFromJsonMethod · 0.80
OnLayerWriteMethod · 0.80
OnLayerWriteMethod · 0.80
StartMethod · 0.80
StartMethod · 0.80
setfileFunction · 0.80
SaveToCacheMethod · 0.80
eventMethod · 0.80
flushBufferMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected