Asterisk-Java

org.asteriskjava.live
Class ExtensionHistoryEntry

java.lang.Object
  extended by org.asteriskjava.live.ExtensionHistoryEntry
All Implemented Interfaces:
java.io.Serializable

public class ExtensionHistoryEntry
extends java.lang.Object
implements java.io.Serializable

An entry in the extension history of an AsteriskChannel.

Since:
0.3
Version:
$Id: ExtensionHistoryEntry.java 938 2007-12-31 03:23:38Z srt $
Author:
srt
See Also:
Serialized Form

Constructor Summary
ExtensionHistoryEntry(java.util.Date date, Extension extension)
          Creates a new instance.
 
Method Summary
 java.util.Date getDate()
          Returns the date the extension has been visited.
 Extension getExtension()
          Returns the extension that has been visited.
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ExtensionHistoryEntry

public ExtensionHistoryEntry(java.util.Date date,
                             Extension extension)
Creates a new instance.

Parameters:
date - the date the extension has been visited.
extension - the extension that has been visited.
Method Detail

getDate

public java.util.Date getDate()
Returns the date the extension has been visited.

Returns:
the date the extension has been visited.

getExtension

public Extension getExtension()
Returns the extension that has been visited.

Returns:
the extension that has been visited.

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

Asterisk-Java

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