class Socket extends Closeable
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- Socket
- Closeable
- AutoCloseable
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- Protected
Instance Constructors
- new Socket(host: String, port: Int, stream: Boolean)
- new Socket(host: InetAddress, port: Int, stream: Boolean)
- new Socket(host: String, port: Int, localAddr: InetAddress, localPort: Int)
- new Socket(host: String, port: Int)
- new Socket(address: InetAddress, port: Int, localAddr: InetAddress, localPort: Int)
- new Socket(address: InetAddress, port: Int)
- new Socket(impl: SocketImpl)
- Attributes
- protected[net]
- new Socket()
- new Socket(impl: SocketImpl, addr: InetAddress, port: Int, localAddr: InetAddress, localPort: Int, streaming: Boolean, shouldStartup: Boolean)
- Attributes
- protected
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def bind(bindpoint: SocketAddress): Unit
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- def close(): Unit
- Definition Classes
- Socket → Closeable → AutoCloseable
- def connect(endpoint: SocketAddress, timeout: Int): Unit
- def connect(endpoint: SocketAddress): Unit
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def getInetAddress: InetAddress
- def getInputStream: InputStream
- def getKeepAlive: Boolean
- def getLocalAddress: InetAddress
- def getLocalPort: Int
- def getLocalSocketAddress: SocketAddress
- def getOOBInline: Boolean
- def getOutputStream: OutputStream
- def getPort: Int
- def getReceiveBufferSize: Int
- def getRemoteSocketAddress: SocketAddress
- def getReuseAddress: Boolean
- def getSendBufferSize: Int
- def getSoLinger: Int
- def getSoTimeout: Int
- def getTcpNoDelay: Boolean
- def getTrafficClass: Int
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def isBound: Boolean
- def isClosed: Boolean
- def isConnected: Boolean
- def isInputShutdown: Boolean
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def isOutputShutdown: Boolean
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- def setKeepAlive(on: Boolean): Unit
- def setOOBInline(on: Boolean): Unit
- def setReceiveBufferSize(size: Int): Unit
- def setReuseAddress(on: Boolean): Unit
- def setSendBufferSize(size: Int): Unit
- def setSoLinger(on: Boolean, linger: Int): Unit
- def setSoTimeout(timeout: Int): Unit
- def setTcpNoDelay(on: Boolean): Unit
- def setTrafficClass(tc: Int): Unit
- def shutdownInput(): Unit
- def shutdownOutput(): Unit
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- Socket → AnyRef → Any
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()