| Modifier and Type | Field and Description |
|---|---|
static ThreadEnforcer |
ThreadEnforcer.ANY
A
ThreadEnforcer that does no verification. |
static ThreadEnforcer |
ThreadEnforcer.MAIN
A
ThreadEnforcer that confines Bus methods to the main thread. |
| Constructor and Description |
|---|
Bus(ThreadEnforcer enforcer)
Creates a new Bus named "default" with the given
enforcer for actions. |
Bus(ThreadEnforcer enforcer,
String identifier)
Creates a new Bus with the given
enforcer for actions and the given identifier. |
Copyright © 2015 Square, Inc.. All Rights Reserved.