I’m trying to get to know MINA at the moment.
I’m writing a simple SMTP client, and following examples I’ve
created some message classes and implement state machine inside the protocol
handler class. How and where should I implement sessions management logic, e.g.
the code that will get new messages from queue and look if open connection is
exists already to corresponding mail server and so on?