public class RegistrationTask extends Object implements Registration.Listener, Runnable
| Constructor and Description |
|---|
RegistrationTask(Registration registration,
javax.servlet.sip.Address contact) |
| Modifier and Type | Method and Description |
|---|---|
Registration |
getRegistration() |
void |
onRegistered(javax.servlet.sip.Address contact,
int expires,
List<javax.servlet.sip.Address> contacts) |
void |
onRegistrationFailed(int status) |
void |
onUnregistered(javax.servlet.sip.Address contact) |
void |
run() |
void |
setListener(Registration.Listener listener) |
public RegistrationTask(Registration registration, javax.servlet.sip.Address contact)
public void setListener(Registration.Listener listener)
public Registration getRegistration()
public void onRegistered(javax.servlet.sip.Address contact,
int expires,
List<javax.servlet.sip.Address> contacts)
onRegistered in interface Registration.Listenerpublic void onUnregistered(javax.servlet.sip.Address contact)
onUnregistered in interface Registration.Listenerpublic void onRegistrationFailed(int status)
onRegistrationFailed in interface Registration.ListenerCopyright © 2014. All Rights Reserved.