public class PJSipShowEndpointsAction extends AbstractManagerAction implements EventGeneratingAction
For each peer that is found a PeerEntryEvent is sent by Asterisk containing the details. When all peers have been reported a PeerlistCompleteEvent is sent.
Available since Asterisk 1.2 Permission required: write=system
PeerEntryEvent
,
PeerlistCompleteEvent
,
Serialized FormConstructor and Description |
---|
PJSipShowEndpointsAction()
Creates a new SipPeersAction.
|
Modifier and Type | Method and Description |
---|---|
String |
getAction()
Returns the name of the action for example "Hangup".
|
Class<? extends ResponseEvent> |
getActionCompleteEventClass()
Returns the event type that indicates that Asterisk is finished sending
response events for this action.
|
getActionId, setActionId, toString
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getActionId, setActionId
public PJSipShowEndpointsAction()
public String getAction()
ManagerAction
getAction
in interface ManagerAction
getAction
in class AbstractManagerAction
public Class<? extends ResponseEvent> getActionCompleteEventClass()
EventGeneratingAction
getActionCompleteEventClass
in interface EventGeneratingAction
ResponseEvent
Copyright © 2004–2020. All rights reserved.