public void run() {
try {
BindRequest bindRequest = serverSession.waitForBind(1000);
logger.debug("Accepting bind for session {}", serverSession.getSessionId());
try {
bindRequest.accept("sys", InterfaceVersion.IF_34);
} catch (PDUStringException e) {
logger.error("Invalid system id", e);
bindRequest.reject(SMPPConstant.STAT_ESME_RSYSERR);
}
} catch (IllegalStateException e) {