Open vivekanandasofware opened 7 years ago
Its been 3 months and no one has responded. Can anyone respond please @stickfigure @GoogleCodeExporter @lookfirst Thank you,
There is already a getNumberOfConnections() on ServerThread. https://github.com/voodoodyne/subethasmtp/blob/master/src/main/java/org/subethamail/smtp/server/ServerThread.java#L254
Currently in the SMTPServer there is no way to get the current number of activesessions. If someone like us or any administrator wants to check this attribute there is noway to do it. Probably we can add a new Method in SMTPServer as below getNumberofSessions(){ return this.serverThread.getNumberOfSessions(); }
and in ServerThread we can add getNumberofSessions(){ return sessionThreads.getSize(); } We really require such function. Apache james has such facility but we avoided that for lot of reasons. How can we contribute this code or can someone add this fix.