logon

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Jun 3, 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"`
	fix41.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 *string `fix:"141"`
	fix41.Trailer
}

Message is a Logon FIX Message

func New

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

func (m *Message) SetEncryptMethod(v int)

func (*Message) SetHeartBtInt

func (m *Message) SetHeartBtInt(v int)

func (*Message) SetRawData

func (m *Message) SetRawData(v string)

func (*Message) SetRawDataLength

func (m *Message) SetRawDataLength(v int)

func (*Message) SetResetSeqNumFlag

func (m *Message) SetResetSeqNumFlag(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