usernotification

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 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 added in v0.4.0

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 added in v0.4.0

func FromMessage(m quickfix.Message) UserNotification

FromMessage creates a UserNotification from a quickfix.Message instance

func New added in v0.2.0

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

New returns a UserNotification initialized with the required fields for UserNotification

func (UserNotification) GetEncodedText added in v0.4.0

GetEncodedText gets EncodedText, Tag 355

func (UserNotification) GetEncodedTextLen added in v0.4.0

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

GetEncodedTextLen gets EncodedTextLen, Tag 354

func (UserNotification) GetText added in v0.4.0

GetText gets Text, Tag 58

func (UserNotification) GetUserStatus added in v0.4.0

GetUserStatus gets UserStatus, Tag 926

func (UserNotification) GetUsername added in v0.4.0

GetUsername gets Username, Tag 553

func (UserNotification) HasEncodedText added in v0.4.0

func (m UserNotification) HasEncodedText() bool

HasEncodedText returns true if EncodedText is present, Tag 355

func (UserNotification) HasEncodedTextLen added in v0.4.0

func (m UserNotification) HasEncodedTextLen() bool

HasEncodedTextLen returns true if EncodedTextLen is present, Tag 354

func (UserNotification) HasText added in v0.4.0

func (m UserNotification) HasText() bool

HasText returns true if Text is present, Tag 58

func (UserNotification) HasUserStatus added in v0.4.0

func (m UserNotification) HasUserStatus() bool

HasUserStatus returns true if UserStatus is present, Tag 926

func (UserNotification) HasUsername added in v0.4.0

func (m UserNotification) HasUsername() bool

HasUsername returns true if Username is present, Tag 553

func (UserNotification) SetEncodedText added in v0.4.0

func (m UserNotification) SetEncodedText(v string)

SetEncodedText sets EncodedText, Tag 355

func (UserNotification) SetEncodedTextLen added in v0.4.0

func (m UserNotification) SetEncodedTextLen(v int)

SetEncodedTextLen sets EncodedTextLen, Tag 354

func (UserNotification) SetText added in v0.4.0

func (m UserNotification) SetText(v string)

SetText sets Text, Tag 58

func (UserNotification) SetUserStatus added in v0.4.0

func (m UserNotification) SetUserStatus(v int)

SetUserStatus sets UserStatus, Tag 926

func (UserNotification) SetUsername added in v0.4.0

func (m UserNotification) SetUsername(v string)

SetUsername sets Username, Tag 553

func (UserNotification) ToMessage added in v0.4.0

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