jain.protocol.ip.mgcp.message.parms
Class RequestedEvent
java.lang.Object
|
+--jain.protocol.ip.mgcp.message.parms.RequestedEvent
- All Implemented Interfaces:
- java.io.Serializable
- public final class RequestedEvent
- extends java.lang.Object
- implements java.io.Serializable
Specifies a Requested Event.
- See Also:
- Serialized Form
Constructor Summary |
RequestedEvent(EventName eventName)
Constructs a new RequestedEvent in which only the event name is specified, with no specified requested actions. |
RequestedEvent(EventName eventName,
RequestedAction[] requestedActions)
Constructs a new RequestedEvent in which the event name is specified, along with a list of requested actions
that correspond to that event. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
RequestedEvent
public RequestedEvent(EventName eventName)
- Constructs a new RequestedEvent in which only the event name is specified, with no specified requested actions.
- Parameters:
eventName
- The name of the event.
RequestedEvent
public RequestedEvent(EventName eventName,
RequestedAction[] requestedActions)
- Constructs a new RequestedEvent in which the event name is specified, along with a list of requested actions
that correspond to that event.
- Parameters:
eventName
- The name of the event.requestedActions
- A list of requested actions that correspond to the named event.
getEventName
public EventName getEventName()
- Gets the name of the event.
- Returns:
- The name of the event.
getRequestedActions
public RequestedAction[] getRequestedActions()
- Gets the list of requested actions.
- Returns:
- The list of requested actions.
toString
public java.lang.String toString()
- Returns a string of the form "<eventName>[(<requestedActions>)]".
- Overrides:
toString
in class java.lang.Object
Copyright © 2000 Sun Microsystems, Inc.