public interface StreamingDataHandler
TurbineStreamingConnection
The listener must be able to
Note that if the StreamingDataHandler throws an Exception during this process, then the TurbineStreamingConnection will stop.
| Modifier and Type | Method and Description |
|---|---|
void |
deleteData(java.lang.String type,
java.util.Set<java.lang.String> names)
Delete data specified for the stream type
|
void |
noData()
Handle pings / heartbeats etc
|
void |
writeData(java.lang.String data)
Write data to your underlying stream etc
|
void writeData(java.lang.String data)
throws java.lang.Exception
data - java.lang.Exceptionvoid deleteData(java.lang.String type,
java.util.Set<java.lang.String> names)
throws java.lang.Exception
type - names - java.lang.Exceptionvoid noData()
throws java.lang.Exception
java.lang.Exception