C# 클래스 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.
상속: MamdaMsgListener, MamdaAuctionRecap, MamdaAuctionUpdate
파일 보기 프로젝트 열기: OpenMAMA/OpenMAMA 1 사용 예제들

공개 메소드들

메소드 설명
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

비공개 메소드들

메소드 설명
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

메소드 상세

MamdaAuctionListener() 공개 메소드

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

addHandler() 공개 메소드

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

getActivityTime() 공개 메소드

public getActivityTime ( ) : System.DateTime
리턴 System.DateTime

getActivityTimeFieldState() 공개 메소드

public getActivityTimeFieldState ( ) : MamdaFieldState
리턴 MamdaFieldState

getEventSeqNum() 공개 메소드

public getEventSeqNum ( ) : long
리턴 long

getEventSeqNumFieldState() 공개 메소드

public getEventSeqNumFieldState ( ) : MamdaFieldState
리턴 MamdaFieldState

getEventTime() 공개 메소드

public getEventTime ( ) : System.DateTime
리턴 System.DateTime

getEventTimeFieldState() 공개 메소드

public getEventTimeFieldState ( ) : MamdaFieldState
리턴 MamdaFieldState

getFieldAsString() 공개 메소드

public getFieldAsString ( Wombat.MamaMsgField field ) : string
field Wombat.MamaMsgField
리턴 string

getLineTime() 공개 메소드

public getLineTime ( ) : System.DateTime
리턴 System.DateTime

getLineTimeFieldState() 공개 메소드

public getLineTimeFieldState ( ) : MamdaFieldState
리턴 MamdaFieldState

getPartId() 공개 메소드

public getPartId ( ) : string
리턴 string

getPartIdFieldState() 공개 메소드

public getPartIdFieldState ( ) : MamdaFieldState
리턴 MamdaFieldState

getSendTime() 공개 메소드

public getSendTime ( ) : System.DateTime
리턴 System.DateTime

getSendTimeFieldState() 공개 메소드

public getSendTimeFieldState ( ) : MamdaFieldState
리턴 MamdaFieldState

getSrcTime() 공개 메소드

public getSrcTime ( ) : System.DateTime
리턴 System.DateTime

getSrcTimeFieldState() 공개 메소드

public getSrcTimeFieldState ( ) : MamdaFieldState
리턴 MamdaFieldState

getSymbol() 공개 메소드

public getSymbol ( ) : string
리턴 string

getSymbolFieldState() 공개 메소드

public getSymbolFieldState ( ) : MamdaFieldState
리턴 MamdaFieldState

getUncrossPrice() 공개 메소드

public getUncrossPrice ( ) : Wombat.MamaPrice
리턴 Wombat.MamaPrice

getUncrossPriceFieldState() 공개 메소드

public getUncrossPriceFieldState ( ) : MamdaFieldState
리턴 MamdaFieldState

getUncrossPriceInd() 공개 메소드

public getUncrossPriceInd ( ) : long
리턴 long

getUncrossPriceIndFieldState() 공개 메소드

public getUncrossPriceIndFieldState ( ) : MamdaFieldState
리턴 MamdaFieldState

getUncrossVolume() 공개 메소드

public getUncrossVolume ( ) : double
리턴 double

getUncrossVolumeFieldState() 공개 메소드

public getUncrossVolumeFieldState ( ) : MamdaFieldState
리턴 MamdaFieldState

onMsg() 공개 메소드

public onMsg ( MamdaSubscription subscription, MamaMsg msg, mamaMsgType msgType ) : void
subscription MamdaSubscription
msg MamaMsg
msgType mamaMsgType
리턴 void