implicit final class VertxNetSocketOps extends AnyVal
- Alphabetic
- By Inheritance
- VertxNetSocketOps
- AnyVal
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
- new VertxNetSocketOps(target: NetSocket)
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- Any
-
final
def
##(): Int
- Definition Classes
- Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- Any
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
closeL(): Task[Unit]
Close the NetSocket and notify the
handler
when the operation completes. -
def
endL(): Task[Unit]
Calls
#end(Handler)
-
def
endL(data: Buffer): Task[Unit]
Same as
#end(T)
but with anhandler
called when the operation completes -
def
getClass(): Class[_ <: AnyVal]
- Definition Classes
- AnyVal → Any
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
def
pipeToL(dst: WriteStream[Buffer]): Task[Unit]
Pipe this
ReadStream
to theWriteStream
.Pipe this
ReadStream
to theWriteStream
.Elements emitted by this stream will be written to the write stream until this stream ends or fails.
Once this stream has ended or failed, the write stream will be ended and the
handler
will be called with the result.- dst
the destination write stream
-
def
sendFileL(filename: String, offset: Long, length: Long): Task[Unit]
Same as
long, long)
but also takes a handler that will be called when the send has completed or a failure has occurredSame as
long, long)
but also takes a handler that will be called when the send has completed or a failure has occurred- filename
file name of the file to send
- offset
offset
- length
length
- returns
a reference to this, so the API can be used fluently
-
def
sendFileL(filename: String, offset: Long): Task[Unit]
Same as
long)
but also takes a handler that will be called when the send has completed or a failure has occurredSame as
long)
but also takes a handler that will be called when the send has completed or a failure has occurred- filename
file name of the file to send
- offset
offset
- returns
a reference to this, so the API can be used fluently
-
def
sendFileL(filename: String): Task[Unit]
Same as
#sendFile(String)
but also takes a handler that will be called when the send has completed or a failure has occurredSame as
#sendFile(String)
but also takes a handler that will be called when the send has completed or a failure has occurred- filename
file name of the file to send
- returns
a reference to this, so the API can be used fluently
- val target: NetSocket
-
def
toString(): String
- Definition Classes
- Any
-
def
writeL(message: Buffer): Task[Unit]
Like
#write(Object)
but with anhandler
called when the message has been written or failed to be written. -
def
writeL(str: String, enc: String): Task[Unit]
Same as
String)
but with anhandler
called when the operation completes -
def
writeL(str: String): Task[Unit]
Same as
#write(String)
but with anhandler
called when the operation completes