mirror of https://github.com/sipwise/jitsi.git
Renames CallParticipant to CallPeer so that it would better reflect our new Call architecture that also includes conferencing and ConferenceMembers
parent
15b312cf97
commit
1bcc36b449
@ -1,73 +0,0 @@
|
||||
package net.java.sip.communicator.service.callhistory;
|
||||
|
||||
import java.util.*;
|
||||
|
||||
import net.java.sip.communicator.service.protocol.*;
|
||||
|
||||
/**
|
||||
* 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
|
||||
*/
|
||||
public class CallParticipantRecord
|
||||
{
|
||||
protected String participantAddress = null;
|
||||
protected Date startTime = null;
|
||||
protected Date endTime = null;
|
||||
protected CallPeerState state = CallPeerState.UNKNOWN;
|
||||
|
||||
/**
|
||||
* Creates CallParticipantRecord
|
||||
* @param participantAddress String
|
||||
* @param startTime Date
|
||||
* @param endTime Date
|
||||
*/
|
||||
public CallParticipantRecord(
|
||||
String participantAddress,
|
||||
Date startTime,
|
||||
Date endTime)
|
||||
{
|
||||
this.participantAddress = participantAddress;
|
||||
this.startTime = startTime;
|
||||
this.endTime = endTime;
|
||||
}
|
||||
|
||||
/**
|
||||
* When participant diconnected from the call
|
||||
*
|
||||
* @return Date
|
||||
*/
|
||||
public Date getEndTime()
|
||||
{
|
||||
return endTime;
|
||||
}
|
||||
|
||||
/**
|
||||
* The participant address
|
||||
* @return String
|
||||
*/
|
||||
public String getParticipantAddress()
|
||||
{
|
||||
return participantAddress;
|
||||
}
|
||||
|
||||
/**
|
||||
* When participant connected to the call
|
||||
* @return Date
|
||||
*/
|
||||
public Date getStartTime()
|
||||
{
|
||||
return startTime;
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns the actual state of the participant
|
||||
* @return CallParticipantState
|
||||
*/
|
||||
public CallPeerState getState()
|
||||
{
|
||||
return state;
|
||||
}
|
||||
}
|
||||
Loading…
Reference in new issue