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.
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.