Documentation ¶
Index ¶
- type DatabaseManager
- func (d *DatabaseManager) BeginWork()
- func (d *DatabaseManager) Init()
- func (d *DatabaseManager) OnForeseeMessage(msg message.BaseMessage) (done bool)
- func (d *DatabaseManager) OnForeseeResponse(rsp message.BaseResponse) (done bool)
- func (d *DatabaseManager) OnProcessMessage(msg message.BaseMessage) (rsp message.BaseResponse, err error)
- func (d *DatabaseManager) OnProcessResponse(rsp message.BaseResponse)
- func (d *DatabaseManager) StopWork()
- func (d *DatabaseManager) Uninit()
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DatabaseManager ¶
type DatabaseManager struct { core.MessageList // 消息列表 // contains filtered or unexported fields }
func (*DatabaseManager) OnForeseeMessage ¶
func (d *DatabaseManager) OnForeseeMessage(msg message.BaseMessage) (done bool)
偷窥消息
func (*DatabaseManager) OnForeseeResponse ¶
func (d *DatabaseManager) OnForeseeResponse(rsp message.BaseResponse) (done bool)
偷窥消息的回应
func (*DatabaseManager) OnProcessMessage ¶
func (d *DatabaseManager) OnProcessMessage(msg message.BaseMessage) (rsp message.BaseResponse, err error)
处理消息
func (*DatabaseManager) OnProcessResponse ¶
func (d *DatabaseManager) OnProcessResponse(rsp message.BaseResponse)
处理消息的回应
Click to show internal directories.
Click to hide internal directories.