C# Class yycms.service.Queues.PageBuild

页面静态生成服务 1,执行任务,更新状态为1 2,执行完成,更新状态为2 3,发生错误,更新状态为3
Inheritance: IQueue
Show file Open project: seven1276/yycms

Public Methods

Method Description
AddLog ( System.Int64 _ID, String _ErrorMsg ) : System.Boolean
ChangeProcess ( System.Int64 _ID, Int32 _ComplatedCount ) : System.Boolean
ChangeProcess ( System.Int64 _ID, System.Int64 _ComplatedCount, System.Int64 _TotalCount ) : System.Boolean
ChangeStatus ( System.Int64 _ID, Int32 _Status ) : System.Boolean
ReceiveCompleted ( String body ) : void
Signal_Excute ( String HubName, Action HubAction ) : void

互动发送消息

Private Methods

Method Description
SendMail ( String _Title, String _Content ) : System.Boolean

Method Details

AddLog() public method

public AddLog ( System.Int64 _ID, String _ErrorMsg ) : System.Boolean
_ID System.Int64
_ErrorMsg String
return System.Boolean

ChangeProcess() public method

public ChangeProcess ( System.Int64 _ID, Int32 _ComplatedCount ) : System.Boolean
_ID System.Int64
_ComplatedCount System.Int32
return System.Boolean

ChangeProcess() public method

public ChangeProcess ( System.Int64 _ID, System.Int64 _ComplatedCount, System.Int64 _TotalCount ) : System.Boolean
_ID System.Int64
_ComplatedCount System.Int64
_TotalCount System.Int64
return System.Boolean

ChangeStatus() public method

public ChangeStatus ( System.Int64 _ID, Int32 _Status ) : System.Boolean
_ID System.Int64
_Status System.Int32
return System.Boolean

ReceiveCompleted() public method

public ReceiveCompleted ( String body ) : void
body String
return void

Signal_Excute() public method

互动发送消息
public Signal_Excute ( String HubName, Action HubAction ) : void
HubName String
HubAction Action
return void