public interface DataListener
| Modifier and Type | Method and Description |
|---|---|
void |
onComplete()
Invoked when the data stream has dried out (or the connection has been closed).
|
void |
onError()
Invoked when there was an error while receiving streamed data.
|
void |
onMessage(Message message)
Invoked when a new message data are available.
|
void |
onStart()
Invoked when the connection to the data stream has been established.
|
void onStart()
void onComplete()
void onError()
void onMessage(Message message)
message - new message data.Copyright © 2007-2015, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.