C# Class ArgusTV.Recorder.MediaPortalTvServer.RecordingThread

Inheritance: ArgusTV.Common.Recorders.Utility.RecordingThreadBase
Afficher le fichier Open project: ARGUS-TV/ARGUS-TV-Recorders

Méthodes publiques

Méthode 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

Méthodes protégées

Méthode 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

Méthode 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 méthode

protected OnCheckRecordingActive ( ) : bool
Résultat bool

OnError() protected méthode

protected OnError ( ) : void
Résultat void

OnPrepareRecording() protected méthode

protected OnPrepareRecording ( RecorderCallbackServiceAgent callbackAgent, string &errorMessage ) : bool
callbackAgent RecorderCallbackServiceAgent
errorMessage string
Résultat bool

OnStartRecording() protected méthode

protected OnStartRecording ( RecorderCallbackServiceAgent callbackAgent, string &errorMessage ) : string
callbackAgent RecorderCallbackServiceAgent
errorMessage string
Résultat string

OnStopRecording() protected méthode

protected OnStopRecording ( RecorderCallbackServiceAgent callbackAgent, bool abort ) : bool
callbackAgent RecorderCallbackServiceAgent
abort bool
Résultat bool

OnWriteLog() protected méthode

protected OnWriteLog ( TraceEventType severity, string message ) : void
severity TraceEventType
message string
Résultat void

RecordingThread() public méthode

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
Résultat System