MCPcopy Create free account
hub / github.com/dannagle/PacketSender / SSLServerStatus

Method SSLServerStatus

src/mainwindow.cpp:848–866  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

846}
847
848void MainWindow::SSLServerStatus()
849{
850 if (packetNetwork.SSLListening()) {
851 QString ports = packetNetwork.getSSLPortString();
852 int portcount = packetNetwork.getSSLPortsBound().size();
853 sslServerStatus->setToolTip(ports);
854 if(portcount > 3) {
855 sslServerStatus->setText("SSL: " + QString::number(portcount) + tr(" Ports"));
856 } else {
857 sslServerStatus->setText("SSL:" + ports);
858 }
859
860 } else {
861 sslServerStatus->setText(tr("SSL Server Disabled"));
862
863 }
864
865
866}
867
868
869void MainWindow::TCPServerStatus()

Callers

nothing calls this directly

Calls 5

SSLListeningMethod · 0.80
getSSLPortStringMethod · 0.80
sizeMethod · 0.80
getSSLPortsBoundMethod · 0.80
setTextMethod · 0.80

Tested by

no test coverage detected