SocketSignaler

org.scalatest.concurrent.SocketSignaler
See theSocketSignaler companion object
class SocketSignaler(socket: Socket) extends Signaler

Strategy for signaling an operation in which close is called on the java.net.Socket passed to the constructor.

This class can be used for configuration when using traits TimeLimits and TimeLimitedTests.

Attributes

Companion
object
Graph
Supertypes
trait Signaler
class Object
trait Matchable
class Any

Members list

Value members

Concrete methods

def apply(testThread: Thread): Unit

Invokes close on the java.net.Socket passed to this class's constructor.

Invokes close on the java.net.Socket passed to this class's constructor.

Value parameters

testThread

unused by this strategy

Attributes