logon

package
v0.0.0-...-9c05030 Latest Latest
Warning

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

Go to latest
Published: Jul 7, 2023 License: MIT 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 {
	fix42.Header
	*quickfix.Body
	fix42.Trailer
	Message *quickfix.Message
}

Logon is the fix42 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) GetCancelOrdersOnDisconnect

func (m Logon) GetCancelOrdersOnDisconnect() (v enum.CancelOrdersOnDisconnect, err quickfix.MessageRejectError)

GetCancelOrdersOnDisconnect gets CancelOrdersOnDisconnect, Tag 8013.

func (Logon) GetDropCopyFlag

func (m Logon) GetDropCopyFlag() (v enum.DropCopyFlag, err quickfix.MessageRejectError)

GetDropCopyFlag gets DropCopyFlag, Tag 9406.

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) GetMaxMessageSize

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

GetMaxMessageSize gets MaxMessageSize, Tag 383.

func (Logon) GetNoMsgTypes

GetNoMsgTypes gets NoMsgTypes, Tag 384.

func (Logon) GetPassword

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

GetPassword gets Password, Tag 554.

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) GetResetSeqNumFlag

func (m Logon) GetResetSeqNumFlag() (v bool, err quickfix.MessageRejectError)

GetResetSeqNumFlag gets ResetSeqNumFlag, Tag 141.

func (Logon) HasCancelOrdersOnDisconnect

func (m Logon) HasCancelOrdersOnDisconnect() bool

HasCancelOrdersOnDisconnect returns true if CancelOrdersOnDisconnect is present, Tag 8013.

func (Logon) HasDropCopyFlag

func (m Logon) HasDropCopyFlag() bool

HasDropCopyFlag returns true if DropCopyFlag is present, Tag 9406.

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) HasMaxMessageSize

func (m Logon) HasMaxMessageSize() bool

HasMaxMessageSize returns true if MaxMessageSize is present, Tag 383.

func (Logon) HasNoMsgTypes

func (m Logon) HasNoMsgTypes() bool

HasNoMsgTypes returns true if NoMsgTypes is present, Tag 384.

func (Logon) HasPassword

func (m Logon) HasPassword() bool

HasPassword returns true if Password is present, Tag 554.

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) HasResetSeqNumFlag

func (m Logon) HasResetSeqNumFlag() bool

HasResetSeqNumFlag returns true if ResetSeqNumFlag is present, Tag 141.

func (Logon) SetCancelOrdersOnDisconnect

func (m Logon) SetCancelOrdersOnDisconnect(v enum.CancelOrdersOnDisconnect)

SetCancelOrdersOnDisconnect sets CancelOrdersOnDisconnect, Tag 8013.

func (Logon) SetDropCopyFlag

func (m Logon) SetDropCopyFlag(v enum.DropCopyFlag)

SetDropCopyFlag sets DropCopyFlag, Tag 9406.

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) SetMaxMessageSize

func (m Logon) SetMaxMessageSize(v int)

SetMaxMessageSize sets MaxMessageSize, Tag 383.

func (Logon) SetNoMsgTypes

func (m Logon) SetNoMsgTypes(f NoMsgTypesRepeatingGroup)

SetNoMsgTypes sets NoMsgTypes, Tag 384.

func (Logon) SetPassword

func (m Logon) SetPassword(v string)

SetPassword sets Password, Tag 554.

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) SetResetSeqNumFlag

func (m Logon) SetResetSeqNumFlag(v bool)

SetResetSeqNumFlag sets ResetSeqNumFlag, Tag 141.

func (Logon) ToMessage

func (m Logon) ToMessage() *quickfix.Message

ToMessage returns a quickfix.Message instance.

type NoMsgTypes

type NoMsgTypes struct {
	*quickfix.Group
}

NoMsgTypes is a repeating group element, Tag 384.

func (NoMsgTypes) GetMsgDirection

func (m NoMsgTypes) GetMsgDirection() (v enum.MsgDirection, err quickfix.MessageRejectError)

GetMsgDirection gets MsgDirection, Tag 385.

func (NoMsgTypes) GetRefMsgType

func (m NoMsgTypes) GetRefMsgType() (v string, err quickfix.MessageRejectError)

GetRefMsgType gets RefMsgType, Tag 372.

func (NoMsgTypes) HasMsgDirection

func (m NoMsgTypes) HasMsgDirection() bool

HasMsgDirection returns true if MsgDirection is present, Tag 385.

func (NoMsgTypes) HasRefMsgType

func (m NoMsgTypes) HasRefMsgType() bool

HasRefMsgType returns true if RefMsgType is present, Tag 372.

func (NoMsgTypes) SetMsgDirection

func (m NoMsgTypes) SetMsgDirection(v enum.MsgDirection)

SetMsgDirection sets MsgDirection, Tag 385.

func (NoMsgTypes) SetRefMsgType

func (m NoMsgTypes) SetRefMsgType(v string)

SetRefMsgType sets RefMsgType, Tag 372.

type NoMsgTypesRepeatingGroup

type NoMsgTypesRepeatingGroup struct {
	*quickfix.RepeatingGroup
}

NoMsgTypesRepeatingGroup is a repeating group, Tag 384.

func NewNoMsgTypesRepeatingGroup

func NewNoMsgTypesRepeatingGroup() NoMsgTypesRepeatingGroup

NewNoMsgTypesRepeatingGroup returns an initialized, NoMsgTypesRepeatingGroup.

func (NoMsgTypesRepeatingGroup) Add

Add create and append a new NoMsgTypes to this group.

func (NoMsgTypesRepeatingGroup) Get

Get returns the ith NoMsgTypes in the NoMsgTypesRepeatinGroup.

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