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: 5 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 {
	fix43.Header
	*quickfix.Body
	fix43.Trailer
	Message *quickfix.Message
}

Reject is the fix43 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) GetEncodedText

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

GetEncodedText gets EncodedText, Tag 355

func (Reject) GetEncodedTextLen

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

GetEncodedTextLen gets EncodedTextLen, Tag 354

func (Reject) GetRefMsgType

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

GetRefMsgType gets RefMsgType, Tag 372

func (Reject) GetRefSeqNum

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

GetRefSeqNum gets RefSeqNum, Tag 45

func (Reject) GetRefTagID

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

GetRefTagID gets RefTagID, Tag 371

func (Reject) GetSessionRejectReason

func (m Reject) GetSessionRejectReason() (v enum.SessionRejectReason, err quickfix.MessageRejectError)

GetSessionRejectReason gets SessionRejectReason, Tag 373

func (Reject) GetText

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

GetText gets Text, Tag 58

func (Reject) HasEncodedText

func (m Reject) HasEncodedText() bool

HasEncodedText returns true if EncodedText is present, Tag 355

func (Reject) HasEncodedTextLen

func (m Reject) HasEncodedTextLen() bool

HasEncodedTextLen returns true if EncodedTextLen is present, Tag 354

func (Reject) HasRefMsgType

func (m Reject) HasRefMsgType() bool

HasRefMsgType returns true if RefMsgType is present, Tag 372

func (Reject) HasRefSeqNum

func (m Reject) HasRefSeqNum() bool

HasRefSeqNum returns true if RefSeqNum is present, Tag 45

func (Reject) HasRefTagID

func (m Reject) HasRefTagID() bool

HasRefTagID returns true if RefTagID is present, Tag 371

func (Reject) HasSessionRejectReason

func (m Reject) HasSessionRejectReason() bool

HasSessionRejectReason returns true if SessionRejectReason is present, Tag 373

func (Reject) HasText

func (m Reject) HasText() bool

HasText returns true if Text is present, Tag 58

func (Reject) SetEncodedText

func (m Reject) SetEncodedText(v string)

SetEncodedText sets EncodedText, Tag 355

func (Reject) SetEncodedTextLen

func (m Reject) SetEncodedTextLen(v int)

SetEncodedTextLen sets EncodedTextLen, Tag 354

func (Reject) SetRefMsgType

func (m Reject) SetRefMsgType(v string)

SetRefMsgType sets RefMsgType, Tag 372

func (Reject) SetRefSeqNum

func (m Reject) SetRefSeqNum(v int)

SetRefSeqNum sets RefSeqNum, Tag 45

func (Reject) SetRefTagID

func (m Reject) SetRefTagID(v int)

SetRefTagID sets RefTagID, Tag 371

func (Reject) SetSessionRejectReason

func (m Reject) SetSessionRejectReason(v enum.SessionRejectReason)

SetSessionRejectReason sets SessionRejectReason, Tag 373

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