logon

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Apr 19, 2016 License: Apache-1.1 Imports: 3 Imported by: 0

Documentation

Overview

Package logon msg type = A.

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 Message

type Message struct {
	FIXMsgType string `fix:"A"`
	fix44.Header
	//EncryptMethod is a required field for Logon.
	EncryptMethod int `fix:"98"`
	//HeartBtInt is a required field for Logon.
	HeartBtInt int `fix:"108"`
	//RawDataLength is a non-required field for Logon.
	RawDataLength *int `fix:"95"`
	//RawData is a non-required field for Logon.
	RawData *string `fix:"96"`
	//ResetSeqNumFlag is a non-required field for Logon.
	ResetSeqNumFlag *bool `fix:"141"`
	//NextExpectedMsgSeqNum is a non-required field for Logon.
	NextExpectedMsgSeqNum *int `fix:"789"`
	//MaxMessageSize is a non-required field for Logon.
	MaxMessageSize *int `fix:"383"`
	//NoMsgTypes is a non-required field for Logon.
	NoMsgTypes []NoMsgTypes `fix:"384,omitempty"`
	//TestMessageIndicator is a non-required field for Logon.
	TestMessageIndicator *bool `fix:"464"`
	//Username is a non-required field for Logon.
	Username *string `fix:"553"`
	//Password is a non-required field for Logon.
	Password *string `fix:"554"`
	fix44.Trailer
}

Message is a Logon FIX Message

func New added in v0.2.0

func New(encryptmethod int, heartbtint int) *Message

New returns an initialized Logon instance

func (Message) Marshal

func (m Message) Marshal() quickfix.Message

Marshal converts Message to a quickfix.Message instance

func (*Message) SetEncryptMethod added in v0.2.0

func (m *Message) SetEncryptMethod(v int)

func (*Message) SetHeartBtInt added in v0.2.0

func (m *Message) SetHeartBtInt(v int)

func (*Message) SetMaxMessageSize added in v0.2.0

func (m *Message) SetMaxMessageSize(v int)

func (*Message) SetNextExpectedMsgSeqNum added in v0.2.0

func (m *Message) SetNextExpectedMsgSeqNum(v int)

func (*Message) SetNoMsgTypes added in v0.2.0

func (m *Message) SetNoMsgTypes(v []NoMsgTypes)

func (*Message) SetPassword added in v0.2.0

func (m *Message) SetPassword(v string)

func (*Message) SetRawData added in v0.2.0

func (m *Message) SetRawData(v string)

func (*Message) SetRawDataLength added in v0.2.0

func (m *Message) SetRawDataLength(v int)

func (*Message) SetResetSeqNumFlag added in v0.2.0

func (m *Message) SetResetSeqNumFlag(v bool)

func (*Message) SetTestMessageIndicator added in v0.2.0

func (m *Message) SetTestMessageIndicator(v bool)

func (*Message) SetUsername added in v0.2.0

func (m *Message) SetUsername(v string)

type NoMsgTypes

type NoMsgTypes struct {
	//RefMsgType is a non-required field for NoMsgTypes.
	RefMsgType *string `fix:"372"`
	//MsgDirection is a non-required field for NoMsgTypes.
	MsgDirection *string `fix:"385"`
}

NoMsgTypes is a repeating group in Logon

func NewNoMsgTypes added in v0.2.0

func NewNoMsgTypes() *NoMsgTypes

NewNoMsgTypes returns an initialized NoMsgTypes instance

func (*NoMsgTypes) SetMsgDirection added in v0.2.0

func (m *NoMsgTypes) SetMsgDirection(v string)

func (*NoMsgTypes) SetRefMsgType added in v0.2.0

func (m *NoMsgTypes) SetRefMsgType(v string)

type RouteOut

type RouteOut func(msg Message, 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