userresponse

package
v0.6.0 Latest Latest
Warning

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

Go to latest
Published: Aug 14, 2017 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 UserResponse, sessionID quickfix.SessionID) quickfix.MessageRejectError

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

type UserResponse

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

UserResponse is the fix50sp2 UserResponse type, MsgType = BF

func FromMessage

func FromMessage(m *quickfix.Message) UserResponse

FromMessage creates a UserResponse from a quickfix.Message instance

func New

func New(userrequestid field.UserRequestIDField, username field.UsernameField) (m UserResponse)

New returns a UserResponse initialized with the required fields for UserResponse

func (UserResponse) GetUserRequestID

func (m UserResponse) GetUserRequestID() (v string, err quickfix.MessageRejectError)

GetUserRequestID gets UserRequestID, Tag 923

func (UserResponse) GetUserStatus

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

GetUserStatus gets UserStatus, Tag 926

func (UserResponse) GetUserStatusText

func (m UserResponse) GetUserStatusText() (v string, err quickfix.MessageRejectError)

GetUserStatusText gets UserStatusText, Tag 927

func (UserResponse) GetUsername

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

GetUsername gets Username, Tag 553

func (UserResponse) HasUserRequestID

func (m UserResponse) HasUserRequestID() bool

HasUserRequestID returns true if UserRequestID is present, Tag 923

func (UserResponse) HasUserStatus

func (m UserResponse) HasUserStatus() bool

HasUserStatus returns true if UserStatus is present, Tag 926

func (UserResponse) HasUserStatusText

func (m UserResponse) HasUserStatusText() bool

HasUserStatusText returns true if UserStatusText is present, Tag 927

func (UserResponse) HasUsername

func (m UserResponse) HasUsername() bool

HasUsername returns true if Username is present, Tag 553

func (UserResponse) SetUserRequestID

func (m UserResponse) SetUserRequestID(v string)

SetUserRequestID sets UserRequestID, Tag 923

func (UserResponse) SetUserStatus

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

SetUserStatus sets UserStatus, Tag 926

func (UserResponse) SetUserStatusText

func (m UserResponse) SetUserStatusText(v string)

SetUserStatusText sets UserStatusText, Tag 927

func (UserResponse) SetUsername

func (m UserResponse) SetUsername(v string)

SetUsername sets Username, Tag 553

func (UserResponse) ToMessage

func (m UserResponse) 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