Class SipSubscribe

java.lang.Object
io.github.lunasaw.sip.common.transmit.event.SipSubscribe

@Component public class SipSubscribe extends Object
Author:
lin
  • Constructor Details

    • SipSubscribe

      public SipSubscribe()
  • Method Details

    • addErrorSubscribe

      public static void addErrorSubscribe(String key, Event event)
    • addOkSubscribe

      public static void addOkSubscribe(String key, Event event)
    • getErrorSubscribe

      public static Event getErrorSubscribe(String key)
    • removeErrorSubscribe

      public static void removeErrorSubscribe(String key)
    • getOkSubscribe

      public static Event getOkSubscribe(String key)
    • removeOkSubscribe

      public static void removeOkSubscribe(String key)
    • getErrorSubscribesSize

      public static int getErrorSubscribesSize()
    • getOkSubscribesSize

      public static int getOkSubscribesSize()
    • publishOkEvent

      public static void publishOkEvent(javax.sip.ResponseEvent evt)
    • publishAckEvent

      public static void publishAckEvent(javax.sip.RequestEvent evt)
    • execute

      @Scheduled(cron="0 0/5 * * * ?") public void execute()