| 1846 | } |
| 1847 | |
| 1848 | TString TUdpHost::GetConnectionsDebug() const { |
| 1849 | TString result; |
| 1850 | result += "Total:\t"; |
| 1851 | result += ToString(Connections.GetSize()); |
| 1852 | result += "\nActive:\t"; |
| 1853 | result += ToString(Connections.GetActiveSize()); |
| 1854 | result += "\nSending:\t"; |
| 1855 | result += ToString(Connections.GetSendingSize()); |
| 1856 | result += "\n"; |
| 1857 | for (TConnections::const_iterator i = Connections.Begin(); i != Connections.End(); ++i) { |
| 1858 | const TConnection* connection = CheckedCast<const TConnection*>(i->second.Get()); |
| 1859 | result += connection->GetDebugInfo(); |
| 1860 | result += "\n"; |
| 1861 | result += GetPendingDataStatsDebug(connection->GetPendingDataSize()); |
| 1862 | result += "\n"; |
| 1863 | } |
| 1864 | return result; |
| 1865 | } |
| 1866 | |
| 1867 | TString TUdpHost::GetPendingDataStatsDebug(const TRequesterPendingDataStats& pds) const { |
| 1868 | char buf[1000]; |
nothing calls this directly
no test coverage detected