org.restlet.ext.sip
Class EventType

java.lang.Object
  extended by org.restlet.ext.sip.EventType

public class EventType
extends Object

Described an event type. Used by the SIP "Event" and "Allow-Events" headers.

Author:
Thierry Boileau

Constructor Summary
EventType(String _package)
          Constructor.
 
Method Summary
 List<String> getEventTemplates()
          Returns the list of event templates.
 String getPackage()
          Returns the package name.
 void setEventTemplates(List<String> eventTemplates)
          Sets the list of event templates.
 void setPackage(String _package)
          Sets the package name.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EventType

public EventType(String _package)
Constructor.

Parameters:
_package - The package name.
Method Detail

getEventTemplates

public List<String> getEventTemplates()
Returns the list of event templates.

Returns:
The list of event templates.

getPackage

public String getPackage()
Returns the package name.

Returns:
The package name.

setEventTemplates

public void setEventTemplates(List<String> eventTemplates)
Sets the list of event templates.

Parameters:
eventTemplates - The list of event templates.

setPackage

public void setPackage(String _package)
Sets the package name.

Parameters:
_package - The package name.


Copyright © 2005-2013 Restlet.