Deprecated
use Vertx#setTimer/Vertx#setPeriodic instead. RxJava like integrations should use the Vert.x scheduler integration.
io.vertx.core.Handler will be call when the timer is fired,
it can be once or several times depending on the nature of the timer related to this stream. The
ReadStream#endHandler(Handler) will be called after the timer handler has been called.
Pausing the timer inhibits the timer shots until the stream is resumed. Setting a null handler callback cancels the timer.
| Modifier and Type | Method and Description |
|---|---|
| public void | |
| public TimeoutStream | endHandler(Handler<Void> endHandler)
References Deprecated
TimeoutStream is deprecated or references (maybe indirectly) at least one deprecated element.
|
| public TimeoutStream | exceptionHandler(Handler<Throwable> handler)
References Deprecated
TimeoutStream is deprecated or references (maybe indirectly) at least one deprecated element.
|
| public TimeoutStream | fetch(long amount)
Redeclares io.
References Deprecated
TimeoutStream is deprecated or references (maybe indirectly) at least one deprecated element.
Fetch the specified |
| public TimeoutStream | handler(Handler<Long> handler)
References Deprecated
TimeoutStream is deprecated or references (maybe indirectly) at least one deprecated element.
|
| public TimeoutStream | pause()
Redeclares io.
References Deprecated
TimeoutStream is deprecated or references (maybe indirectly) at least one deprecated element.
Pause the |
| public TimeoutStream | resume()
Redeclares io.
References Deprecated
TimeoutStream is deprecated or references (maybe indirectly) at least one deprecated element.
Resume reading, and sets the buffer in |
| cancel | back to summary |
|---|---|
| public void cancel() Cancels the timeout. Note this has the same effect as calling | |
| endHandler | back to summary |
|---|---|
| public TimeoutStream endHandler(Handler<Void> endHandler)
References Deprecated
See corresponding docs for further information.
| |
| exceptionHandler | back to summary |
|---|---|
| public TimeoutStream exceptionHandler(Handler<Throwable> handler)
References Deprecated
See corresponding docs for further information.
| |
| fetch | back to summary |
|---|---|
| public TimeoutStream fetch(long amount) Redeclares io. Doc from io. References Deprecated
See corresponding docs for further information. Fetch the specified
| |
| handler | back to summary |
|---|---|
| public TimeoutStream handler(Handler<Long> handler)
References Deprecated
See corresponding docs for further information.
| |
| pause | back to summary |
|---|---|
| public TimeoutStream pause() Redeclares io. Doc from io. References Deprecated
See corresponding docs for further information. Pause the
While it's paused, no data will be sent to the data
| |
| resume | back to summary |
|---|---|
| public TimeoutStream resume() Redeclares io. Doc from io. References Deprecated
See corresponding docs for further information. Resume reading, and sets the buffer in
If the
| |