public class Subscriber extends Object
| Constructor and Description |
|---|
Subscriber(String event,
Dialog dialog) |
| Modifier and Type | Method and Description |
|---|---|
int |
getExpires() |
String |
getSubscriptionState() |
boolean |
isActive() |
javax.servlet.sip.SipServletResponse |
startSubscription(javax.servlet.sip.Address from,
javax.servlet.sip.Address to,
int expires) |
javax.servlet.sip.SipServletResponse |
stopSubscription() |
javax.servlet.sip.SipServletRequest |
waitForNotify() |
public javax.servlet.sip.SipServletResponse stopSubscription()
throws IOException
IOExceptionpublic javax.servlet.sip.SipServletResponse startSubscription(javax.servlet.sip.Address from,
javax.servlet.sip.Address to,
int expires)
throws IOException,
javax.servlet.ServletException
IOExceptionjavax.servlet.ServletExceptionpublic int getExpires()
public boolean isActive()
public String getSubscriptionState()
public javax.servlet.sip.SipServletRequest waitForNotify()
throws javax.servlet.sip.ServletParseException
javax.servlet.sip.ServletParseExceptionCopyright © 2014. All Rights Reserved.