Asterisk-Java

org.asteriskjava.manager.action
Class SipShowRegistryAction

java.lang.Object
  extended by org.asteriskjava.manager.action.AbstractManagerAction
      extended by org.asteriskjava.manager.action.SipShowRegistryAction
All Implemented Interfaces:
java.io.Serializable, EventGeneratingAction, ManagerAction

public class SipShowRegistryAction
extends AbstractManagerAction
implements EventGeneratingAction

Retrieves a list with the details about the SIP registrations.

For each registration that is found a RegistryEntryEvent is sent by Asterisk containing the details. When all the registrations have been reported a RegistrationsCompleteEvent is sent.

Available since Asterisk 1.6

Since:
1.0.0
Version:
$Id: SipShowRegistryAction.java 1163 2008-09-18 02:39:52Z sprior $
Author:
Laureano
See Also:
RegistrationsCompleteEvent, RegistryEntryEvent, Serialized Form

Constructor Summary
SipShowRegistryAction()
          Creates a new SipShowRegistryAction.
 
Method Summary
 java.lang.String getAction()
          Returns the name of the action for example "Hangup".
 java.lang.Class<? extends ResponseEvent> getActionCompleteEventClass()
          Returns the event type that indicates that Asterisk is finished sending response events for this action.
 
Methods inherited from class org.asteriskjava.manager.action.AbstractManagerAction
getActionId, setActionId, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.asteriskjava.manager.action.ManagerAction
getActionId, setActionId
 

Constructor Detail

SipShowRegistryAction

public SipShowRegistryAction()
Creates a new SipShowRegistryAction.

Method Detail

getAction

public java.lang.String getAction()
Description copied from interface: ManagerAction
Returns the name of the action for example "Hangup".

Specified by:
getAction in interface ManagerAction
Specified by:
getAction in class AbstractManagerAction

getActionCompleteEventClass

public java.lang.Class<? extends ResponseEvent> getActionCompleteEventClass()
Description copied from interface: EventGeneratingAction
Returns the event type that indicates that Asterisk is finished sending response events for this action.

Specified by:
getActionCompleteEventClass in interface EventGeneratingAction
Returns:
a Class that is an instance of ResponseEvent.
See Also:
ResponseEvent

Asterisk-Java

Copyright © 2004-2009 Stefan Reuter. All Rights Reserved.