@Override
        public boolean validateObject( PooledObject<SMPPSession> pooledObject )
        {
            final SMPPSession session = pooledObject.getObject();
            final boolean isValid = session.getSessionState().isTransmittable(); // updated by the SMPPSession internal enquireLink timer.
            Log.debug( "Ran a check to see if session with ID '{}' is valid. Outcome: {}", session.getSessionId(), isValid );
            return isValid;
        }
A factory of SMPPSession instances that are used in an object pool.

@author Guus der Kinderen, guus.der.kinderen@gmail.com
xmppserver/src/main/java/org/jivesoftware/util/SmsService.java