Return type | Name and parameters |
---|---|
OutputStream
|
leftShift(byte[] value)
Overloads the left shift operator to provide an append mechanism to add bytes to the output stream of a socket |
Writer
|
leftShift(Object value)
Overloads the left shift operator to provide an append mechanism to add things to the output stream of a socket |
Object
|
withObjectStreams(Closure closure)
Creates an InputObjectStream and an OutputObjectStream from a Socket, and passes them to the closure. |
Object
|
withStreams(Closure closure)
Passes the Socket's InputStream and OutputStream to the closure. |
addShutdownHook
, any
, any
, asBoolean
, asType
, collect
, collect
, collect
, dump
, each
, eachMatch
, eachMatch
, eachWithIndex
, every
, every
, find
, find
, findAll
, findAll
, findIndexOf
, findIndexOf
, findIndexValues
, findIndexValues
, findLastIndexOf
, findLastIndexOf
, findResult
, findResult
, findResult
, findResult
, getAt
, getMetaClass
, getMetaPropertyValues
, getProperties
, grep
, grep
, hasProperty
, identity
, inject
, inject
, inspect
, invokeMethod
, is
, isCase
, isNotCase
, iterator
, metaClass
, print
, print
, printf
, printf
, println
, println
, println
, putAt
, respondsTo
, respondsTo
, setMetaClass
, split
, sprintf
, sprintf
, stream
, tap
, toString
, use
, use
, use
, with
, with
, withCloseable
, withStream
, withTraits
Overloads the left shift operator to provide an append mechanism to add bytes to the output stream of a socket
value
- a value to appendOverloads the left shift operator to provide an append mechanism to add things to the output stream of a socket
value
- a value to appendCreates an InputObjectStream and an OutputObjectStream from a Socket, and passes them to the closure. The streams will be closed after the closure returns, even if an exception is thrown.
closure
- a Closure