usernotification

package
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: Aug 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 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
	//ReceiveTime is the time that this message was read from the socket connection
	ReceiveTime time.Time
}

UserNotification is the fix50sp2 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

GetEncodedText gets EncodedText, Tag 355

func (UserNotification) GetEncodedTextLen

func (m UserNotification) GetEncodedTextLen() (f field.EncodedTextLenField, err quickfix.MessageRejectError)

GetEncodedTextLen gets EncodedTextLen, Tag 354

func (UserNotification) GetText

GetText gets Text, Tag 58

func (UserNotification) GetUserStatus

GetUserStatus gets UserStatus, Tag 926

func (UserNotification) GetUsername

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 int)

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