C# Class ArgusTV.Recorder.MediaPortalTvServer.RecordingThread

Inheritance: ArgusTV.Common.Recorders.Utility.RecordingThreadBase
Exibir arquivo Open project: ARGUS-TV/ARGUS-TV-Recorders

Public Methods

Method Description
RecordingThread ( System.Guid recorderTunerId, string serverHostName, int tcpPort, ArgusTV.DataContracts.CardChannelAllocation channelAllocation, System.DateTime startTimeUtc, System.DateTime stopTimeUtc, ArgusTV.DataContracts.UpcomingProgram recordingProgram, string suggestedBaseFileName, TvDatabase recordOnCard, TvDatabase channel ) : System

Protected Methods

Method Description
OnCheckRecordingActive ( ) : bool
OnError ( ) : void
OnPrepareRecording ( RecorderCallbackServiceAgent callbackAgent, string &errorMessage ) : bool
OnStartRecording ( RecorderCallbackServiceAgent callbackAgent, string &errorMessage ) : string
OnStopRecording ( RecorderCallbackServiceAgent callbackAgent, bool abort ) : bool
OnWriteLog ( TraceEventType severity, string message ) : void

Private Methods

Method Description
DeleteAllMediaPortalSchedules ( ) : void
EnsureCardFree ( bool allowOtherArgusUser, string &errorMessage, bool &argusIsRecordingOnCard ) : bool
StopMediaPortalRecording ( IUser tve3User ) : bool
WaitCardFree ( bool argusIsRecordingOnCard, string &errorMessage ) : bool

Method Details

OnCheckRecordingActive() protected method

protected OnCheckRecordingActive ( ) : bool
return bool

OnError() protected method

protected OnError ( ) : void
return void

OnPrepareRecording() protected method

protected OnPrepareRecording ( RecorderCallbackServiceAgent callbackAgent, string &errorMessage ) : bool
callbackAgent RecorderCallbackServiceAgent
errorMessage string
return bool

OnStartRecording() protected method

protected OnStartRecording ( RecorderCallbackServiceAgent callbackAgent, string &errorMessage ) : string
callbackAgent RecorderCallbackServiceAgent
errorMessage string
return string

OnStopRecording() protected method

protected OnStopRecording ( RecorderCallbackServiceAgent callbackAgent, bool abort ) : bool
callbackAgent RecorderCallbackServiceAgent
abort bool
return bool

OnWriteLog() protected method

protected OnWriteLog ( TraceEventType severity, string message ) : void
severity TraceEventType
message string
return void

RecordingThread() public method

public RecordingThread ( System.Guid recorderTunerId, string serverHostName, int tcpPort, ArgusTV.DataContracts.CardChannelAllocation channelAllocation, System.DateTime startTimeUtc, System.DateTime stopTimeUtc, ArgusTV.DataContracts.UpcomingProgram recordingProgram, string suggestedBaseFileName, TvDatabase recordOnCard, TvDatabase channel ) : System
recorderTunerId System.Guid
serverHostName string
tcpPort int
channelAllocation ArgusTV.DataContracts.CardChannelAllocation
startTimeUtc System.DateTime
stopTimeUtc System.DateTime
recordingProgram ArgusTV.DataContracts.UpcomingProgram
suggestedBaseFileName string
recordOnCard TvDatabase
channel TvDatabase
return System