userrequest

package
Version: 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 UserRequest, sessionID quickfix.SessionID) quickfix.MessageRejectError

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

type UserRequest

type UserRequest struct {
	fix44.Header
	*quickfix.Body
	fix44.Trailer
	Message *quickfix.Message
}

UserRequest is the fix44 UserRequest type, MsgType = BE

func FromMessage

func FromMessage(m *quickfix.Message) UserRequest

FromMessage creates a UserRequest from a quickfix.Message instance

func New

func New(userrequestid field.UserRequestIDField, userrequesttype field.UserRequestTypeField, username field.UsernameField) (m UserRequest)

New returns a UserRequest initialized with the required fields for UserRequest

func (UserRequest) GetNewPassword

func (m UserRequest) GetNewPassword() (v string, err quickfix.MessageRejectError)

GetNewPassword gets NewPassword, Tag 925

func (UserRequest) GetPassword

func (m UserRequest) GetPassword() (v string, err quickfix.MessageRejectError)

GetPassword gets Password, Tag 554

func (UserRequest) GetRawData

func (m UserRequest) GetRawData() (v string, err quickfix.MessageRejectError)

GetRawData gets RawData, Tag 96

func (UserRequest) GetRawDataLength

func (m UserRequest) GetRawDataLength() (v int, err quickfix.MessageRejectError)

GetRawDataLength gets RawDataLength, Tag 95

func (UserRequest) GetUserRequestID

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

GetUserRequestID gets UserRequestID, Tag 923

func (UserRequest) GetUserRequestType

func (m UserRequest) GetUserRequestType() (v enum.UserRequestType, err quickfix.MessageRejectError)

GetUserRequestType gets UserRequestType, Tag 924

func (UserRequest) GetUsername

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

GetUsername gets Username, Tag 553

func (UserRequest) HasNewPassword

func (m UserRequest) HasNewPassword() bool

HasNewPassword returns true if NewPassword is present, Tag 925

func (UserRequest) HasPassword

func (m UserRequest) HasPassword() bool

HasPassword returns true if Password is present, Tag 554

func (UserRequest) HasRawData

func (m UserRequest) HasRawData() bool

HasRawData returns true if RawData is present, Tag 96

func (UserRequest) HasRawDataLength

func (m UserRequest) HasRawDataLength() bool

HasRawDataLength returns true if RawDataLength is present, Tag 95

func (UserRequest) HasUserRequestID

func (m UserRequest) HasUserRequestID() bool

HasUserRequestID returns true if UserRequestID is present, Tag 923

func (UserRequest) HasUserRequestType

func (m UserRequest) HasUserRequestType() bool

HasUserRequestType returns true if UserRequestType is present, Tag 924

func (UserRequest) HasUsername

func (m UserRequest) HasUsername() bool

HasUsername returns true if Username is present, Tag 553

func (UserRequest) SetNewPassword

func (m UserRequest) SetNewPassword(v string)

SetNewPassword sets NewPassword, Tag 925

func (UserRequest) SetPassword

func (m UserRequest) SetPassword(v string)

SetPassword sets Password, Tag 554

func (UserRequest) SetRawData

func (m UserRequest) SetRawData(v string)

SetRawData sets RawData, Tag 96

func (UserRequest) SetRawDataLength

func (m UserRequest) SetRawDataLength(v int)

SetRawDataLength sets RawDataLength, Tag 95

func (UserRequest) SetUserRequestID

func (m UserRequest) SetUserRequestID(v string)

SetUserRequestID sets UserRequestID, Tag 923

func (UserRequest) SetUserRequestType

func (m UserRequest) SetUserRequestType(v enum.UserRequestType)

SetUserRequestType sets UserRequestType, Tag 924

func (UserRequest) SetUsername

func (m UserRequest) SetUsername(v string)

SetUsername sets Username, Tag 553

func (UserRequest) ToMessage

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

ToMessage returns a quickfix.Message instance

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
t or T : Toggle theme light dark auto