logout

package
v1.2.0 Latest Latest
Warning

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

Go to latest
Published: Apr 10, 2023 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 added in v0.4.0

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

Logout is the fix42 Logout type, MsgType = 5.

func FromMessage added in v0.4.0

func FromMessage(m *quickfix.Message) Logout

FromMessage creates a Logout from a quickfix.Message instance.

func New added in v0.2.0

func New() (m Logout)

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

func (Logout) GetEncodedText added in v0.4.0

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

GetEncodedText gets EncodedText, Tag 355.

func (Logout) GetEncodedTextLen added in v0.4.0

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

GetEncodedTextLen gets EncodedTextLen, Tag 354.

func (Logout) GetText added in v0.4.0

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

GetText gets Text, Tag 58.

func (Logout) HasEncodedText added in v0.4.0

func (m Logout) HasEncodedText() bool

HasEncodedText returns true if EncodedText is present, Tag 355.

func (Logout) HasEncodedTextLen added in v0.4.0

func (m Logout) HasEncodedTextLen() bool

HasEncodedTextLen returns true if EncodedTextLen is present, Tag 354.

func (Logout) HasText added in v0.4.0

func (m Logout) HasText() bool

HasText returns true if Text is present, Tag 58.

func (Logout) SetEncodedText added in v0.4.0

func (m Logout) SetEncodedText(v string)

SetEncodedText sets EncodedText, Tag 355.

func (Logout) SetEncodedTextLen added in v0.4.0

func (m Logout) SetEncodedTextLen(v int)

SetEncodedTextLen sets EncodedTextLen, Tag 354.

func (Logout) SetText added in v0.4.0

func (m Logout) SetText(v string)

SetText sets Text, Tag 58.

func (Logout) ToMessage added in v0.4.0

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