Packages

class Socket extends Bytes with Closeable

Source
Socket.scala
Linear Supertypes
Closeable, AutoCloseable, Bytes, AnyRef, Any
Type Hierarchy
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Socket
  2. Closeable
  3. AutoCloseable
  4. Bytes
  5. AnyRef
  6. Any
Implicitly
  1. by any2stringadd
  2. by StringFormat
  3. by Ensuring
  4. by ArrowAssoc
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new Socket(jsocket: java.net.Socket)

Value Members

  1. def applyReaderAndWriter[T](f: (BufferedReader, PrintWriter) ⇒ T): T

    Creates an InputStream and applies the closure, automatically closing it on completion.

  2. def bufferedInput(): BufferedInputStream
    Definition Classes
    Bytes
  3. def bufferedOutput(size: Int): BufferedOutputStream
  4. def bufferedReader(implicit codec: Codec): BufferedReader
  5. def bytes(): Iterator[Byte]
    Definition Classes
    Bytes
  6. def bytesAsInts(): Iterator[Int]
    Definition Classes
    Bytes
  7. def close(): Unit
    Definition Classes
    Socket → Closeable → AutoCloseable
  8. def getPort(): Int
  9. def inputStream(): InputStream
    Definition Classes
    Socket → Bytes
  10. def length: Long
    Definition Classes
    Bytes
  11. def outputStream(): OutputStream
  12. def printWriter(): PrintWriter
  13. def toByteArray(): Array[Byte]
    Definition Classes
    Bytes