Asterisk-Java

org.asteriskjava.live
Class LinkedChannelHistoryEntry

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

public class LinkedChannelHistoryEntry
extends java.lang.Object

An entry in the linked channels history of an AsteriskChannel.

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

Constructor Summary
LinkedChannelHistoryEntry(java.util.Date dateLinked, AsteriskChannel channel)
          Creates a new instance.
 
Method Summary
 AsteriskChannel getChannel()
          Returns the channel that has been linked.
 java.util.Date getDateLinked()
          Returns the date the channel was linked.
 java.util.Date getDateUnlinked()
          Returns the date the channel was unlinked.
 void setDateUnlinked(java.util.Date dateUnlinked)
          Sets the date the channel was unlinked.
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

LinkedChannelHistoryEntry

public LinkedChannelHistoryEntry(java.util.Date dateLinked,
                                 AsteriskChannel channel)
Creates a new instance.

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

getDateLinked

public java.util.Date getDateLinked()
Returns the date the channel was linked.

Returns:
the date the channel was linked.

getDateUnlinked

public java.util.Date getDateUnlinked()
Returns the date the channel was unlinked.

Returns:
the date the channel was unlinked.

setDateUnlinked

public void setDateUnlinked(java.util.Date dateUnlinked)
Sets the date the channel was unlinked.

Parameters:
dateUnlinked - the date the channel was unlinked.

getChannel

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

Returns:
the channel that has been linked.

toString

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

Asterisk-Java

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