public class StateMachineProxyFactory extends Object implements MessageProcessor
StateMachine. Method
calls will be translated to the corresponding message, and the parameters are set as payload.
Methods in the interface to be proxied can either return void or Future
| Constructor and Description |
|---|
StateMachineProxyFactory(StateMachines stateMachines,
StateMachineConversations conversations,
InstanceId me,
org.neo4j.logging.LogProvider logProvider) |
| Modifier and Type | Method and Description |
|---|---|
<CLIENT> CLIENT |
newProxy(Class<CLIENT> proxyInterface) |
boolean |
process(Message message) |
public StateMachineProxyFactory(StateMachines stateMachines, StateMachineConversations conversations, InstanceId me, org.neo4j.logging.LogProvider logProvider)
public <CLIENT> CLIENT newProxy(Class<CLIENT> proxyInterface) throws IllegalArgumentException
IllegalArgumentExceptionpublic boolean process(Message message)
process in interface MessageProcessorCopyright © 2002–2017 The Neo4j Graph Database Project. All rights reserved.