A ReadStream of NetSocket, used for notifying socket connections to a NetServer.
AnythingNetSocketStreamBasicIdentifiableObjectAnythingno subtypes hierarchy
| Initializer |
NetSocketStream(NetSocketStream unknown) |
| Inherited Attributes |
Attributes inherited from: Objecthash, string |
| Methods | |
endHandler | shared actual default NetSocketStream endHandler(Anything()? endHandler)Set an end handler. Once the stream has ended, and there is no more data to be read, this handler will be called. Refines ReadStream.endHandler |
exceptionHandler | shared actual default NetSocketStream exceptionHandler(Anything(Throwable)? handler)Set an exception handler. Refines StreamBase.exceptionHandler |
handler | shared actual default NetSocketStream handler(Anything(NetSocket)? handler)Set a data handler. As data is read, the handler will be called with the data. Refines ReadStream.handler |
pause | shared actual default NetSocketStream pause()Pause the Refines ReadStream.pause |
resume | shared actual default NetSocketStream resume()Resume reading. If the Refines ReadStream.resume |
| Inherited Methods |
Methods inherited from: Objectequals |
Methods inherited from: ReadStream<T> |
Methods inherited from: StreamBase |