public static class SpreadMultiReceiver.Subscription extends Object
Constructor and Description |
---|
SpreadMultiReceiver.Subscription(Scope scope,
EventHandler handler)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
EventHandler |
getHandler()
Returns the handler to call with new events on the scope provide by
getScope() . |
Scope |
getScope()
Returns the scope this subscriptions is interested in.
|
String |
toString() |
public SpreadMultiReceiver.Subscription(Scope scope, EventHandler handler)
scope
- the scope to subscribe on, not null
handler
- the handler to call in case new events are received on the
provided scope, not null
public Scope getScope()
null
public EventHandler getHandler()
getScope()
.null
Copyright © 2018 CoR-Lab. All rights reserved.