com.sipresponse.flibblecallmgr
Class CallData

java.lang.Object
  extended by com.sipresponse.flibblecallmgr.CallData

public class CallData
extends java.lang.Object

Contains information related to a single call.

Author:
Michael Cohen

Constructor Summary
CallData(Call call)
          Constructor (INTERNAL USE ONLY)
 
Method Summary
 java.lang.String getCallHandle()
          Gets an opaque string handle for the call.
 Event getCallStatus()
          Gets the last known status of the call, in the form of an Event object.
 java.lang.String getLineHandle()
          Returns an opaque string handle for this call's line.
 javax.sip.address.Address getRemoteAddress()
          Returns the sip address of the remote endpoint.
 java.lang.String getRemoteName()
          Returns the display name of the remote endpoint.
 java.lang.String getRemoteNumber()
          Returns the user portion of the sip address of the remote endpoint.
 java.util.Date getStartTime()
           
 int getVolume()
           
 boolean isFromThisSide()
          Returns true if the call originated locally, otherwise returns false.
 void setStartTime(java.util.Date startTime)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CallData

public CallData(Call call)
Constructor (INTERNAL USE ONLY)

Parameters:
The - Call object that this data pertains to.
Method Detail

getCallHandle

public java.lang.String getCallHandle()
Gets an opaque string handle for the call.

Returns:
the call handle

getCallStatus

public Event getCallStatus()
Gets the last known status of the call, in the form of an Event object.

Returns:
The last event object associated with this call.

isFromThisSide

public boolean isFromThisSide()
Returns true if the call originated locally, otherwise returns false.

Returns:
Local origination indicator.

getLineHandle

public java.lang.String getLineHandle()
Returns an opaque string handle for this call's line.

Returns:
the line handle

getRemoteNumber

public java.lang.String getRemoteNumber()
Returns the user portion of the sip address of the remote endpoint.

Returns:
The user portion of the sip address of the remote endopoint.

getRemoteName

public java.lang.String getRemoteName()
Returns the display name of the remote endpoint.

Returns:
The display name of the remote endopoint.

getRemoteAddress

public javax.sip.address.Address getRemoteAddress()
Returns the sip address of the remote endpoint.

Returns:
The sip address of the remote endopoint.

getStartTime

public java.util.Date getStartTime()

setStartTime

public void setStartTime(java.util.Date startTime)

getVolume

public int getVolume()