|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.restlet.ext.sip.Availability
public class Availability
Provides availability details on a SIP agent. Used by the SIP "Retry-After" header.
| Constructor Summary | |
|---|---|
Availability(int delay)
Constructor. |
|
Availability(int delay,
int duration)
Constructor. |
|
Availability(int delay,
int duration,
String comment)
Constructor. |
|
| Method Summary | |
|---|---|
String |
getComment()
Returns additional information about the time of callback. |
int |
getDelay()
Returns the time the service is expected to be unavailable. |
int |
getDuration()
Returns the time the service will be available. |
Series<Parameter> |
getParameters()
Returns the list of other parameters. |
void |
setComment(String comment)
Sets additional information about the time of callback. |
void |
setDelay(int delay)
Sets the time the service is expected to be unavailable. |
void |
setDuration(int duration)
Sets the time the service will be available. |
void |
setParameters(Series<Parameter> parameters)
Sets the list of other parameters. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Availability(int delay)
delay - The time the service is expected to be unavailable.
public Availability(int delay,
int duration)
delay - The time the service is expected to be unavailable.duration - The time the service will be available.
public Availability(int delay,
int duration,
String comment)
delay - The time the service is expected to be unavailable.duration - The time the service will be available.comment - Additional information about the time of callback.| Method Detail |
|---|
public String getComment()
public int getDelay()
public int getDuration()
public Series<Parameter> getParameters()
public void setComment(String comment)
comment - Additional information about the time of callback.public void setDelay(int delay)
delay - The time the service is expected to be unavailable.public void setDuration(int duration)
duration - The time the service will be available.public void setParameters(Series<Parameter> parameters)
parameters - The list of other parameters.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||