net.sf.asterisk.manager
Class Call
java.lang.Object
net.sf.asterisk.manager.Call
public class Call
- extends java.lang.Object
- Author:
- Ben Hencke
Constructor Summary |
Call()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Call
public Call()
getUniqueId
public java.lang.String getUniqueId()
setUniqueId
public void setUniqueId(java.lang.String uniqueId)
getChannel
public Channel getChannel()
setChannel
public void setChannel(Channel channel)
getReason
public java.lang.Integer getReason()
setReason
public void setReason(java.lang.Integer reason)
getStartTime
public java.util.Date getStartTime()
setStartTime
public void setStartTime(java.util.Date startTime)
getEndTime
public java.util.Date getEndTime()
setEndTime
public void setEndTime(java.util.Date endTime)
calcDuration
public long calcDuration()
- Returns:
- The duration of the call in milliseconds. If the call is has not
ended, the duration so far is calculated.
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object
Copyright © 2004-2005 Stefan Reuter. All Rights Reserved.