Class ClientFactory

    • Constructor Detail

      • ClientFactory

        public ClientFactory()
    • Method Detail

      • mockSender

        public SenderClient mockSender​(@NotBlank
                                       @NotBlank java.lang.String name,
                                       @NotNull
                                       @NotNull SmppResultGenerator smppResultGenerator)
        Creates MockSenderClient with name name and SmppResultGenerator smppResultGenerator
        Parameters:
        name - name of client
        smppResultGenerator - result generator
        Returns:
        mock sender client
      • standardResponse

        public ResponseClient standardResponse​(@NotBlank
                                               @NotBlank java.lang.String name,
                                               @NotNull
                                               @NotNull ConnectionManager connectionManager)
        Creates StandardResponseClient with name name, configured with properties from smsc or defaults
        Parameters:
        name - name of client
        connectionManager - connection manager
        Returns:
        standard response client