|
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
net.java.sip.communicator.impl.callhistory.CallRecordImpl
public class CallRecordImpl
Add Source call to the CallRecord
| Field Summary |
|---|
| Fields inherited from class net.java.sip.communicator.service.callhistory.CallRecord |
|---|
direction, endReason, endTime, IN, OUT, peerRecords, protocolProvider, startTime |
| Constructor Summary | |
|---|---|
CallRecordImpl()
Creates CallRecord |
|
CallRecordImpl(String direction,
Date startTime,
Date endTime)
Creates Call Record |
|
| Method Summary | |
|---|---|
Call |
getSourceCall()
The Call source of this record |
void |
setDirection(String direction)
Sets the direction of the call IN or OUT |
void |
setEndReason(int endReason)
This is the end reason of the call if any. |
void |
setEndTime(Date endTime)
Set the time when the call finishes If some peer has no end Time set we set it also |
void |
setProtocolProvider(ProtocolProviderService pps)
Sets the given ProtocolProviderService used for the call. |
void |
setSourceCall(Call sourceCall)
The source call which this record servers |
void |
setStartTime(Date startTime)
Sets the time when the call begins |
| Methods inherited from class net.java.sip.communicator.service.callhistory.CallRecord |
|---|
findPeerRecord, getDirection, getEndReason, getEndTime, getPeerRecords, getProtocolProvider, getStartTime |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public CallRecordImpl()
public CallRecordImpl(String direction,
Date startTime,
Date endTime)
direction - StringstartTime - DateendTime - Date| Method Detail |
|---|
public Call getSourceCall()
public void setEndTime(Date endTime)
endTime - Datepublic void setStartTime(Date startTime)
startTime - Datepublic void setSourceCall(Call sourceCall)
sourceCall - Callpublic void setDirection(String direction)
direction - Stringpublic void setProtocolProvider(ProtocolProviderService pps)
pps - the ProtocolProviderService to setpublic void setEndReason(int endReason)
endReason - the reason code.
|
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 | |||||||||