usernotification

package
v0.6.1 Latest Latest
Warning

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

Go to latest
Published: Oct 26, 2021 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 RouteOut

type RouteOut func(msg UserNotification, sessionID quickfix.SessionID) quickfix.MessageRejectError

A RouteOut is the callback type that should be implemented for routing Message.

type UserNotification

type UserNotification struct {
	fixt11.Header
	*quickfix.Body
	fixt11.Trailer
	Message *quickfix.Message
}

UserNotification is the fix50sp1 UserNotification type, MsgType = CB.

func FromMessage

func FromMessage(m *quickfix.Message) UserNotification

FromMessage creates a UserNotification from a quickfix.Message instance.

func New

func New(userstatus field.UserStatusField) (m UserNotification)

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

func (UserNotification) GetEncodedText

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

GetEncodedText gets EncodedText, Tag 355.

func (UserNotification) GetEncodedTextLen

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

GetEncodedTextLen gets EncodedTextLen, Tag 354.

func (UserNotification) GetText

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

GetText gets Text, Tag 58.

func (UserNotification) GetUserStatus

func (m UserNotification) GetUserStatus() (v enum.UserStatus, err quickfix.MessageRejectError)

GetUserStatus gets UserStatus, Tag 926.

func (UserNotification) GetUsername

func (m UserNotification) GetUsername() (v string, err quickfix.MessageRejectError)

GetUsername gets Username, Tag 553.

func (UserNotification) HasEncodedText

func (m UserNotification) HasEncodedText() bool

HasEncodedText returns true if EncodedText is present, Tag 355.

func (UserNotification) HasEncodedTextLen

func (m UserNotification) HasEncodedTextLen() bool

HasEncodedTextLen returns true if EncodedTextLen is present, Tag 354.

func (UserNotification) HasText

func (m UserNotification) HasText() bool

HasText returns true if Text is present, Tag 58.

func (UserNotification) HasUserStatus

func (m UserNotification) HasUserStatus() bool

HasUserStatus returns true if UserStatus is present, Tag 926.

func (UserNotification) HasUsername

func (m UserNotification) HasUsername() bool

HasUsername returns true if Username is present, Tag 553.

func (UserNotification) SetEncodedText

func (m UserNotification) SetEncodedText(v string)

SetEncodedText sets EncodedText, Tag 355.

func (UserNotification) SetEncodedTextLen

func (m UserNotification) SetEncodedTextLen(v int)

SetEncodedTextLen sets EncodedTextLen, Tag 354.

func (UserNotification) SetText

func (m UserNotification) SetText(v string)

SetText sets Text, Tag 58.

func (UserNotification) SetUserStatus

func (m UserNotification) SetUserStatus(v enum.UserStatus)

SetUserStatus sets UserStatus, Tag 926.

func (UserNotification) SetUsername

func (m UserNotification) SetUsername(v string)

SetUsername sets Username, Tag 553.

func (UserNotification) ToMessage

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

ToMessage returns a quickfix.Message instance.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL