Asterisk-Java

org.asteriskjava.live
Class DialedChannelHistoryEntry

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

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

An entry in the dialed channels history of an AsteriskChannel.

Since:
0.3
Version:
$Id: DialedChannelHistoryEntry.java 453 2006-06-25 09:07:23Z srt $
Author:
srt
See Also:
Serialized Form

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-2007 Stefan Reuter. All Rights Reserved.