logon

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 Logon

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

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() (f field.EncryptMethodField, err quickfix.MessageRejectError)

GetEncryptMethod gets EncryptMethod, Tag 98

func (Logon) GetHeartBtInt

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

GetHeartBtInt gets HeartBtInt, Tag 108

func (Logon) GetRawData

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

GetRawData gets RawData, Tag 96

func (Logon) GetRawDataLength

func (m Logon) GetRawDataLength() (f field.RawDataLengthField, 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 int)

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
y or Y : Canonical URL