public class NetSocketStream extends Object implements ReadStream<NetSocket>
ReadStream of NetSocket, used for notifying
socket connections to a NetServer.
NOTE: This class has been automatically generated from the original non RX-ified interface using Vert.x codegen.| Constructor and Description |
|---|
NetSocketStream(NetSocketStream delegate) |
| Modifier and Type | Method and Description |
|---|---|
NetSocketStream |
endHandler(Handler<Void> endHandler)
Set an end handler.
|
NetSocketStream |
exceptionHandler(Handler<Throwable> handler)
Set an exception handler on the read stream.
|
Object |
getDelegate() |
NetSocketStream |
handler(Handler<NetSocket> handler)
Set a data handler.
|
static NetSocketStream |
newInstance(NetSocketStream arg) |
NetSocketStream |
pause()
Pause the
ReadSupport. |
NetSocketStream |
resume()
Resume reading.
|
rx.Observable<NetSocket> |
toObservable() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitnewInstancenewInstancepublic NetSocketStream(NetSocketStream delegate)
public Object getDelegate()
getDelegate in interface ReadStream<NetSocket>getDelegate in interface StreamBasepublic rx.Observable<NetSocket> toObservable()
toObservable in interface ReadStream<NetSocket>public NetSocketStream exceptionHandler(Handler<Throwable> handler)
ReadStreamexceptionHandler in interface ReadStream<NetSocket>exceptionHandler in interface StreamBasehandler - the exception handlerpublic NetSocketStream handler(Handler<NetSocket> handler)
ReadStreamhandler in interface ReadStream<NetSocket>public NetSocketStream pause()
ReadStreamReadSupport. While it's paused, no data will be sent to the dataHandlerpause in interface ReadStream<NetSocket>public NetSocketStream resume()
ReadStreamReadSupport has been paused, reading will recommence on it.resume in interface ReadStream<NetSocket>public NetSocketStream endHandler(Handler<Void> endHandler)
ReadStreamendHandler in interface ReadStream<NetSocket>public static NetSocketStream newInstance(NetSocketStream arg)
Copyright © 2015. All rights reserved.