C# 클래스 SIP_Agent.Model.Call

상속: Crud, ICrud
파일 보기 프로젝트 열기: anroots/SIP-Agent

공개 프로퍼티들

프로퍼티 타입 설명
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