com.apama.md.bridge
Event ConfigMDBridge
This event can either be sent by the user to the default Market Data Bridge service, or alternatively, it can be passed in as a parameter to the createBridge() action of the MDBridgeInterface to create a new Market Data Bridge with custom extensions.
-
Since:
- CMF 2.0.0
-
See Also:
-
com.apama.md.bridge.MDBridgeInterface - The interface that is used to create new Market Data Bridge sessions
Member summary |
string | serviceId
The service ID of the legacy adapter connection to use. |
string | marketId
The market ID of the legacy adapter connection to use. |
sequence<string> | streamTypes
The streamTypes supported by this adapter (e.g. com.apama.md.BBA, com.apama.md.T, etc). |
dictionary<string, string> | extraConfig
A dictionary for any other extra parameters, such as Exchange. |
Action summary |
string |
getParam(string paramName)
This function gets the value (as a string) of the specified parameter name that has been added to this list of Bridge Config extra parameters. |
string |
getSessionName()
This is a helper function to create a Session Name from the ServiceID and MarketID of the Market Data Bridge connection. |
boolean |
hasParam(string paramName)
This function allows the user to check whether the specified parameter name has been added to this list of Bridge Config extra parameters. |
extraConfig
dictionary<string, string> extraConfig
A dictionary for any other extra parameters, such as Exchange.
marketId
string marketId
The market ID of the legacy adapter connection to use.
serviceId
string serviceId
The service ID of the legacy adapter connection to use.
streamTypes
sequence<string> streamTypes
The streamTypes supported by this adapter (e.g. com.apama.md.BBA, com.apama.md.T, etc).
getParam
string getParam(string paramName)
This function gets the value (as a string) of the specified parameter name that has been added to this list of Bridge Config extra parameters.
-
Parameters:
-
paramName - The name of the parameter to get the value for from the list
-
Returns:
- The value (as a string) if it has been added, or an empty string if the parameter has not been added to the list
getSessionName
string getSessionName()
This is a helper function to create a Session Name from the ServiceID and MarketID of the Market Data Bridge connection.
-
Returns:
- A Session Name based on the legacy ServiceID and MarketID
hasParam
boolean hasParam(string paramName)
This function allows the user to check whether the specified parameter name has been added to this list of Bridge Config extra parameters.
-
Parameters:
-
paramName - The name of the parameter to check has been added to the list
-
Returns:
- true if the configuration parameter exists, false otherwise