Method | Description | |
---|---|---|
OnContracts ( ITTGateway Gateway, ITTProduct Product, ITTContractCollection contracts ) : void |
TT Gateways deliver a list of contracts associated with the product
|
|
OnGateway ( ITTGateway Gateway ) : void |
TT Gateways are found in response to a RequestGateways method call or when TT Gateways become available.
|
|
OnGatewayAttributes ( ITTGateway Gateway, string attributeList, enumServiceType service ) : void |
MEAPI recieves the gateway attribute list (GAL settings) for the TT Gateway.
|
|
OnNewContract ( ITTGateway Gateway, ITTProduct Product, ITTContractInfo contractInfo ) : void |
TT Gateways add new contracts for a product
|
|
OnNewProduct ( ITTGateway Gateway, ITTProduct Product ) : void |
TT Gateway recieves new products from an exchange.
|
|
OnProductTypes ( ITTGateway Gateway, object productTypes, object productTypesAsString ) : void |
TT Gateways return a list of product types hosted on the TT Gateway
|
|
OnProducts ( ITTGateway Gateway, ITTProductCollection Products ) : void |
TT Gateways return a list of products hosted on the TT Gateway
|
|
OnProductsFound ( ITTGateway Gateway, ITTProductCollection Products ) : void |
TT Gateways find products that match a product request
|
|
OnProductsNotFound ( ITTGateway Gateway ) : void |
TT Gateways find no products matching a product request or query.
|
|
OnRequestContractsTimeout ( ITTGateway Gateway, ITTProduct Product ) : void |
Contract download times out
|
|
OnRequestProductsTimeout ( ITTGateway Gateway ) : void |
TT Gateways timeout on a product request
|
|
OnServerStatus ( ITTGateway Gateway, enumServiceType service, int IsAvailable, int IsLoggedIn ) : void |
Status of a TT Gateway server change
|
|
PublishGatewayName ( string gatewayName ) : void |
Add the gateway to the GUI
|
|
PublishProductTypes ( string prodTypes, int prodIndices ) : void |
Add the product types to the GUI
|
|
PublishProducts ( |
Add the products to the GUI
|
|
frmMEAPI ( ) : System |
Upon the application form loading, the TTMarketExplorer is instantiated.
|
Method | Description | |
---|---|---|
Dispose ( bool disposing ) : void |
Clean up any resources being used.
|
Method | Description | |
---|---|---|
InitializeComponent ( ) : void |
Required method for Designer support - do not modify the contents of this method with the code editor.
|
|
ReleaseProductEventHandlers ( ) : void |
Unregister all the event handlers belonging to the products
|
|
aboutToolStripMenuItem_Click ( object sender, |
||
btnReqestGateways_Click ( object sender, |
Request gateways
|
|
lbGateways_SelectedIndexChanged ( object sender, |
Gateway has been selected
|
|
lbProductTypes_SelectedIndexChanged ( object sender, |
Product has been selected
|
|
mainWindow_FormClosed ( object sender, System.Windows.Forms.FormClosedEventArgs e ) : void | ||
tvProductList_ItemDrag ( object sender, |
Contract has begun it's drag event
|
|
tvProductList_NodeMouseClick ( object sender, |
Save the parent when the child has been clicked - used to find the correct contract to drag
|
protected Dispose ( bool disposing ) : void | ||
disposing | bool | true if managed resources should be disposed; otherwise, false. |
return | void |
public OnContracts ( ITTGateway Gateway, ITTProduct Product, ITTContractCollection contracts ) : void | ||
Gateway | ITTGateway | TT Gateway on which the product contracts trade |
Product | ITTProduct | Product associated with the contracts |
contracts | ITTContractCollection | Collection of the contracts available for the product |
return | void |
public OnGateway ( ITTGateway Gateway ) : void | ||
Gateway | ITTGateway | The TT Gateway object found by the MEAPI |
return | void |
public OnGatewayAttributes ( ITTGateway Gateway, string attributeList, enumServiceType service ) : void | ||
Gateway | ITTGateway | TT Gateway whose GAL settings changed |
attributeList | string | Comma-separated list of GAL name-value pairs |
service | enumServiceType | Service that started or restarted |
return | void |
public OnNewContract ( ITTGateway Gateway, ITTProduct Product, ITTContractInfo contractInfo ) : void | ||
Gateway | ITTGateway | TT Gateway on which the product was added |
Product | ITTProduct | Product associated with the new contract |
contractInfo | ITTContractInfo | New Contract |
return | void |
public OnNewProduct ( ITTGateway Gateway, ITTProduct Product ) : void | ||
Gateway | ITTGateway | |
Product | ITTProduct | |
return | void |
public OnProductTypes ( ITTGateway Gateway, object productTypes, object productTypesAsString ) : void | ||
Gateway | ITTGateway | TT Gateway containing the product types |
productTypes | object | Array of product type IDs |
productTypesAsString | object | Array of product type names |
return | void |
public OnProducts ( ITTGateway Gateway, ITTProductCollection Products ) : void | ||
Gateway | ITTGateway | TT Gateway whose products are requested |
Products | ITTProductCollection | Prodcut collection from the gateway |
return | void |
public OnProductsFound ( ITTGateway Gateway, ITTProductCollection Products ) : void | ||
Gateway | ITTGateway | TT Gateway containing the products |
Products | ITTProductCollection | Collection of products returned by the TT Gateway |
return | void |
public OnProductsNotFound ( ITTGateway Gateway ) : void | ||
Gateway | ITTGateway | TT Gateway from which you requested products |
return | void |
public OnRequestContractsTimeout ( ITTGateway Gateway, ITTProduct Product ) : void | ||
Gateway | ITTGateway | TT Gateway on which the contracts product trades |
Product | ITTProduct | Product associated with the contract |
return | void |
public OnRequestProductsTimeout ( ITTGateway Gateway ) : void | ||
Gateway | ITTGateway | TT Gateway which timed out |
return | void |
public OnServerStatus ( ITTGateway Gateway, enumServiceType service, int IsAvailable, int IsLoggedIn ) : void | ||
Gateway | ITTGateway | Gateway affected by the server status change |
service | enumServiceType | Service whose status changed. |
IsAvailable | int | Current status of the service |
IsLoggedIn | int | Current logged in status |
return | void |
public PublishGatewayName ( string gatewayName ) : void | ||
gatewayName | string | Gateway name |
return | void |
public PublishProductTypes ( string prodTypes, int prodIndices ) : void | ||
prodTypes | string | Array of product types |
prodIndices | int | Array of the product indices (current not used) |
return | void |
public PublishProducts ( |
||
prodNode | Product TreeNode | |
return | void |