public class CallRecordImpl extends CallRecord
direction, endReason, endTime, IN, OUT, peerRecords, protocolProvider, startTime
Constructor and Description |
---|
CallRecordImpl()
Creates CallRecord
|
CallRecordImpl(java.lang.String direction,
java.util.Date startTime,
java.util.Date endTime)
Creates Call Record
|
Modifier and Type | Method and Description |
---|---|
Call |
getSourceCall()
The Call source of this record
|
void |
setDirection(java.lang.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(java.util.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(java.util.Date startTime)
Sets the time when the call begins
|
findPeerRecord, getDirection, getEndReason, getEndTime, getPeerRecords, getProtocolProvider, getStartTime
public CallRecordImpl()
public CallRecordImpl(java.lang.String direction, java.util.Date startTime, java.util.Date endTime)
direction
- StringstartTime
- DateendTime
- Datepublic Call getSourceCall()
public void setEndTime(java.util.Date endTime)
endTime
- Datepublic void setStartTime(java.util.Date startTime)
startTime
- Datepublic void setSourceCall(Call sourceCall)
sourceCall
- Callpublic void setDirection(java.lang.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.
Distributable under Apache license.