case class Signaller(sigStr: String)(f: ⇒ Unit) extends Scoped with Product with Serializable
Lets you turn on signal handling within a certain block,
attaching a callback to the handler and then turning it
properly off again when the block exits. Does sketchy
unsafe
stuff because that's the only way you can make
it properly reset when you're finished.
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- Signaller
- Serializable
- Serializable
- Product
- Equals
- Scoped
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
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 apply[T](t: ⇒ T): T
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
def
flatMap[T, M[_]](t: (Unit) ⇒ M[T]): M[T]
- Definition Classes
- Scoped
-
def
foreach[T](t: (Unit) ⇒ T): T
- Definition Classes
- Scoped
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- def handlers: Hashtable[Signal, SignalHandler]
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
def
map[T](t: (Unit) ⇒ T): T
- Definition Classes
- Scoped
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- var oldSigInt: List[SignalHandler]
- val sigStr: String
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )