C# Class Wombat.MamdaAuctionListener

MamdaAuctionListener is a class that specializes in handling Auction updates. Developers provide their own implementation of the MamdaAuctionHandler interface and will be delivered notifications for Auctions and Auction closing prices. An obvious application for this MAMDA class is any kind of Auction tick capture application.
Note: The MamdaAuctionListener class caches Auction-related field values. Among other reasons, caching of these fields makes it possible to provide complete Auction-related callbacks, even when the publisher (e.g., feed handler) is only publishing deltas containing modified fields.
Inheritance: MamdaMsgListener, MamdaAuctionRecap, MamdaAuctionUpdate
Afficher le fichier Open project: OpenMAMA/OpenMAMA Class Usage Examples

Méthodes publiques

Méthode Description
MamdaAuctionListener ( ) : System

Create a specialized Auction listener. This listener handles Auction updates, quote recaps, and Auction gap notifications.

addHandler ( MamdaAuctionHandler handler ) : void

Add a specialized Auction handler. Currently, only one handler can (and must) be registered.

getActivityTime ( ) : System.DateTime
getActivityTimeFieldState ( ) : MamdaFieldState
getEventSeqNum ( ) : long
getEventSeqNumFieldState ( ) : MamdaFieldState
getEventTime ( ) : System.DateTime
getEventTimeFieldState ( ) : MamdaFieldState
getFieldAsString ( Wombat.MamaMsgField field ) : string
getLineTime ( ) : System.DateTime
getLineTimeFieldState ( ) : MamdaFieldState
getPartId ( ) : string
getPartIdFieldState ( ) : MamdaFieldState
getSendTime ( ) : System.DateTime
getSendTimeFieldState ( ) : MamdaFieldState
getSrcTime ( ) : System.DateTime
getSrcTimeFieldState ( ) : MamdaFieldState
getSymbol ( ) : string
getSymbolFieldState ( ) : MamdaFieldState
getUncrossPrice ( ) : Wombat.MamaPrice
getUncrossPriceFieldState ( ) : MamdaFieldState
getUncrossPriceInd ( ) : long
getUncrossPriceIndFieldState ( ) : MamdaFieldState
getUncrossVolume ( ) : double
getUncrossVolumeFieldState ( ) : MamdaFieldState
onMsg ( MamdaSubscription subscription, MamaMsg msg, mamaMsgType msgType ) : void

Private Methods

Méthode Description
addToUpdatersList ( AuctionUpdate updaters, Wombat.MamaFieldDescriptor fieldDesc, AuctionUpdate updater ) : void
clearCache ( MamdaAuctionCache cache ) : void
createUpdaters ( ) : AuctionUpdate[]
handleAuctionMessage ( MamdaSubscription subscription, MamaMsg msg, mamaMsgType msgType ) : void
handleRecap ( MamdaSubscription subscription, MamaMsg msg ) : void
handleUpdate ( MamdaSubscription subscription, MamaMsg msg ) : void
updateFieldStates ( ) : void

Method Details

MamdaAuctionListener() public méthode

Create a specialized Auction listener. This listener handles Auction updates, quote recaps, and Auction gap notifications.
public MamdaAuctionListener ( ) : System
Résultat System

addHandler() public méthode

Add a specialized Auction handler. Currently, only one handler can (and must) be registered.
public addHandler ( MamdaAuctionHandler handler ) : void
handler MamdaAuctionHandler
Résultat void

getActivityTime() public méthode

public getActivityTime ( ) : System.DateTime
Résultat System.DateTime

getActivityTimeFieldState() public méthode

public getActivityTimeFieldState ( ) : MamdaFieldState
Résultat MamdaFieldState

getEventSeqNum() public méthode

public getEventSeqNum ( ) : long
Résultat long

getEventSeqNumFieldState() public méthode

public getEventSeqNumFieldState ( ) : MamdaFieldState
Résultat MamdaFieldState

getEventTime() public méthode

public getEventTime ( ) : System.DateTime
Résultat System.DateTime

getEventTimeFieldState() public méthode

public getEventTimeFieldState ( ) : MamdaFieldState
Résultat MamdaFieldState

getFieldAsString() public méthode

public getFieldAsString ( Wombat.MamaMsgField field ) : string
field Wombat.MamaMsgField
Résultat string

getLineTime() public méthode

public getLineTime ( ) : System.DateTime
Résultat System.DateTime

getLineTimeFieldState() public méthode

public getLineTimeFieldState ( ) : MamdaFieldState
Résultat MamdaFieldState

getPartId() public méthode

public getPartId ( ) : string
Résultat string

getPartIdFieldState() public méthode

public getPartIdFieldState ( ) : MamdaFieldState
Résultat MamdaFieldState

getSendTime() public méthode

public getSendTime ( ) : System.DateTime
Résultat System.DateTime

getSendTimeFieldState() public méthode

public getSendTimeFieldState ( ) : MamdaFieldState
Résultat MamdaFieldState

getSrcTime() public méthode

public getSrcTime ( ) : System.DateTime
Résultat System.DateTime

getSrcTimeFieldState() public méthode

public getSrcTimeFieldState ( ) : MamdaFieldState
Résultat MamdaFieldState

getSymbol() public méthode

public getSymbol ( ) : string
Résultat string

getSymbolFieldState() public méthode

public getSymbolFieldState ( ) : MamdaFieldState
Résultat MamdaFieldState

getUncrossPrice() public méthode

public getUncrossPrice ( ) : Wombat.MamaPrice
Résultat Wombat.MamaPrice

getUncrossPriceFieldState() public méthode

public getUncrossPriceFieldState ( ) : MamdaFieldState
Résultat MamdaFieldState

getUncrossPriceInd() public méthode

public getUncrossPriceInd ( ) : long
Résultat long

getUncrossPriceIndFieldState() public méthode

public getUncrossPriceIndFieldState ( ) : MamdaFieldState
Résultat MamdaFieldState

getUncrossVolume() public méthode

public getUncrossVolume ( ) : double
Résultat double

getUncrossVolumeFieldState() public méthode

public getUncrossVolumeFieldState ( ) : MamdaFieldState
Résultat MamdaFieldState

onMsg() public méthode

public onMsg ( MamdaSubscription subscription, MamaMsg msg, mamaMsgType msgType ) : void
subscription MamdaSubscription
msg MamaMsg
msgType mamaMsgType
Résultat void