src/main/java/com/github/mikesafonov/smpp/core/ClientFactory.java
public ResponseClient standardResponse(@NotBlank String name, @NotNull SmppProperties.Defaults defaults,
                                           @NotNull SmppProperties.SMSC smsc) {
        validateName(name);
        requireNonNull(defaults);
        requireNonNull(smsc);

        boolean loggingBytes = getOrDefault(smsc.getLoggingBytes(), defaults.isLoggingBytes());
        boolean loggingPdu = getOrDefault(smsc.getLoggingPdu(), defaults.isLoggingPdu());
        long rebindPeriod = getOrDefault(smsc.getRebindPeriod(), defaults.getRebindPeriod()).getSeconds();

        ReceiverConfiguration receiverConfiguration = new ReceiverConfiguration(name, smsc.getCredentials(), loggingBytes, loggingPdu);
        DefaultSmppClient client = new DefaultSmppClient();
        return new StandardResponseClient(receiverConfiguration, client, rebindPeriod, Executors.newSingleThreadScheduledExecutor());
    }
/**
     * Creates {@link StandardResponseClient} with name {@code name}, configured with properties from {@code smsc} or {@code defaults}
     *
     * @param name     name of client
     * @param defaults default smpp properties
     * @param smsc     smpp properties
     * @return standard response client
     */
Creates  StandardResponseClient with name  name, configured with properties from  smsc or  defaults
@param name     name of client
@param defaults default smpp properties
@param smsc     smpp properties
@return standard response client
Creates StandardResponseClient with name name configured with properties from smsc or defaults @param name name of client @param defaults default smpp properties @param smsc smpp properties @return standard response client
public ResponseClient standardResponse(@NotBlank String name, @NotNull SmppProperties.Defaults defaults,
                                           @NotNull SmppProperties.SMSC smsc) {
        validateName(name);
        requireNonNull(defaults);
        requireNonNull(smsc);
        boolean loggingBytes = getOrDefault(smsc.getLoggingBytes(), defaults.isLoggingBytes());
        boolean loggingPdu = getOrDefault(smsc.getLoggingPdu(), defaults.isLoggingPdu());
        long rebindPeriod = getOrDefault(smsc.getRebindPeriod(), defaults.getRebindPeriod()).getSeconds();
        ReceiverConfiguration receiverConfiguration = new ReceiverConfiguration(name, smsc.getCredentials(), loggingBytes, loggingPdu);
        DefaultSmppClient client = new DefaultSmppClient();
        return new StandardResponseClient(receiverConfiguration, client, rebindPeriod, Executors.newSingleThreadScheduledExecutor());
    }
public ResponseClient standardResponse ( @ NotBlank String name , @ NotNull SmppProperties . Defaults defaults , @ NotNull SmppProperties . SMSC smsc ) { validateName ( name ) ; requireNonNull ( defaults ) ; requireNonNull ( smsc ) ; boolean loggingBytes = getOrDefault ( smsc . getLoggingBytes ( ) , defaults . isLoggingBytes ( ) ) ; boolean loggingPdu = getOrDefault ( smsc . getLoggingPdu ( ) , defaults . isLoggingPdu ( ) ) ; long rebindPeriod = getOrDefault ( smsc . getRebindPeriod ( ) , defaults . getRebindPeriod ( ) ) . getSeconds ( ) ; ReceiverConfiguration receiverConfiguration = new ReceiverConfiguration ( name , smsc . getCredentials ( ) , loggingBytes , loggingPdu ) ; DefaultSmppClient client = new DefaultSmppClient ( ) ; return new StandardResponseClient ( receiverConfiguration , client , rebindPeriod , Executors . newSingleThreadScheduledExecutor ( ) ) ; }
Creates {@link StandardResponseClient} with name {@code name}, configured with properties from {@code smsc} or {@code defaults}
 @param name     name of client
 @param defaults default smpp properties
 @param smsc     smpp properties
 @return standard response client
Creates { @link StandardResponseClient } with name { @code name } configured with properties from { @code smsc } or { @code defaults } @param name name of client @param defaults default smpp properties @param smsc smpp properties @return standard response client