Jitsi: the OpenSource Java VoIP and Instant Messaging client.

net.java.sip.communicator.service.callhistory
Class CallPeerRecord

java.lang.Object
  extended by net.java.sip.communicator.service.callhistory.CallPeerRecord
Direct Known Subclasses:
CallPeerRecordImpl

public class CallPeerRecord
extends Object

Structure used for encapsulating data when writing or reading Call History Data. Also These records are uesd for returning data from the Call History Service

Author:
Damian Minkov

Field Summary
protected  String displayName
          The display name.
protected  Date endTime
          The end time of the record.
protected  String peerAddress
          The peer address.
protected  Date startTime
          The start time of the record.
protected  CallPeerState state
          The state of CallPeer.
 
Constructor Summary
CallPeerRecord(String peerAddress, Date startTime, Date endTime)
          Creates CallPeerRecord
 
Method Summary
 String getDisplayName()
          Returns the display name of the call peer in this record.
 Date getEndTime()
          When peer diconnected from the call
 String getPeerAddress()
          The peer address
 Date getStartTime()
          When peer connected to the call
 CallPeerState getState()
          Returns the actual state of the peer
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

peerAddress

protected String peerAddress
The peer address.


displayName

protected String displayName
The display name.


startTime

protected Date startTime
The start time of the record.


endTime

protected Date endTime
The end time of the record.


state

protected CallPeerState state
The state of CallPeer.

Constructor Detail

CallPeerRecord

public CallPeerRecord(String peerAddress,
                      Date startTime,
                      Date endTime)
Creates CallPeerRecord

Parameters:
peerAddress - String
startTime - Date
endTime - Date
Method Detail

getEndTime

public Date getEndTime()
When peer diconnected from the call

Returns:
Date

getPeerAddress

public String getPeerAddress()
The peer address

Returns:
String

getDisplayName

public String getDisplayName()
Returns the display name of the call peer in this record.

Returns:
the call peer display name

getStartTime

public Date getStartTime()
When peer connected to the call

Returns:
Date

getState

public CallPeerState getState()
Returns the actual state of the peer

Returns:
CallPeerState

Jitsi: the OpenSource Java VoIP and Instant Messaging client.

Jitsi, the OpenSource Java VoIP and Instant Messaging client.
Distributable under LGPL license.