reject

package
v1.1.2 Latest Latest
Warning

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

Go to latest
Published: Apr 18, 2024 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

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

Reject is the fix41 Reject type, MsgType = 3.

func FromMessage

func FromMessage(m *quickfix.Message) Reject

FromMessage creates a Reject from a quickfix.Message instance.

func New

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

New returns a Reject initialized with the required fields for Reject.

func (Reject) GetRefSeqNum

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

GetRefSeqNum gets RefSeqNum, Tag 45.

func (Reject) GetText

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

GetText gets Text, Tag 58.

func (Reject) HasRefSeqNum

func (m Reject) HasRefSeqNum() bool

HasRefSeqNum returns true if RefSeqNum is present, Tag 45.

func (Reject) HasText

func (m Reject) HasText() bool

HasText returns true if Text is present, Tag 58.

func (Reject) SetRefSeqNum

func (m Reject) SetRefSeqNum(v int)

SetRefSeqNum sets RefSeqNum, Tag 45.

func (Reject) SetText

func (m Reject) SetText(v string)

SetText sets Text, Tag 58.

func (Reject) ToMessage

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