logout

package
v1.2.0 Latest Latest
Warning

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

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

Logout is the fix41 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) GetText

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

GetText gets Text, Tag 58.

func (Logout) HasText

func (m Logout) HasText() bool

HasText returns true if Text is present, Tag 58.

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