Asterisk-Java

org.asteriskjava.live
Class DialedChannelHistoryEntry

java.lang.Object
  extended by org.asteriskjava.live.DialedChannelHistoryEntry

public class DialedChannelHistoryEntry
extends java.lang.Object

An entry in the dialed channels history of an AsteriskChannel.

Since:
0.3
Version:
$Id: DialedChannelHistoryEntry.java 1161 2008-09-18 02:37:49Z sprior $
Author:
srt

Constructor Summary
DialedChannelHistoryEntry(java.util.Date date, AsteriskChannel channel)
          Creates a new instance.
 
Method Summary
 AsteriskChannel getChannel()
          Returns the channel that has been dialed.
 java.util.Date getDate()
          Returns the date the channel was dialed.
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DialedChannelHistoryEntry

public DialedChannelHistoryEntry(java.util.Date date,
                                 AsteriskChannel channel)
Creates a new instance.

Parameters:
date - the date the channel was dialed.
channel - the channel that has been dialed.
Method Detail

getDate

public java.util.Date getDate()
Returns the date the channel was dialed.

Returns:
the date the channel was dialed.

getChannel

public AsteriskChannel getChannel()
Returns the channel that has been dialed.

Returns:
the channel that has been dialed.

toString

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

Asterisk-Java

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