email

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

type Email struct {
	fix40.Header
	quickfix.Body
	fix40.Trailer
	//ReceiveTime is the time that this message was read from the socket connection
	ReceiveTime time.Time
}

Email is the fix40 Email type, MsgType = C

func FromMessage added in v0.4.0

func FromMessage(m quickfix.Message) Email

FromMessage creates a Email from a quickfix.Message instance

func New added in v0.2.0

func New(emailtype field.EmailTypeField, linesoftext field.LinesOfTextField, text field.TextField) (m Email)

New returns a Email initialized with the required fields for Email

func (Email) GetClOrdID added in v0.4.0

func (m Email) GetClOrdID() (f field.ClOrdIDField, err quickfix.MessageRejectError)

GetClOrdID gets ClOrdID, Tag 11

func (Email) GetEmailType added in v0.4.0

func (m Email) GetEmailType() (f field.EmailTypeField, err quickfix.MessageRejectError)

GetEmailType gets EmailType, Tag 94

func (Email) GetLinesOfText added in v0.4.0

func (m Email) GetLinesOfText() (f field.LinesOfTextField, err quickfix.MessageRejectError)

GetLinesOfText gets LinesOfText, Tag 33

func (Email) GetOrderID added in v0.4.0

func (m Email) GetOrderID() (f field.OrderIDField, err quickfix.MessageRejectError)

GetOrderID gets OrderID, Tag 37

func (Email) GetOrigTime added in v0.4.0

func (m Email) GetOrigTime() (f field.OrigTimeField, err quickfix.MessageRejectError)

GetOrigTime gets OrigTime, Tag 42

func (Email) GetRawData added in v0.4.0

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

GetRawData gets RawData, Tag 96

func (Email) GetRawDataLength added in v0.4.0

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

GetRawDataLength gets RawDataLength, Tag 95

func (Email) GetRelatdSym added in v0.4.0

func (m Email) GetRelatdSym() (f field.RelatdSymField, err quickfix.MessageRejectError)

GetRelatdSym gets RelatdSym, Tag 46

func (Email) GetText added in v0.4.0

func (m Email) GetText() (f field.TextField, err quickfix.MessageRejectError)

GetText gets Text, Tag 58

func (Email) HasClOrdID added in v0.4.0

func (m Email) HasClOrdID() bool

HasClOrdID returns true if ClOrdID is present, Tag 11

func (Email) HasEmailType added in v0.4.0

func (m Email) HasEmailType() bool

HasEmailType returns true if EmailType is present, Tag 94

func (Email) HasLinesOfText added in v0.4.0

func (m Email) HasLinesOfText() bool

HasLinesOfText returns true if LinesOfText is present, Tag 33

func (Email) HasOrderID added in v0.4.0

func (m Email) HasOrderID() bool

HasOrderID returns true if OrderID is present, Tag 37

func (Email) HasOrigTime added in v0.4.0

func (m Email) HasOrigTime() bool

HasOrigTime returns true if OrigTime is present, Tag 42

func (Email) HasRawData added in v0.4.0

func (m Email) HasRawData() bool

HasRawData returns true if RawData is present, Tag 96

func (Email) HasRawDataLength added in v0.4.0

func (m Email) HasRawDataLength() bool

HasRawDataLength returns true if RawDataLength is present, Tag 95

func (Email) HasRelatdSym added in v0.4.0

func (m Email) HasRelatdSym() bool

HasRelatdSym returns true if RelatdSym is present, Tag 46

func (Email) HasText added in v0.4.0

func (m Email) HasText() bool

HasText returns true if Text is present, Tag 58

func (Email) SetClOrdID added in v0.4.0

func (m Email) SetClOrdID(v string)

SetClOrdID sets ClOrdID, Tag 11

func (Email) SetEmailType added in v0.4.0

func (m Email) SetEmailType(v string)

SetEmailType sets EmailType, Tag 94

func (Email) SetLinesOfText added in v0.4.0

func (m Email) SetLinesOfText(v int)

SetLinesOfText sets LinesOfText, Tag 33

func (Email) SetOrderID added in v0.4.0

func (m Email) SetOrderID(v string)

SetOrderID sets OrderID, Tag 37

func (Email) SetOrigTime added in v0.4.0

func (m Email) SetOrigTime(v time.Time)

SetOrigTime sets OrigTime, Tag 42

func (Email) SetRawData added in v0.4.0

func (m Email) SetRawData(v string)

SetRawData sets RawData, Tag 96

func (Email) SetRawDataLength added in v0.4.0

func (m Email) SetRawDataLength(v int)

SetRawDataLength sets RawDataLength, Tag 95

func (Email) SetRelatdSym added in v0.4.0

func (m Email) SetRelatdSym(v string)

SetRelatdSym sets RelatdSym, Tag 46

func (Email) SetText added in v0.4.0

func (m Email) SetText(v string)

SetText sets Text, Tag 58

func (Email) ToMessage added in v0.4.0

func (m Email) ToMessage() quickfix.Message

ToMessage returns a quickfix.Message instance

type RouteOut

type RouteOut func(msg Email, sessionID quickfix.SessionID) quickfix.MessageRejectError

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL