logout

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: Sep 1, 2016 License: Apache-1.1 Imports: 5 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 {
	fix40.Header
	quickfix.Body
	fix40.Trailer
	//ReceiveTime is the time that this message was read from the socket connection
	ReceiveTime time.Time
}

Logout is the fix40 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() (f field.TextField, 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