|
Jitsi: the OpenSource Java VoIP and Instant Messaging client. | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.java.sip.communicator.service.callhistory.CallRecord
public class CallRecord
Structure used for encapsulating data when writing or reading Call History Data. Also these records are used for returning data from the Call History Service.
| Field Summary | |
|---|---|
protected String |
direction
Indicates the direction of the call - IN or OUT. |
protected int |
endReason
This is the end reason of the call if any. |
protected Date |
endTime
The end call date. |
static String |
IN
The incoming call direction. |
static String |
OUT
The outgoing call direction. |
protected List<CallPeerRecord> |
peerRecords
A list of all peer records corresponding to this call record. |
protected ProtocolProviderService |
protocolProvider
The protocol provider through which the call was made. |
protected Date |
startTime
The start call date. |
| Constructor Summary | |
|---|---|
CallRecord()
Creates CallRecord |
|
CallRecord(String direction,
Date startTime,
Date endTime)
Creates Call Record |
|
| Method Summary | |
|---|---|
CallPeerRecord |
findPeerRecord(String address)
Finds a CallPeer with the supplied address |
String |
getDirection()
Returns the direction of the call IN or OUT |
int |
getEndReason()
This is the end reason of the call if any. |
Date |
getEndTime()
Returns the time when the call has finished |
List<CallPeerRecord> |
getPeerRecords()
Return Vector of CallPeerRecords |
ProtocolProviderService |
getProtocolProvider()
Returns the protocol provider used for the call. |
Date |
getStartTime()
The time when the call has began |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final String OUT
public static final String IN
protected String direction
protected final List<CallPeerRecord> peerRecords
protected Date startTime
protected Date endTime
protected ProtocolProviderService protocolProvider
protected int endReason
| Constructor Detail |
|---|
public CallRecord()
public CallRecord(String direction,
Date startTime,
Date endTime)
direction - StringstartTime - DateendTime - Date| Method Detail |
|---|
public CallPeerRecord findPeerRecord(String address)
address - String
public String getDirection()
public Date getEndTime()
public List<CallPeerRecord> getPeerRecords()
public Date getStartTime()
public ProtocolProviderService getProtocolProvider()
public int getEndReason()
|
Jitsi: the OpenSource Java VoIP and Instant Messaging client. | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||