• 设为首页
  • 点击收藏
  • 手机版
    手机扫一扫访问
    迪恩网络手机版
  • 关注官方公众号
    微信扫一扫关注
    迪恩网络公众号

Golang fix43.NewHeader函数代码示例

原作者: [db:作者] 来自: [db:来源] 收藏 邀请

本文整理汇总了Golang中github.com/quickfixgo/quickfix/fix43.NewHeader函数的典型用法代码示例。如果您正苦于以下问题:Golang NewHeader函数的具体用法?Golang NewHeader怎么用?Golang NewHeader使用的例子?那么恭喜您, 这里精选的函数代码示例或许可以为您提供帮助。



在下文中一共展示了NewHeader函数的20个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于我们的系统推荐出更棒的Golang代码示例。

示例1: New

//New returns a MarketDataIncrementalRefresh initialized with the required fields for MarketDataIncrementalRefresh
func New() (m MarketDataIncrementalRefresh) {
	m.Header = fix43.NewHeader()
	m.Init()
	m.Trailer.Init()

	m.Header.Set(field.NewMsgType("X"))

	return
}
开发者ID:cbusbey,项目名称:quickfix,代码行数:10,代码来源:MarketDataIncrementalRefresh.generated.go


示例2: New

//New returns a Heartbeat initialized with the required fields for Heartbeat
func New() (m Heartbeat) {
	m.Header = fix43.NewHeader()
	m.Init()
	m.Trailer.Init()

	m.Header.Set(field.NewMsgType("0"))

	return
}
开发者ID:cbusbey,项目名称:quickfix,代码行数:10,代码来源:Heartbeat.generated.go


示例3: New

//New returns a MarketDataSnapshotFullRefresh initialized with the required fields for MarketDataSnapshotFullRefresh
func New() (m MarketDataSnapshotFullRefresh) {
	m.Header = fix43.NewHeader()
	m.Init()
	m.Trailer.Init()

	m.Header.Set(field.NewMsgType("W"))

	return
}
开发者ID:cbusbey,项目名称:quickfix,代码行数:10,代码来源:MarketDataSnapshotFullRefresh.generated.go


示例4: New

//New returns a QuoteStatusRequest initialized with the required fields for QuoteStatusRequest
func New() (m QuoteStatusRequest) {
	m.Header = fix43.NewHeader()
	m.Init()
	m.Trailer.Init()

	m.Header.Set(field.NewMsgType("a"))

	return
}
开发者ID:cbusbey,项目名称:quickfix,代码行数:10,代码来源:QuoteStatusRequest.generated.go


示例5: New

//New returns a SecurityStatus initialized with the required fields for SecurityStatus
func New() (m SecurityStatus) {
	m.Header = fix43.NewHeader()
	m.Init()
	m.Trailer.Init()

	m.Header.Set(field.NewMsgType("f"))

	return
}
开发者ID:cbusbey,项目名称:quickfix,代码行数:10,代码来源:SecurityStatus.generated.go


示例6: New

//New returns a BidResponse initialized with the required fields for BidResponse
func New() (m BidResponse) {
	m.Header = fix43.NewHeader()
	m.Init()
	m.Trailer.Init()

	m.Header.Set(field.NewMsgType("l"))

	return
}
开发者ID:cbusbey,项目名称:quickfix,代码行数:10,代码来源:BidResponse.generated.go


示例7: New

//New returns a Logout initialized with the required fields for Logout
func New() (m Logout) {
	m.Header = fix43.NewHeader()
	m.Init()
	m.Trailer.Init()

	m.Header.Set(field.NewMsgType("5"))

	return
}
开发者ID:cbusbey,项目名称:quickfix,代码行数:10,代码来源:Logout.generated.go


示例8: New

//New returns a Heartbeat initialized with the required fields for Heartbeat
func New() (m Heartbeat) {
	m.Message = quickfix.NewMessage()
	m.Header = fix43.NewHeader(&m.Message.Header)
	m.Body = &m.Message.Body
	m.Trailer.Trailer = &m.Message.Trailer

	m.Header.Set(field.NewMsgType("0"))

	return
}
开发者ID:quickfixgo,项目名称:quickfix,代码行数:11,代码来源:Heartbeat.generated.go


示例9: New

//New returns a ListStatusRequest initialized with the required fields for ListStatusRequest
func New(listid field.ListIDField) (m ListStatusRequest) {
	m.Header = fix43.NewHeader()
	m.Init()
	m.Trailer.Init()

	m.Header.Set(field.NewMsgType("M"))
	m.Set(listid)

	return
}
开发者ID:cbusbey,项目名称:quickfix,代码行数:11,代码来源:ListStatusRequest.generated.go


示例10: New

//New returns a TestRequest initialized with the required fields for TestRequest
func New(testreqid field.TestReqIDField) (m TestRequest) {
	m.Header = fix43.NewHeader()
	m.Init()
	m.Trailer.Init()

	m.Header.Set(field.NewMsgType("1"))
	m.Set(testreqid)

	return
}
开发者ID:cbusbey,项目名称:quickfix,代码行数:11,代码来源:TestRequest.generated.go


示例11: New

//New returns a Quote initialized with the required fields for Quote
func New(quoteid field.QuoteIDField) (m Quote) {
	m.Header = fix43.NewHeader()
	m.Init()
	m.Trailer.Init()

	m.Header.Set(field.NewMsgType("S"))
	m.Set(quoteid)

	return
}
开发者ID:cbusbey,项目名称:quickfix,代码行数:11,代码来源:Quote.generated.go


示例12: New

//New returns a News initialized with the required fields for News
func New(headline field.HeadlineField) (m News) {
	m.Header = fix43.NewHeader()
	m.Init()
	m.Trailer.Init()

	m.Header.Set(field.NewMsgType("B"))
	m.Set(headline)

	return
}
开发者ID:cbusbey,项目名称:quickfix,代码行数:11,代码来源:News.generated.go


示例13: New

//New returns a SecurityTypeRequest initialized with the required fields for SecurityTypeRequest
func New(securityreqid field.SecurityReqIDField) (m SecurityTypeRequest) {
	m.Header = fix43.NewHeader()
	m.Init()
	m.Trailer.Init()

	m.Header.Set(field.NewMsgType("v"))
	m.Set(securityreqid)

	return
}
开发者ID:cbusbey,项目名称:quickfix,代码行数:11,代码来源:SecurityTypeRequest.generated.go


示例14: New

//New returns a QuoteStatusRequest initialized with the required fields for QuoteStatusRequest
func New() (m QuoteStatusRequest) {
	m.Message = quickfix.NewMessage()
	m.Header = fix43.NewHeader(&m.Message.Header)
	m.Body = &m.Message.Body
	m.Trailer.Trailer = &m.Message.Trailer

	m.Header.Set(field.NewMsgType("a"))

	return
}
开发者ID:quickfixgo,项目名称:quickfix,代码行数:11,代码来源:QuoteStatusRequest.generated.go


示例15: New

//New returns a RFQRequest initialized with the required fields for RFQRequest
func New(rfqreqid field.RFQReqIDField) (m RFQRequest) {
	m.Header = fix43.NewHeader()
	m.Init()
	m.Trailer.Init()

	m.Header.Set(field.NewMsgType("AH"))
	m.Set(rfqreqid)

	return
}
开发者ID:cbusbey,项目名称:quickfix,代码行数:11,代码来源:RFQRequest.generated.go


示例16: New

//New returns a MarketDataIncrementalRefresh initialized with the required fields for MarketDataIncrementalRefresh
func New() (m MarketDataIncrementalRefresh) {
	m.Message = quickfix.NewMessage()
	m.Header = fix43.NewHeader(&m.Message.Header)
	m.Body = &m.Message.Body
	m.Trailer.Trailer = &m.Message.Trailer

	m.Header.Set(field.NewMsgType("X"))

	return
}
开发者ID:quickfixgo,项目名称:quickfix,代码行数:11,代码来源:MarketDataIncrementalRefresh.generated.go


示例17: New

//New returns a Reject initialized with the required fields for Reject
func New(refseqnum field.RefSeqNumField) (m Reject) {
	m.Header = fix43.NewHeader()
	m.Init()
	m.Trailer.Init()

	m.Header.Set(field.NewMsgType("3"))
	m.Set(refseqnum)

	return
}
开发者ID:cbusbey,项目名称:quickfix,代码行数:11,代码来源:Reject.generated.go


示例18: New

//New returns a QuoteRequest initialized with the required fields for QuoteRequest
func New(quotereqid field.QuoteReqIDField) (m QuoteRequest) {
	m.Header = fix43.NewHeader()
	m.Init()
	m.Trailer.Init()

	m.Header.Set(field.NewMsgType("R"))
	m.Set(quotereqid)

	return
}
开发者ID:cbusbey,项目名称:quickfix,代码行数:11,代码来源:QuoteRequest.generated.go


示例19: New

//New returns a BidResponse initialized with the required fields for BidResponse
func New() (m BidResponse) {
	m.Message = quickfix.NewMessage()
	m.Header = fix43.NewHeader(&m.Message.Header)
	m.Body = &m.Message.Body
	m.Trailer.Trailer = &m.Message.Trailer

	m.Header.Set(field.NewMsgType("l"))

	return
}
开发者ID:quickfixgo,项目名称:quickfix,代码行数:11,代码来源:BidResponse.generated.go


示例20: New

//New returns a MarketDataRequestReject initialized with the required fields for MarketDataRequestReject
func New(mdreqid field.MDReqIDField) (m MarketDataRequestReject) {
	m.Header = fix43.NewHeader()
	m.Init()
	m.Trailer.Init()

	m.Header.Set(field.NewMsgType("Y"))
	m.Set(mdreqid)

	return
}
开发者ID:cbusbey,项目名称:quickfix,代码行数:11,代码来源:MarketDataRequestReject.generated.go



注:本文中的github.com/quickfixgo/quickfix/fix43.NewHeader函数示例由纯净天空整理自Github/MSDocs等源码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。


鲜花

握手

雷人

路过

鸡蛋
该文章已有0人参与评论

请发表评论

全部评论

专题导读
上一篇:
Golang fix44.NewHeader函数代码示例发布时间:2022-05-28
下一篇:
Golang fix42.NewHeader函数代码示例发布时间:2022-05-28
热门推荐
热门话题
阅读排行榜

扫描微信二维码

查看手机版网站

随时了解更新最新资讯

139-2527-9053

在线客服(服务时间 9:00~18:00)

在线QQ客服
地址:深圳市南山区西丽大学城创智工业园
电邮:jeky_zhao#qq.com
移动电话:139-2527-9053

Powered by 互联科技 X3.4© 2001-2213 极客世界.|Sitemap