Class SipSubscribe
java.lang.Object
io.github.lunasaw.sip.common.transmit.event.SipSubscribe
- Author:
- lin
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic void
addErrorSubscribe
(String key, Event event) static void
addOkSubscribe
(String key, Event event) void
execute()
static Event
getErrorSubscribe
(String key) static int
static Event
getOkSubscribe
(String key) static int
static void
publishAckEvent
(javax.sip.RequestEvent evt) static void
publishOkEvent
(javax.sip.ResponseEvent evt) static void
static void
removeOkSubscribe
(String key)
-
Constructor Details
-
SipSubscribe
public SipSubscribe()
-
-
Method Details
-
addErrorSubscribe
-
addOkSubscribe
-
getErrorSubscribe
-
removeErrorSubscribe
-
getOkSubscribe
-
removeOkSubscribe
-
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()
-