C# 클래스 XTAPI_Samples.frmMonitorGateways

MonitorGateways This example demonstrates using the XTAPI to monitor the status of TT Gateways.
상속: System.Windows.Forms.Form
파일 보기 프로젝트 열기: tradingtechnologies/CodeSamples_XTAPI_CSharp

공개 메소드들

메소드 설명
frmMonitorGateways ( ) : System

Upon the application form loading, setup the TTGate object and subscribe to the events.

보호된 메소드들

메소드 설명
Dispose ( bool disposing ) : void

Clean up any resources being used.

비공개 메소드들

메소드 설명
AboutMenuItem_Click ( object sender, System e ) : void

This function displays the About dialog box.

ConnectButton_Click ( object sender, System e ) : void

Open each server that is selected for the exchange.

DisplayStatusUpdate ( string sExchange ) : void

Publish the gateway statuses to the GUI

InitializeComponent ( ) : void

Required method for Designer support - do not modify the contents of this method with the code editor.

Main ( ) : void
gatewayComboBox_SelectedIndexChanged ( object sender, System e ) : void

This event is triggered when the user selects a different exchange.

m_TTGate_OnExchangeMessage ( string sExchange, string sTimeStamp, string sInfo, string sText ) : void

This event is triggered when the gateway sends a informational message.

m_TTGate_OnExchangeStateUpdate ( string sExchange, string sText, int bOpened, int bServerUp ) : void

This event is triggered when the state of a TT Gateway changes.

m_TTGate_OnStatusUpdate ( int lHintMask, string sText ) : void

This event is triggered when the connection with X_TRADER changes.

메소드 상세

Dispose() 보호된 메소드

Clean up any resources being used.
protected Dispose ( bool disposing ) : void
disposing bool
리턴 void

frmMonitorGateways() 공개 메소드

Upon the application form loading, setup the TTGate object and subscribe to the events.
public frmMonitorGateways ( ) : System
리턴 System