Package com.caplin.trading
Interface BlotterMessage
-
@Deprecated public interface BlotterMessage
Deprecated.A message that will be sent on a BlotterChannel to a particular users blotter.A BlotterMessage instance is created using
Deprecated: Use the new Blotter API (com.caplin.datasource.blotter).BlotterChannel.createBlotterMessage()
, has fields added to it using theaddField(String, String)
method and is sent usingBlotterChannel.sendBlotterMessage(BlotterMessage)
.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description void
addField(java.lang.String fieldName, java.lang.String value)
Deprecated.Adds a field to the blotter message.java.lang.String
getField(java.lang.String fieldName)
Deprecated.Gets a field from the blotter message.java.util.Map<java.lang.String,java.lang.String>
getFields()
Deprecated.Gets a map of all the fields.
-
-
-
Method Detail
-
addField
void addField(java.lang.String fieldName, java.lang.String value)
Deprecated.Adds a field to the blotter message.- Parameters:
fieldName
- The name of the field to set.value
- The value to set the field to.
-
getField
java.lang.String getField(java.lang.String fieldName)
Deprecated.Gets a field from the blotter message.- Parameters:
fieldName
- The name of the field.- Returns:
- The value of the named field.
-
getFields
java.util.Map<java.lang.String,java.lang.String> getFields()
Deprecated.Gets a map of all the fields.- Returns:
- A map containing all the fields.
-
-