logon

package
Version: v0.6.0 Latest Latest
Warning

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

Go to latest
Published: Aug 14, 2017 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

type Logon struct {
	fix40.Header
	*quickfix.Body
	fix40.Trailer
	Message *quickfix.Message
}

Logon is the fix40 Logon type, MsgType = A

func FromMessage

func FromMessage(m *quickfix.Message) Logon

FromMessage creates a Logon from a quickfix.Message instance

func New

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

New returns a Logon initialized with the required fields for Logon

func (Logon) GetEncryptMethod

func (m Logon) GetEncryptMethod() (v enum.EncryptMethod, err quickfix.MessageRejectError)

GetEncryptMethod gets EncryptMethod, Tag 98

func (Logon) GetHeartBtInt

func (m Logon) GetHeartBtInt() (v int, err quickfix.MessageRejectError)

GetHeartBtInt gets HeartBtInt, Tag 108

func (Logon) GetRawData

func (m Logon) GetRawData() (v string, err quickfix.MessageRejectError)

GetRawData gets RawData, Tag 96

func (Logon) GetRawDataLength

func (m Logon) GetRawDataLength() (v int, err quickfix.MessageRejectError)

GetRawDataLength gets RawDataLength, Tag 95

func (Logon) HasEncryptMethod

func (m Logon) HasEncryptMethod() bool

HasEncryptMethod returns true if EncryptMethod is present, Tag 98

func (Logon) HasHeartBtInt

func (m Logon) HasHeartBtInt() bool

HasHeartBtInt returns true if HeartBtInt is present, Tag 108

func (Logon) HasRawData

func (m Logon) HasRawData() bool

HasRawData returns true if RawData is present, Tag 96

func (Logon) HasRawDataLength

func (m Logon) HasRawDataLength() bool

HasRawDataLength returns true if RawDataLength is present, Tag 95

func (Logon) SetEncryptMethod

func (m Logon) SetEncryptMethod(v enum.EncryptMethod)

SetEncryptMethod sets EncryptMethod, Tag 98

func (Logon) SetHeartBtInt

func (m Logon) SetHeartBtInt(v int)

SetHeartBtInt sets HeartBtInt, Tag 108

func (Logon) SetRawData

func (m Logon) SetRawData(v string)

SetRawData sets RawData, Tag 96

func (Logon) SetRawDataLength

func (m Logon) SetRawDataLength(v int)

SetRawDataLength sets RawDataLength, Tag 95

func (Logon) ToMessage

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
t or T : Toggle theme light dark auto