C# 클래스 ArgusTV.Recorders.Common.RecordingThreadBase

상속: WorkerThread
파일 보기 프로젝트 열기: ARGUS-TV/ARGUS-TV-Recorders

공개 메소드들

메소드 설명
RecordingThreadBase ( System.Guid recorderTunerId, string serverHostName, int serverTcpPort, ArgusTV.DataContracts.CardChannelAllocation channelAllocation, System.DateTime startTimeUtc, System.DateTime stopTimeUtc, ArgusTV.DataContracts.UpcomingProgram recordingProgram, bool okToRenameRecordedFiles ) : System

보호된 메소드들

메소드 설명
OnCheckFileSize ( ) : bool
OnCheckRecordingActive ( ) : bool
OnError ( ) : void
OnPrepareRecording ( RecorderCallbackServiceAgent callbackAgent, string &errorMessage ) : bool
OnStartRecording ( RecorderCallbackServiceAgent callbackAgent, string &errorMessage ) : string
OnStopRecording ( RecorderCallbackServiceAgent callbackAgent, bool abort ) : bool
OnThreadEnding ( ) : void
OnWriteLog ( TraceEventType severity, string message ) : void
Run ( ) : void
WriteLog ( TraceEventType severity, string message ) : void
WriteLog ( string message ) : void

비공개 메소드들

메소드 설명
CallAddNewRecording ( RecorderCallbackServiceAgent callbackAgent, System.DateTime actualStartTimeUtc ) : void
CallEndRecording ( RecorderCallbackServiceAgent callbackAgent, System.DateTime actualStartTimeUtc, System.DateTime actualStopTimeUtc ) : void
CallStartRecordingFailed ( RecorderCallbackServiceAgent callbackAgent, string reason ) : void
SetThreadExecutionState ( EXECUTION_STATE state ) : EXECUTION_STATE

메소드 상세

OnCheckFileSize() 보호된 메소드

protected OnCheckFileSize ( ) : bool
리턴 bool

OnCheckRecordingActive() 보호된 메소드

protected OnCheckRecordingActive ( ) : bool
리턴 bool

OnError() 보호된 추상적인 메소드

protected abstract OnError ( ) : void
리턴 void

OnPrepareRecording() 보호된 추상적인 메소드

protected abstract OnPrepareRecording ( RecorderCallbackServiceAgent callbackAgent, string &errorMessage ) : bool
callbackAgent RecorderCallbackServiceAgent
errorMessage string
리턴 bool

OnStartRecording() 보호된 추상적인 메소드

protected abstract OnStartRecording ( RecorderCallbackServiceAgent callbackAgent, string &errorMessage ) : string
callbackAgent RecorderCallbackServiceAgent
errorMessage string
리턴 string

OnStopRecording() 보호된 추상적인 메소드

protected abstract OnStopRecording ( RecorderCallbackServiceAgent callbackAgent, bool abort ) : bool
callbackAgent RecorderCallbackServiceAgent
abort bool
리턴 bool

OnThreadEnding() 보호된 메소드

protected OnThreadEnding ( ) : void
리턴 void

OnWriteLog() 보호된 추상적인 메소드

protected abstract OnWriteLog ( TraceEventType severity, string message ) : void
severity TraceEventType
message string
리턴 void

RecordingThreadBase() 공개 메소드

public RecordingThreadBase ( System.Guid recorderTunerId, string serverHostName, int serverTcpPort, ArgusTV.DataContracts.CardChannelAllocation channelAllocation, System.DateTime startTimeUtc, System.DateTime stopTimeUtc, ArgusTV.DataContracts.UpcomingProgram recordingProgram, bool okToRenameRecordedFiles ) : System
recorderTunerId System.Guid
serverHostName string
serverTcpPort int
channelAllocation ArgusTV.DataContracts.CardChannelAllocation
startTimeUtc System.DateTime
stopTimeUtc System.DateTime
recordingProgram ArgusTV.DataContracts.UpcomingProgram
okToRenameRecordedFiles bool
리턴 System

Run() 보호된 메소드

protected Run ( ) : void
리턴 void

WriteLog() 보호된 메소드

protected WriteLog ( TraceEventType severity, string message ) : void
severity TraceEventType
message string
리턴 void

WriteLog() 보호된 메소드

protected WriteLog ( string message ) : void
message string
리턴 void