src/main/java/com/github/mikesafonov/smpp/core/sender/StandardSenderClient.java
private SubmitSmResp send(SubmitSm sm){

        checkSession();

        try {
            return session.submit(sm, timeoutMillis);
        } catch (SmppInvalidArgumentException ex) {
            log.error(ex.getMessage(), ex);
            throw new SmppException(INVALID_PARAM, "Invalid param");
        } catch (Exception ex) {
            log.error(ex.getMessage(), ex);
            throw new SmppException(INVALID_SENDING_ERROR, "Cant send message");
        }
    }
/**
     * Sending {@link SubmitSm} command via smpp. First of all checking session state, if session is
     * connected then perform SubmitSm request.
     *
     * @param sm request
     * @return request response
     * @throws SmppException if some exception occurs
     * @see #checkSession()
     */
Sending  SubmitSm command via smpp. First of all checking session state, if session is
connected then perform SubmitSm request.

@param sm request
@return request response
@throws SmppException if some exception occurs
@see #checkSession()
Sending SubmitSm command via smpp . First of all checking session state if session is connected then perform SubmitSm request . @param sm request @return request response @throws SmppException if some exception occurs @see #checkSession ()
private SubmitSmResp send(SubmitSm sm){
        checkSession();
        try {
            return session.submit(sm, timeoutMillis);
        } catch (SmppInvalidArgumentException ex) {
            log.error(ex.getMessage(), ex);
            throw new SmppException(INVALID_PARAM, "Invalid param");
        } catch (Exception ex) {
            log.error(ex.getMessage(), ex);
            throw new SmppException(INVALID_SENDING_ERROR, "Cant send message");
        }
    }
private SubmitSmResp send ( SubmitSm sm ) { checkSession ( ) ; try { return session . submit ( sm , timeoutMillis ) ; } catch ( SmppInvalidArgumentException ex ) { log . error ( ex . getMessage ( ) , ex ) ; throw new SmppException ( INVALID_PARAM , "Invalid param" ) ; } catch ( Exception ex ) { log . error ( ex . getMessage ( ) , ex ) ; throw new SmppException ( INVALID_SENDING_ERROR , "Cant send message" ) ; } }
Sending {@link SubmitSm} command via smpp.
Sending { @link SubmitSm } command via smpp .