class ClientDynamicSocket extends DynamicSocket
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- ClientDynamicSocket
- DynamicSocket
- JustifiedCloseable
- AutoCloseable
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- Protected
Instance Constructors
- new ClientDynamicSocket(boundAddress: InetSocketAddress, socketFactory: (InetSocketAddress) => Socket)
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
- Definition Classes
- DynamicSocket
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def boundIdentifier: String
- Definition Classes
- ClientDynamicSocket → DynamicSocket
- 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
- Definition Classes
- DynamicSocket
- def connect(identifier: String): Unit
- var currentInputStream: InputStream
- Attributes
- protected
- Definition Classes
- DynamicSocket
- var currentOutputStream: BufferedOutputStream
- Attributes
- protected
- Definition Classes
- DynamicSocket
- var currentSocket: Socket
- Attributes
- protected
- Definition Classes
- DynamicSocket
- 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
- Definition Classes
- DynamicSocket
- 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
- Definition Classes
- ClientDynamicSocket → DynamicSocket
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @IntrinsicCandidate()
- var identifier: String
- 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
- Definition Classes
- DynamicSocket
- 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
- Definition Classes
- DynamicSocket
- def read(length: Int): Array[Byte]
- Definition Classes
- DynamicSocket
- def read(buff: Array[Byte]): Int
- Definition Classes
- DynamicSocket
- def readInt(): Int
- Definition Classes
- DynamicSocket
- def readShort(): Short
- Definition Classes
- DynamicSocket
- var reconnectionPeriod: Int
- def remoteSocketAddress(): InetSocketAddress
- Definition Classes
- DynamicSocket
- 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
- Definition Classes
- DynamicSocket
- def write(buff: ByteBuffer): Unit
- Definition Classes
- DynamicSocket
Deprecated Value Members
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable]) @Deprecated
- Deprecated