Asterisk-Java

org.asteriskjava.manager.action
Class PingAction

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

public class PingAction
extends AbstractManagerAction

The PingAction will ellicit a 'Pong' response, it is used to keep the manager connection open and performs no operation.

Version:
$Id: PingAction.java 461 2006-07-06 23:53:52Z srt $
Author:
srt
See Also:
Serialized Form

Constructor Summary
PingAction()
          Creates a new PingAction.
 
Method Summary
 java.lang.String getAction()
          Returns the name of this action, i.e.
 
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
 

Constructor Detail

PingAction

public PingAction()
Creates a new PingAction.

Method Detail

getAction

public java.lang.String getAction()
Returns the name of this action, i.e. "Ping".

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

Asterisk-Java

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