|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.restlet.ext.sip.Event
public class Event
Describes a SIP event. Used by the SIP "Event" header.
Constructor Summary | |
---|---|
Event()
Constructor. |
|
Event(String id)
Constructor. |
|
Event(String id,
EventType type)
Constructor. |
Method Summary | |
---|---|
String |
getId()
Returns the event identifier. |
Series<Parameter> |
getParameters()
Returns the event parameters. |
EventType |
getType()
Returns the type of the event. |
void |
setId(String id)
Sets the event identifier. |
void |
setParameters(Series<Parameter> parameters)
Sets the event parameters. |
void |
setType(EventType type)
Sets the type of the event. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Event()
public Event(String id)
id
- The event identifier.public Event(String id, EventType type)
id
- The event identifier.type
- The type of the event.Method Detail |
---|
public String getId()
public Series<Parameter> getParameters()
public EventType getType()
public void setId(String id)
id
- The event identifier.public void setParameters(Series<Parameter> parameters)
parameters
- The event parameters.public void setType(EventType type)
type
- The type of the event.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |