logout

package
v1.0.6 Latest Latest
Warning

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

Go to latest
Published: Aug 24, 2022 License: Apache-1.1 Imports: 4 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 Logout

type Logout struct {
	fix43.Header
	*quickfix.Body
	fix43.Trailer
	Message *quickfix.Message
}

Logout is the fix43 Logout type, MsgType = 5.

func FromMessage

func FromMessage(m *quickfix.Message) Logout

FromMessage creates a Logout from a quickfix.Message instance.

func New

func New() (m Logout)

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

func (Logout) GetEncodedText

func (m Logout) GetEncodedText() (v string, err quickfix.MessageRejectError)

GetEncodedText gets EncodedText, Tag 355.

func (Logout) GetEncodedTextLen

func (m Logout) GetEncodedTextLen() (v int, err quickfix.MessageRejectError)

GetEncodedTextLen gets EncodedTextLen, Tag 354.

func (Logout) GetText

func (m Logout) GetText() (v string, err quickfix.MessageRejectError)

GetText gets Text, Tag 58.

func (Logout) HasEncodedText

func (m Logout) HasEncodedText() bool

HasEncodedText returns true if EncodedText is present, Tag 355.

func (Logout) HasEncodedTextLen

func (m Logout) HasEncodedTextLen() bool

HasEncodedTextLen returns true if EncodedTextLen is present, Tag 354.

func (Logout) HasText

func (m Logout) HasText() bool

HasText returns true if Text is present, Tag 58.

func (Logout) SetEncodedText

func (m Logout) SetEncodedText(v string)

SetEncodedText sets EncodedText, Tag 355.

func (Logout) SetEncodedTextLen

func (m Logout) SetEncodedTextLen(v int)

SetEncodedTextLen sets EncodedTextLen, Tag 354.

func (Logout) SetText

func (m Logout) SetText(v string)

SetText sets Text, Tag 58.

func (Logout) ToMessage

func (m Logout) ToMessage() *quickfix.Message

ToMessage returns a quickfix.Message instance.

type RouteOut

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