news

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 News added in v0.4.0

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

News is the fix40 News type, MsgType = B

func FromMessage added in v0.4.0

func FromMessage(m quickfix.Message) News

FromMessage creates a News from a quickfix.Message instance

func New added in v0.2.0

func New(linesoftext field.LinesOfTextField, text field.TextField) (m News)

New returns a News initialized with the required fields for News

func (News) GetLinesOfText added in v0.4.0

func (m News) GetLinesOfText() (f field.LinesOfTextField, err quickfix.MessageRejectError)

GetLinesOfText gets LinesOfText, Tag 33

func (News) GetOrigTime added in v0.4.0

func (m News) GetOrigTime() (f field.OrigTimeField, err quickfix.MessageRejectError)

GetOrigTime gets OrigTime, Tag 42

func (News) GetRawData added in v0.4.0

func (m News) GetRawData() (f field.RawDataField, err quickfix.MessageRejectError)

GetRawData gets RawData, Tag 96

func (News) GetRawDataLength added in v0.4.0

func (m News) GetRawDataLength() (f field.RawDataLengthField, err quickfix.MessageRejectError)

GetRawDataLength gets RawDataLength, Tag 95

func (News) GetRelatdSym added in v0.4.0

func (m News) GetRelatdSym() (f field.RelatdSymField, err quickfix.MessageRejectError)

GetRelatdSym gets RelatdSym, Tag 46

func (News) GetText added in v0.4.0

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

GetText gets Text, Tag 58

func (News) GetUrgency added in v0.4.0

func (m News) GetUrgency() (f field.UrgencyField, err quickfix.MessageRejectError)

GetUrgency gets Urgency, Tag 61

func (News) HasLinesOfText added in v0.4.0

func (m News) HasLinesOfText() bool

HasLinesOfText returns true if LinesOfText is present, Tag 33

func (News) HasOrigTime added in v0.4.0

func (m News) HasOrigTime() bool

HasOrigTime returns true if OrigTime is present, Tag 42

func (News) HasRawData added in v0.4.0

func (m News) HasRawData() bool

HasRawData returns true if RawData is present, Tag 96

func (News) HasRawDataLength added in v0.4.0

func (m News) HasRawDataLength() bool

HasRawDataLength returns true if RawDataLength is present, Tag 95

func (News) HasRelatdSym added in v0.4.0

func (m News) HasRelatdSym() bool

HasRelatdSym returns true if RelatdSym is present, Tag 46

func (News) HasText added in v0.4.0

func (m News) HasText() bool

HasText returns true if Text is present, Tag 58

func (News) HasUrgency added in v0.4.0

func (m News) HasUrgency() bool

HasUrgency returns true if Urgency is present, Tag 61

func (News) SetLinesOfText added in v0.4.0

func (m News) SetLinesOfText(v int)

SetLinesOfText sets LinesOfText, Tag 33

func (News) SetOrigTime added in v0.4.0

func (m News) SetOrigTime(v time.Time)

SetOrigTime sets OrigTime, Tag 42

func (News) SetRawData added in v0.4.0

func (m News) SetRawData(v string)

SetRawData sets RawData, Tag 96

func (News) SetRawDataLength added in v0.4.0

func (m News) SetRawDataLength(v int)

SetRawDataLength sets RawDataLength, Tag 95

func (News) SetRelatdSym added in v0.4.0

func (m News) SetRelatdSym(v string)

SetRelatdSym sets RelatdSym, Tag 46

func (News) SetText added in v0.4.0

func (m News) SetText(v string)

SetText sets Text, Tag 58

func (News) SetUrgency added in v0.4.0

func (m News) SetUrgency(v string)

SetUrgency sets Urgency, Tag 61

func (News) ToMessage added in v0.4.0

func (m News) ToMessage() quickfix.Message

ToMessage returns a quickfix.Message instance

type RouteOut

type RouteOut func(msg News, 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