iit

trait Handler

[source: iit/Handler.scala]

trait Handler
extends AnyRef
Method Summary
def deregister : Boolean
Deregisters a handler instance so that it get not implicitly invoked when an event is published
def register : Boolean
Registers a handler instance so that it get implicitly invoked when an event is published
def setFilter (eventtype : java.lang.Class)(filter : scala.Function1[Event, Boolean]) : Unit
Set the Filter for this handler instance for the given event type
Methods inherited from AnyRef
getClass, hashCode, equals, clone, toString, notify, notifyAll, wait, wait, wait, finalize, ==, !=, eq, ne, synchronized
Methods inherited from Any
==, !=, isInstanceOf, asInstanceOf
Method Details
def setFilter(eventtype : java.lang.Class)(filter : scala.Function1[Event, Boolean]) : Unit
Set the Filter for this handler instance for the given event type

def register : Boolean
Registers a handler instance so that it get implicitly invoked when an event is published

def deregister : Boolean
Deregisters a handler instance so that it get not implicitly invoked when an event is published


Copyright (c) 2009. All Rights Reserved.