abstract class DynamicSocket extends JustifiedCloseable
Linear Supertypes
Known Subclasses
Ordering
- Alphabetic
- By Inheritance
Inherited
- DynamicSocket
- JustifiedCloseable
- AutoCloseable
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- Protected
Instance Constructors
- new DynamicSocket(autoReconnect: Boolean = true)
Abstract Value Members
- abstract def boundIdentifier: String
- abstract def handleReconnection(): Unit
Defines the algorithm that will handle the reconnection to the target.
Defines the algorithm that will handle the reconnection to the target. If the method returns normally, that would mean the socket reconnection was made successfully. For any exception, that make the reconnection impossible, the method may throw any exception.
- Attributes
- protected
Concrete 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
- def addConnectionStateListener(callback: (ExternalConnectionState) => Unit): Unit
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native() @IntrinsicCandidate()
- def close(reason: Reason): Unit
- Definition Classes
- DynamicSocket → JustifiedCloseable
- def close(): Unit
- Definition Classes
- JustifiedCloseable → AutoCloseable
- def closeCurrentStreams(): Unit
- Attributes
- protected
- var currentInputStream: InputStream
- Attributes
- protected
- var currentOutputStream: BufferedOutputStream
- Attributes
- protected
- var currentSocket: Socket
- Attributes
- protected
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @IntrinsicCandidate()
- def getState: ExternalConnectionState
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @IntrinsicCandidate()
- def isClosed: Boolean
- Definition Classes
- DynamicSocket → JustifiedCloseable
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def isOpen: Boolean
- Definition Classes
- JustifiedCloseable
- Annotations
- @inline()
- def markAsConnected(): Unit
- Attributes
- protected
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @IntrinsicCandidate()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @IntrinsicCandidate()
- def read(buff: Array[Byte], pos: Int): Int
- def read(length: Int): Array[Byte]
- def read(buff: Array[Byte]): Int
- def readInt(): Int
- def readShort(): Short
- def remoteSocketAddress(): InetSocketAddress
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- 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()
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- def write(buff: Array[Byte]): Unit
- def write(buff: ByteBuffer): Unit
Deprecated Value Members
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable]) @Deprecated
- Deprecated