reject

package
v0.6.0 Latest Latest
Warning

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

Go to latest
Published: Aug 14, 2017 License: 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 Reject added in v0.4.0

type Reject struct {
	fix41.Header
	*quickfix.Body
	fix41.Trailer
	Message *quickfix.Message
}

Reject is the fix41 Reject type, MsgType = 3

func FromMessage added in v0.4.0

func FromMessage(m *quickfix.Message) Reject

FromMessage creates a Reject from a quickfix.Message instance

func New added in v0.2.0

func New(refseqnum field.RefSeqNumField) (m Reject)

New returns a Reject initialized with the required fields for Reject

func (Reject) GetRefSeqNum added in v0.4.0

func (m Reject) GetRefSeqNum() (v int, err quickfix.MessageRejectError)

GetRefSeqNum gets RefSeqNum, Tag 45

func (Reject) GetText added in v0.4.0

func (m Reject) GetText() (v string, err quickfix.MessageRejectError)

GetText gets Text, Tag 58

func (Reject) HasRefSeqNum added in v0.4.0

func (m Reject) HasRefSeqNum() bool

HasRefSeqNum returns true if RefSeqNum is present, Tag 45

func (Reject) HasText added in v0.4.0

func (m Reject) HasText() bool

HasText returns true if Text is present, Tag 58

func (Reject) SetRefSeqNum added in v0.4.0

func (m Reject) SetRefSeqNum(v int)

SetRefSeqNum sets RefSeqNum, Tag 45

func (Reject) SetText added in v0.4.0

func (m Reject) SetText(v string)

SetText sets Text, Tag 58

func (Reject) ToMessage added in v0.4.0

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

ToMessage returns a quickfix.Message instance

type RouteOut

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

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

Jump to

Keyboard shortcuts

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