@Deprecated
public interface BlotterChannel
A user may have zero or more BlotterChannels open, with different parameters. These would typically be one per differently configured blotter on the front-end.
Deprecated: Use the new Blotter API (com.caplin.datasource.blotter).Modifier and Type | Method and Description |
---|---|
void |
close()
Deprecated.
Closes this
BlotterChannel . |
BlotterMessage |
createBlotterMessage()
Deprecated.
Creates a blotter message that will be sent to the user on this channel.
|
java.lang.String |
getParameters()
Deprecated.
Gets the parameters of the channel.
|
java.lang.String |
getUserName()
Deprecated.
Gets the username of the user represented by this channel
|
void |
initialise()
Deprecated.
This is an internal method.
|
boolean |
sendBlotterItem(java.lang.String subject)
Deprecated.
Sends a record update for the requested blotter item (container based blotters only).
|
void |
sendBlotterMessage(BlotterMessage blotterMessage)
Deprecated.
Sends a blotter message across this channel.
|
java.lang.String getUserName()
java.lang.String getParameters()
Currently the parameters are the full name of the subject requested, this is liable to change to become more structured in future releases of the API.
BlotterMessage createBlotterMessage()
void sendBlotterMessage(BlotterMessage blotterMessage) throws BlotterClosedException
blotterMessage
- The BlotterMessage.BlotterClosedException
- The Blotter channel is not valid.boolean sendBlotterItem(java.lang.String subject)
subject
- The requested Blotter record.BlotterChannel
void initialise()
void close()
BlotterChannel
. After this method is called, any attempt to send messages down
the BlotterChannel will cause a RuntimeException to be thrown. Application code does not need to call this method,
it is called internally by the TradingDataSource when the BlotterChannel
is discarded by the end users'
application.Please send bug reports and comments to Caplin support