abstract class DynamicSocket extends JustifiedCloseable

Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. DynamicSocket
  2. JustifiedCloseable
  3. AutoCloseable
  4. AnyRef
  5. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new DynamicSocket(autoReconnect: Boolean = true)

Abstract Value Members

  1. abstract def boundIdentifier: String
  2. 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

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. def addConnectionStateListener(callback: (ExternalConnectionState) => Unit): Unit
  5. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  6. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native() @IntrinsicCandidate()
  7. def close(reason: Reason): Unit
    Definition Classes
    DynamicSocketJustifiedCloseable
  8. def close(): Unit
    Definition Classes
    JustifiedCloseable → AutoCloseable
  9. def closeCurrentStreams(): Unit
    Attributes
    protected
  10. var currentInputStream: InputStream
    Attributes
    protected
  11. var currentOutputStream: BufferedOutputStream
    Attributes
    protected
  12. var currentSocket: Socket
    Attributes
    protected
  13. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  14. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  15. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @IntrinsicCandidate()
  16. def getState: ExternalConnectionState
  17. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @IntrinsicCandidate()
  18. def isClosed: Boolean
    Definition Classes
    DynamicSocketJustifiedCloseable
  19. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  20. def isOpen: Boolean
    Definition Classes
    JustifiedCloseable
    Annotations
    @inline()
  21. def markAsConnected(): Unit
    Attributes
    protected
  22. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  23. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @IntrinsicCandidate()
  24. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @IntrinsicCandidate()
  25. def read(buff: Array[Byte], pos: Int): Int
  26. def read(length: Int): Array[Byte]
  27. def read(buff: Array[Byte]): Int
  28. def readInt(): Int
  29. def readShort(): Short
  30. def remoteSocketAddress(): InetSocketAddress
  31. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  32. def toString(): String
    Definition Classes
    AnyRef → Any
  33. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  34. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  35. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  36. def write(buff: Array[Byte]): Unit
  37. def write(buff: ByteBuffer): Unit

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable]) @Deprecated
    Deprecated

Inherited from JustifiedCloseable

Inherited from AutoCloseable

Inherited from AnyRef

Inherited from Any

Ungrouped