code: private SMPPSession newSession() throws IOException {
      SMPPSession tmpSession = new SMPPSession(remoteIpAddress, remotePort, bindParam);
      tmpSession.addSessionStateListener(new SessionStateListenerImpl());
      return tmpSession;
    }
docs: Create new {@link SMPPSession} complete with the {@link SessionStateListenerImpl}.
  
  @return the {@link SMPPSession}.
  @throws IOException if the creation of new session failed.