userrequest

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

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() (f field.NewPasswordField, err quickfix.MessageRejectError)

GetNewPassword gets NewPassword, Tag 925

func (UserRequest) GetPassword

func (m UserRequest) GetPassword() (f field.PasswordField, err quickfix.MessageRejectError)

GetPassword gets Password, Tag 554

func (UserRequest) GetRawData

func (m UserRequest) GetRawData() (f field.RawDataField, err quickfix.MessageRejectError)

GetRawData gets RawData, Tag 96

func (UserRequest) GetRawDataLength

func (m UserRequest) GetRawDataLength() (f field.RawDataLengthField, err quickfix.MessageRejectError)

GetRawDataLength gets RawDataLength, Tag 95

func (UserRequest) GetUserRequestID

func (m UserRequest) GetUserRequestID() (f field.UserRequestIDField, err quickfix.MessageRejectError)

GetUserRequestID gets UserRequestID, Tag 923

func (UserRequest) GetUserRequestType

func (m UserRequest) GetUserRequestType() (f field.UserRequestTypeField, err quickfix.MessageRejectError)

GetUserRequestType gets UserRequestType, Tag 924

func (UserRequest) GetUsername

func (m UserRequest) GetUsername() (f field.UsernameField, 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 int)

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
y or Y : Canonical URL