reject

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: Sep 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

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

Reject is the fix40 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() (f field.RefSeqNumField, err quickfix.MessageRejectError)

GetRefSeqNum gets RefSeqNum, Tag 45

func (Reject) GetText

func (m Reject) GetText() (f field.TextField, 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