Interface IAnnouncerService


public interface IAnnouncerService
  • Field Details

  • Method Details

    • hasAnnouncerForTransport

      boolean hasAnnouncerForTransport(@NotNull String transport)
      Parameters:
      transport - not null
      Returns:
      true if the transport is supported, false if not
    • sendAnnouncement

      void sendAnnouncement(@NotNull String transport, @NotNull IAnnouncement announcement) throws Exception
      Sends an announcement via the specified transport.
      Parameters:
      transport - transport name (see SMTP_TRANSPORT, not null
      announcement - the announcement to send, not null
      Throws:
      Exception - on failure