heartbeat

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

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

Heartbeat is the fix44 Heartbeat type, MsgType = 0

func FromMessage added in v0.4.0

func FromMessage(m quickfix.Message) Heartbeat

FromMessage creates a Heartbeat from a quickfix.Message instance

func New added in v0.2.0

func New() (m Heartbeat)

New returns a Heartbeat initialized with the required fields for Heartbeat

func (Heartbeat) GetTestReqID added in v0.4.0

func (m Heartbeat) GetTestReqID() (f field.TestReqIDField, err quickfix.MessageRejectError)

GetTestReqID gets TestReqID, Tag 112

func (Heartbeat) HasTestReqID added in v0.4.0

func (m Heartbeat) HasTestReqID() bool

HasTestReqID returns true if TestReqID is present, Tag 112

func (Heartbeat) SetTestReqID added in v0.4.0

func (m Heartbeat) SetTestReqID(v string)

SetTestReqID sets TestReqID, Tag 112

func (Heartbeat) ToMessage added in v0.4.0

func (m Heartbeat) ToMessage() quickfix.Message

ToMessage returns a quickfix.Message instance

type RouteOut

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