namespace AsterNET.Manager.Event
{
///
/// An AgentConnectEvent is triggered when a caller is connected to an agent.
///
public class AgentConnectEvent : AbstractAgentEvent
{
private string bridgedChannel;
private long holdTime;
private long ringTime;
///
/// Get/Set the amount of time the caller was on hold.
///
public long HoldTime
{
get { return holdTime; }
set { this.holdTime = value; }
}
///
/// Get/Set bridged channel.
///
public string BridgedChannel
{
get { return this.bridgedChannel; }
set { this.bridgedChannel = value; }
}
///
/// Get/Set the amount of time the caller was on ring.
///
public long RingTime
{
get { return ringTime; }
set { this.ringTime = value; }
}
public AgentConnectEvent(ManagerConnection source)
: base(source)
{
}
}
}