logon

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

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

Logon is the fix40 Logon type, MsgType = A

func FromMessage added in v0.4.0

func FromMessage(m quickfix.Message) Logon

FromMessage creates a Logon from a quickfix.Message instance

func New added in v0.2.0

func New(encryptmethod field.EncryptMethodField, heartbtint field.HeartBtIntField) (m Logon)

New returns a Logon initialized with the required fields for Logon

func (Logon) GetEncryptMethod added in v0.4.0

func (m Logon) GetEncryptMethod() (f field.EncryptMethodField, err quickfix.MessageRejectError)

GetEncryptMethod gets EncryptMethod, Tag 98

func (Logon) GetHeartBtInt added in v0.4.0

func (m Logon) GetHeartBtInt() (f field.HeartBtIntField, err quickfix.MessageRejectError)

GetHeartBtInt gets HeartBtInt, Tag 108

func (Logon) GetRawData added in v0.4.0

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

GetRawData gets RawData, Tag 96

func (Logon) GetRawDataLength added in v0.4.0

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

GetRawDataLength gets RawDataLength, Tag 95

func (Logon) HasEncryptMethod added in v0.4.0

func (m Logon) HasEncryptMethod() bool

HasEncryptMethod returns true if EncryptMethod is present, Tag 98

func (Logon) HasHeartBtInt added in v0.4.0

func (m Logon) HasHeartBtInt() bool

HasHeartBtInt returns true if HeartBtInt is present, Tag 108

func (Logon) HasRawData added in v0.4.0

func (m Logon) HasRawData() bool

HasRawData returns true if RawData is present, Tag 96

func (Logon) HasRawDataLength added in v0.4.0

func (m Logon) HasRawDataLength() bool

HasRawDataLength returns true if RawDataLength is present, Tag 95

func (Logon) SetEncryptMethod added in v0.4.0

func (m Logon) SetEncryptMethod(v int)

SetEncryptMethod sets EncryptMethod, Tag 98

func (Logon) SetHeartBtInt added in v0.4.0

func (m Logon) SetHeartBtInt(v int)

SetHeartBtInt sets HeartBtInt, Tag 108

func (Logon) SetRawData added in v0.4.0

func (m Logon) SetRawData(v string)

SetRawData sets RawData, Tag 96

func (Logon) SetRawDataLength added in v0.4.0

func (m Logon) SetRawDataLength(v int)

SetRawDataLength sets RawDataLength, Tag 95

func (Logon) ToMessage added in v0.4.0

func (m Logon) ToMessage() quickfix.Message

ToMessage returns a quickfix.Message instance

type RouteOut

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