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

Method read

Plugins/Telnet/QTelnet.cpp:115–125  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

113}
114
115qint64 QTelnet::read(char *data, qint64 maxlen)
116{
117 if(!isConnected())
118 return 0;
119 if(m_socketType == TCP)
120 return m_tcpSocket.read(data, maxlen);
121 else if(m_socketType == WEBSOCKET || m_socketType == SECUREWEBSOCKET) {
122 return 0;
123 }
124 return 0;
125}
126
127bool QTelnet::testBinaryMode() const
128{

Callers 5

readDataMethod · 0.80
OnLayerReadMethod · 0.80
OnLayerReadMethod · 0.80
OnInitMethod · 0.80
fillBufferMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected