SIP Communicator: the OpenSource Java VoIP and Instant Messaging client.

net.java.sip.communicator.impl.callhistory
Class CallPeerRecordImpl

java.lang.Object
  extended by net.java.sip.communicator.service.callhistory.CallPeerRecord
      extended by net.java.sip.communicator.impl.callhistory.CallPeerRecordImpl

public class CallPeerRecordImpl
extends CallPeerRecord

Added some setters to CallPeerRecord

Author:
Damian Minkov

Field Summary
 
Fields inherited from class net.java.sip.communicator.service.callhistory.CallPeerRecord
endTime, peerAddress, startTime, state
 
Constructor Summary
CallPeerRecordImpl(String peerAddress, Date startTime, Date endTime)
          Creates CallPeerRecord
 
Method Summary
 void setEndTime(Date endTime)
          Sets the time peer leaves the call
 void setPeerAddress(String peerAddress)
          Sets the particiapnts address
 void setStartTime(Date startTime)
          Sets the time the peer joined the call
 void setState(CallPeerState state)
          Sets the peer state
 
Methods inherited from class net.java.sip.communicator.service.callhistory.CallPeerRecord
getEndTime, getPeerAddress, getStartTime, getState
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CallPeerRecordImpl

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

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

setStartTime

public void setStartTime(Date startTime)
Sets the time the peer joined the call

Parameters:
startTime - Date

setPeerAddress

public void setPeerAddress(String peerAddress)
Sets the particiapnts address

Parameters:
peerAddress - String

setEndTime

public void setEndTime(Date endTime)
Sets the time peer leaves the call

Parameters:
endTime - Date

setState

public void setState(CallPeerState state)
Sets the peer state

Parameters:
state - CallPeerState

SIP Communicator: the OpenSource Java VoIP and Instant Messaging client.

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