logon

package
v0.6.1 Latest Latest
Warning

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

Go to latest
Published: Oct 26, 2021 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 {
	fix43.Header
	*quickfix.Body
	fix43.Trailer
	Message *quickfix.Message
}

Logon is the fix43 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) 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) GetTestMessageIndicator

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

GetTestMessageIndicator gets TestMessageIndicator, Tag 464.

func (Logon) GetUsername

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

GetUsername gets Username, Tag 553.

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

func (m Logon) HasTestMessageIndicator() bool

HasTestMessageIndicator returns true if TestMessageIndicator is present, Tag 464.

func (Logon) HasUsername

func (m Logon) HasUsername() bool

HasUsername returns true if Username is present, Tag 553.

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

func (m Logon) SetTestMessageIndicator(v bool)

SetTestMessageIndicator sets TestMessageIndicator, Tag 464.

func (Logon) SetUsername

func (m Logon) SetUsername(v string)

SetUsername sets Username, Tag 553.

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