testrequest

package
v1.0.13-rc.5 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 28, 2021 License: Apache-1.1, Apache-1.1 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Route

func Route(router RouteOut) (string, string, quickfix.MessageRoute)

Route returns the beginstring, message type, and MessageRoute for this Message type

Types

type RouteOut

type RouteOut func(msg TestRequest, sessionID quickfix.SessionID) quickfix.MessageRejectError

A RouteOut is the callback type that should be implemented for routing Message

type TestRequest added in v0.4.0

type TestRequest struct {
	fix44.Header
	*quickfix.Body
	fix44.Trailer
	Message *quickfix.Message
}

TestRequest is the fix44 TestRequest type, MsgType = 1

func FromMessage added in v0.4.0

func FromMessage(m *quickfix.Message) TestRequest

FromMessage creates a TestRequest from a quickfix.Message instance

func New added in v0.2.0

func New(testreqid field.TestReqIDField) (m TestRequest)

New returns a TestRequest initialized with the required fields for TestRequest

func (TestRequest) GetTestReqID added in v0.4.0

func (m TestRequest) GetTestReqID() (v string, err quickfix.MessageRejectError)

GetTestReqID gets TestReqID, Tag 112

func (TestRequest) HasTestReqID added in v0.4.0

func (m TestRequest) HasTestReqID() bool

HasTestReqID returns true if TestReqID is present, Tag 112

func (TestRequest) SetTestReqID added in v0.4.0

func (m TestRequest) SetTestReqID(v string)

SetTestReqID sets TestReqID, Tag 112

func (TestRequest) ToMessage added in v0.4.0

func (m TestRequest) ToMessage() *quickfix.Message

ToMessage returns a quickfix.Message instance

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL