logon

package
v1.1.4 Latest Latest
Warning

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

Go to latest
Published: May 22, 2024 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 {
	fixt11.Header
	*quickfix.Body
	fixt11.Trailer
	Message *quickfix.Message
}

Logon is the fixt11 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, defaultapplverid field.DefaultApplVerIDField) (m Logon)

New returns a Logon initialized with the required fields for Logon.

func (Logon) GetDefaultApplVerID

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

GetDefaultApplVerID gets DefaultApplVerID, Tag 1137.

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

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

GetNextExpectedMsgSeqNum gets NextExpectedMsgSeqNum, Tag 789.

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

func (m Logon) HasDefaultApplVerID() bool

HasDefaultApplVerID returns true if DefaultApplVerID is present, Tag 1137.

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

func (m Logon) HasNextExpectedMsgSeqNum() bool

HasNextExpectedMsgSeqNum returns true if NextExpectedMsgSeqNum is present, Tag 789.

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

func (m Logon) SetDefaultApplVerID(v string)

SetDefaultApplVerID sets DefaultApplVerID, Tag 1137.

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

func (m Logon) SetNextExpectedMsgSeqNum(v int)

SetNextExpectedMsgSeqNum sets NextExpectedMsgSeqNum, Tag 789.

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

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

GetRefApplVerID gets RefApplVerID, Tag 1130.

func (NoMsgTypes) GetRefCstmApplVerID

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

GetRefCstmApplVerID gets RefCstmApplVerID, Tag 1131.

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

func (m NoMsgTypes) HasRefApplVerID() bool

HasRefApplVerID returns true if RefApplVerID is present, Tag 1130.

func (NoMsgTypes) HasRefCstmApplVerID

func (m NoMsgTypes) HasRefCstmApplVerID() bool

HasRefCstmApplVerID returns true if RefCstmApplVerID is present, Tag 1131.

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

func (m NoMsgTypes) SetRefApplVerID(v string)

SetRefApplVerID sets RefApplVerID, Tag 1130.

func (NoMsgTypes) SetRefCstmApplVerID

func (m NoMsgTypes) SetRefCstmApplVerID(v string)

SetRefCstmApplVerID sets RefCstmApplVerID, Tag 1131.

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