C# Класс SIP_Agent.Model.Call

Наследование: Crud, ICrud
Показать файл Открыть проект

Открытые свойства

Свойство Тип Описание
Caller Person

Private Properties

Свойство Тип Описание

Открытые методы

Метод Описание
AssociatedTasks ( ) : int[]

Get an array of all task IDs associated with the call

BindTask ( string TaskId ) : bool

Wrapper for BindTask(int TaskId)

CalcDuration ( System.DateTime start, System.DateTime end ) : string

Wrapper for CalcDuration(DateTime start, DateTime end)

Call ( int callId ) : System

Create and load the model

FindAll ( int Limit ) : IQueryable

Find all non-deleted rows

GetCalls ( int CallIds ) : call[]

Returns calls matching give ID's

Load ( int CallId ) : bool

Load the model with data (row from the DB)

New ( ) : int

Creates a new row in the database

getCallLink ( int callId ) : string

Get URL for the call .mp3 located in the calls server

playback ( int callId ) : bool

Open the call sound file in an external (system default) sound player. The file itself is streamed from a remote location

Описание методов

AssociatedTasks() публичный Метод

Get an array of all task IDs associated with the call
public AssociatedTasks ( ) : int[]
Результат int[]

BindTask() публичный Метод

Wrapper for BindTask(int TaskId)
public BindTask ( string TaskId ) : bool
TaskId string
Результат bool

CalcDuration() публичный статический Метод

Wrapper for CalcDuration(DateTime start, DateTime end)
public static CalcDuration ( System.DateTime start, System.DateTime end ) : string
start System.DateTime
end System.DateTime
Результат string

Call() публичный Метод

Create and load the model
public Call ( int callId ) : System
callId int
Результат System

FindAll() публичный Метод

Find all non-deleted rows
public FindAll ( int Limit ) : IQueryable
Limit int Max number of rows to return
Результат IQueryable

GetCalls() публичный Метод

Returns calls matching give ID's
public GetCalls ( int CallIds ) : call[]
CallIds int An int array of call ID's
Результат call[]

Load() публичный Метод

Load the model with data (row from the DB)
public Load ( int CallId ) : bool
CallId int
Результат bool

New() публичный Метод

Creates a new row in the database
public New ( ) : int
Результат int

getCallLink() публичный статический Метод

Get URL for the call .mp3 located in the calls server
public static getCallLink ( int callId ) : string
callId int The ID of the call
Результат string

playback() публичный статический Метод

Open the call sound file in an external (system default) sound player. The file itself is streamed from a remote location
public static playback ( int callId ) : bool
callId int The ID of the call to play
Результат bool

Описание свойств

Caller публичное свойство

public Person,SIP_Agent.Model Caller
Результат Person