akka.event
Class EventStream
java.lang.Object
akka.event.EventStream
- All Implemented Interfaces:
- ActorEventBus, EventBus, LoggingBus, SubchannelClassification
public class EventStream
- extends java.lang.Object
- implements LoggingBus, SubchannelClassification
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
EventStream
public EventStream(boolean debug)
fromActorSystem
public static EventStream fromActorSystem(ActorSystem system)
subclassification
protected java.lang.Object subclassification()
- Description copied from interface:
SubchannelClassification
- The logic to form sub-class hierarchy
- Specified by:
subclassification
in interface SubchannelClassification
- Returns:
- (undocumented)
classify
protected java.lang.Class<?> classify(java.lang.Object event)
publish
protected void publish(java.lang.Object event,
ActorRef subscriber)
subscribe
public boolean subscribe(ActorRef subscriber,
java.lang.Class<?> channel)
unsubscribe
public boolean unsubscribe(ActorRef subscriber,
java.lang.Class<?> channel)
unsubscribe
public void unsubscribe(ActorRef subscriber)