reject

package
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: Aug 1, 2016 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 added in v0.4.0

type Reject struct {
	fix44.Header
	quickfix.Body
	fix44.Trailer
	//ReceiveTime is the time that this message was read from the socket connection
	ReceiveTime time.Time
}

Reject is the fix44 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) GetEncodedText added in v0.4.0

func (m Reject) GetEncodedText() (f field.EncodedTextField, err quickfix.MessageRejectError)

GetEncodedText gets EncodedText, Tag 355

func (Reject) GetEncodedTextLen added in v0.4.0

func (m Reject) GetEncodedTextLen() (f field.EncodedTextLenField, err quickfix.MessageRejectError)

GetEncodedTextLen gets EncodedTextLen, Tag 354

func (Reject) GetRefMsgType added in v0.4.0

func (m Reject) GetRefMsgType() (f field.RefMsgTypeField, err quickfix.MessageRejectError)

GetRefMsgType gets RefMsgType, Tag 372

func (Reject) GetRefSeqNum added in v0.4.0

func (m Reject) GetRefSeqNum() (f field.RefSeqNumField, err quickfix.MessageRejectError)

GetRefSeqNum gets RefSeqNum, Tag 45

func (Reject) GetRefTagID added in v0.4.0

func (m Reject) GetRefTagID() (f field.RefTagIDField, err quickfix.MessageRejectError)

GetRefTagID gets RefTagID, Tag 371

func (Reject) GetSessionRejectReason added in v0.4.0

func (m Reject) GetSessionRejectReason() (f field.SessionRejectReasonField, err quickfix.MessageRejectError)

GetSessionRejectReason gets SessionRejectReason, Tag 373

func (Reject) GetText added in v0.4.0

func (m Reject) GetText() (f field.TextField, err quickfix.MessageRejectError)

GetText gets Text, Tag 58

func (Reject) HasEncodedText added in v0.4.0

func (m Reject) HasEncodedText() bool

HasEncodedText returns true if EncodedText is present, Tag 355

func (Reject) HasEncodedTextLen added in v0.4.0

func (m Reject) HasEncodedTextLen() bool

HasEncodedTextLen returns true if EncodedTextLen is present, Tag 354

func (Reject) HasRefMsgType added in v0.4.0

func (m Reject) HasRefMsgType() bool

HasRefMsgType returns true if RefMsgType is present, Tag 372

func (Reject) HasRefSeqNum added in v0.4.0

func (m Reject) HasRefSeqNum() bool

HasRefSeqNum returns true if RefSeqNum is present, Tag 45

func (Reject) HasRefTagID added in v0.4.0

func (m Reject) HasRefTagID() bool

HasRefTagID returns true if RefTagID is present, Tag 371

func (Reject) HasSessionRejectReason added in v0.4.0

func (m Reject) HasSessionRejectReason() bool

HasSessionRejectReason returns true if SessionRejectReason is present, Tag 373

func (Reject) HasText added in v0.4.0

func (m Reject) HasText() bool

HasText returns true if Text is present, Tag 58

func (Reject) SetEncodedText added in v0.4.0

func (m Reject) SetEncodedText(v string)

SetEncodedText sets EncodedText, Tag 355

func (Reject) SetEncodedTextLen added in v0.4.0

func (m Reject) SetEncodedTextLen(v int)

SetEncodedTextLen sets EncodedTextLen, Tag 354

func (Reject) SetRefMsgType added in v0.4.0

func (m Reject) SetRefMsgType(v string)

SetRefMsgType sets RefMsgType, Tag 372

func (Reject) SetRefSeqNum added in v0.4.0

func (m Reject) SetRefSeqNum(v int)

SetRefSeqNum sets RefSeqNum, Tag 45

func (Reject) SetRefTagID added in v0.4.0

func (m Reject) SetRefTagID(v int)

SetRefTagID sets RefTagID, Tag 371

func (Reject) SetSessionRejectReason added in v0.4.0

func (m Reject) SetSessionRejectReason(v int)

SetSessionRejectReason sets SessionRejectReason, Tag 373

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