public interface StateDelegator
StateDelegator is able to delegate BeamFnApi.StateRequests to a set of registered
 handlers. Any request for an unregistered process bundle instruction id is automatically failed.| Modifier and Type | Interface and Description | 
|---|---|
| static interface  | StateDelegator.RegistrationAllows callers to deregister from receiving further state requests. | 
| Modifier and Type | Method and Description | 
|---|---|
| StateDelegator.Registration | registerForProcessBundleInstructionId(java.lang.String processBundleInstructionId,
                                     StateRequestHandler handler)Registers the supplied handler for the given process bundle instruction id for all  BeamFnApi.StateRequests with a matching id. | 
StateDelegator.Registration registerForProcessBundleInstructionId(java.lang.String processBundleInstructionId, StateRequestHandler handler)
BeamFnApi.StateRequests with a matching id. A handle is returned which allows one to deregister from
 this StateDelegator.