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 added in v0.4.0

type Logon struct {
	fix44.Header
	quickfix.Body
	fix44.Trailer
	//ReceiveTime is the time that this message was read from the socket connection
	ReceiveTime time.Time
}

Logon is the fix44 Logon type, MsgType = A

func FromMessage added in v0.4.0

func FromMessage(m quickfix.Message) Logon

FromMessage creates a Logon from a quickfix.Message instance

func New added in v0.2.0

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

New returns a Logon initialized with the required fields for Logon

func (Logon) GetEncryptMethod added in v0.4.0

func (m Logon) GetEncryptMethod() (f field.EncryptMethodField, err quickfix.MessageRejectError)

GetEncryptMethod gets EncryptMethod, Tag 98

func (Logon) GetHeartBtInt added in v0.4.0

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

GetHeartBtInt gets HeartBtInt, Tag 108

func (Logon) GetMaxMessageSize added in v0.4.0

func (m Logon) GetMaxMessageSize() (f field.MaxMessageSizeField, err quickfix.MessageRejectError)

GetMaxMessageSize gets MaxMessageSize, Tag 383

func (Logon) GetNextExpectedMsgSeqNum added in v0.4.0

func (m Logon) GetNextExpectedMsgSeqNum() (f field.NextExpectedMsgSeqNumField, err quickfix.MessageRejectError)

GetNextExpectedMsgSeqNum gets NextExpectedMsgSeqNum, Tag 789

func (Logon) GetNoMsgTypes added in v0.4.0

GetNoMsgTypes gets NoMsgTypes, Tag 384

func (Logon) GetPassword added in v0.4.0

func (m Logon) GetPassword() (f field.PasswordField, err quickfix.MessageRejectError)

GetPassword gets Password, Tag 554

func (Logon) GetRawData added in v0.4.0

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

GetRawData gets RawData, Tag 96

func (Logon) GetRawDataLength added in v0.4.0

func (m Logon) GetRawDataLength() (f field.RawDataLengthField, err quickfix.MessageRejectError)

GetRawDataLength gets RawDataLength, Tag 95

func (Logon) GetResetSeqNumFlag added in v0.4.0

func (m Logon) GetResetSeqNumFlag() (f field.ResetSeqNumFlagField, err quickfix.MessageRejectError)

GetResetSeqNumFlag gets ResetSeqNumFlag, Tag 141

func (Logon) GetTestMessageIndicator added in v0.4.0

func (m Logon) GetTestMessageIndicator() (f field.TestMessageIndicatorField, err quickfix.MessageRejectError)

GetTestMessageIndicator gets TestMessageIndicator, Tag 464

func (Logon) GetUsername added in v0.4.0

func (m Logon) GetUsername() (f field.UsernameField, err quickfix.MessageRejectError)

GetUsername gets Username, Tag 553

func (Logon) HasEncryptMethod added in v0.4.0

func (m Logon) HasEncryptMethod() bool

HasEncryptMethod returns true if EncryptMethod is present, Tag 98

func (Logon) HasHeartBtInt added in v0.4.0

func (m Logon) HasHeartBtInt() bool

HasHeartBtInt returns true if HeartBtInt is present, Tag 108

func (Logon) HasMaxMessageSize added in v0.4.0

func (m Logon) HasMaxMessageSize() bool

HasMaxMessageSize returns true if MaxMessageSize is present, Tag 383

func (Logon) HasNextExpectedMsgSeqNum added in v0.4.0

func (m Logon) HasNextExpectedMsgSeqNum() bool

HasNextExpectedMsgSeqNum returns true if NextExpectedMsgSeqNum is present, Tag 789

func (Logon) HasNoMsgTypes added in v0.4.0

func (m Logon) HasNoMsgTypes() bool

HasNoMsgTypes returns true if NoMsgTypes is present, Tag 384

func (Logon) HasPassword added in v0.4.0

func (m Logon) HasPassword() bool

HasPassword returns true if Password is present, Tag 554

func (Logon) HasRawData added in v0.4.0

func (m Logon) HasRawData() bool

HasRawData returns true if RawData is present, Tag 96

func (Logon) HasRawDataLength added in v0.4.0

func (m Logon) HasRawDataLength() bool

HasRawDataLength returns true if RawDataLength is present, Tag 95

func (Logon) HasResetSeqNumFlag added in v0.4.0

func (m Logon) HasResetSeqNumFlag() bool

HasResetSeqNumFlag returns true if ResetSeqNumFlag is present, Tag 141

func (Logon) HasTestMessageIndicator added in v0.4.0

func (m Logon) HasTestMessageIndicator() bool

HasTestMessageIndicator returns true if TestMessageIndicator is present, Tag 464

func (Logon) HasUsername added in v0.4.0

func (m Logon) HasUsername() bool

HasUsername returns true if Username is present, Tag 553

func (Logon) SetEncryptMethod added in v0.4.0

func (m Logon) SetEncryptMethod(v int)

SetEncryptMethod sets EncryptMethod, Tag 98

func (Logon) SetHeartBtInt added in v0.4.0

func (m Logon) SetHeartBtInt(v int)

SetHeartBtInt sets HeartBtInt, Tag 108

func (Logon) SetMaxMessageSize added in v0.4.0

func (m Logon) SetMaxMessageSize(v int)

SetMaxMessageSize sets MaxMessageSize, Tag 383

func (Logon) SetNextExpectedMsgSeqNum added in v0.4.0

func (m Logon) SetNextExpectedMsgSeqNum(v int)

SetNextExpectedMsgSeqNum sets NextExpectedMsgSeqNum, Tag 789

func (Logon) SetNoMsgTypes added in v0.4.0

func (m Logon) SetNoMsgTypes(f NoMsgTypesRepeatingGroup)

SetNoMsgTypes sets NoMsgTypes, Tag 384

func (Logon) SetPassword added in v0.4.0

func (m Logon) SetPassword(v string)

SetPassword sets Password, Tag 554

func (Logon) SetRawData added in v0.4.0

func (m Logon) SetRawData(v string)

SetRawData sets RawData, Tag 96

func (Logon) SetRawDataLength added in v0.4.0

func (m Logon) SetRawDataLength(v int)

SetRawDataLength sets RawDataLength, Tag 95

func (Logon) SetResetSeqNumFlag added in v0.4.0

func (m Logon) SetResetSeqNumFlag(v bool)

SetResetSeqNumFlag sets ResetSeqNumFlag, Tag 141

func (Logon) SetTestMessageIndicator added in v0.4.0

func (m Logon) SetTestMessageIndicator(v bool)

SetTestMessageIndicator sets TestMessageIndicator, Tag 464

func (Logon) SetUsername added in v0.4.0

func (m Logon) SetUsername(v string)

SetUsername sets Username, Tag 553

func (Logon) ToMessage added in v0.4.0

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 added in v0.4.0

func (m NoMsgTypes) GetMsgDirection() (f field.MsgDirectionField, err quickfix.MessageRejectError)

GetMsgDirection gets MsgDirection, Tag 385

func (NoMsgTypes) GetRefMsgType added in v0.4.0

func (m NoMsgTypes) GetRefMsgType() (f field.RefMsgTypeField, err quickfix.MessageRejectError)

GetRefMsgType gets RefMsgType, Tag 372

func (NoMsgTypes) HasMsgDirection added in v0.4.0

func (m NoMsgTypes) HasMsgDirection() bool

HasMsgDirection returns true if MsgDirection is present, Tag 385

func (NoMsgTypes) HasRefMsgType added in v0.4.0

func (m NoMsgTypes) HasRefMsgType() bool

HasRefMsgType returns true if RefMsgType is present, Tag 372

func (NoMsgTypes) SetMsgDirection added in v0.2.0

func (m NoMsgTypes) SetMsgDirection(v string)

SetMsgDirection sets MsgDirection, Tag 385

func (NoMsgTypes) SetRefMsgType added in v0.2.0

func (m NoMsgTypes) SetRefMsgType(v string)

SetRefMsgType sets RefMsgType, Tag 372

type NoMsgTypesRepeatingGroup added in v0.4.0

type NoMsgTypesRepeatingGroup struct {
	*quickfix.RepeatingGroup
}

NoMsgTypesRepeatingGroup is a repeating group, Tag 384

func NewNoMsgTypesRepeatingGroup added in v0.4.0

func NewNoMsgTypesRepeatingGroup() NoMsgTypesRepeatingGroup

NewNoMsgTypesRepeatingGroup returns an initialized, NoMsgTypesRepeatingGroup

func (NoMsgTypesRepeatingGroup) Add added in v0.4.0

Add create and append a new NoMsgTypes to this group

func (NoMsgTypesRepeatingGroup) Get added in v0.4.0

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