1 Star 0 Fork 0

muicx / quickfix

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
not_session_time.go 643 Bytes
一键复制 编辑 原始数据 按行查看 历史
Chris Busbey 提交于 2016-10-03 15:35 . message pool for inbound messages
package quickfix
import "github.com/quickfixgo/quickfix/internal"
type notSessionTime struct{ latentState }
func (notSessionTime) String() string { return "Not session time" }
func (notSessionTime) IsSessionTime() bool { return false }
func (state notSessionTime) FixMsgIn(session *session, msg *Message) (nextState sessionState) {
session.log.OnEventf("Invalid Session State: Unexpected Msg %v while in Latent state", msg)
return state
}
func (state notSessionTime) Timeout(*session, internal.Event) (nextState sessionState) {
return state
}
func (state notSessionTime) Stop(*session) (nextState sessionState) {
return state
}
Go
1
https://gitee.com/bradhuang/quickfixgo.git
git@gitee.com:bradhuang/quickfixgo.git
bradhuang
quickfixgo
quickfix
dependabot/go_modules/github.com/mattn/go-sqlite3-1.14.9

搜索帮助