Package org.imixs.workflow.micro.socket
Class WorkflowEngine
java.lang.Object
org.imixs.workflow.micro.socket.WorkflowEngine
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidonClose(jakarta.websocket.Session session) voidvoidonMessage(ByteBuffer bytes, jakarta.websocket.Session session) This method receives a serialized hash map containing the items of a Workitem.voidonOpen(jakarta.websocket.Session session) Starts a new workflow based on the given model information
-
Constructor Details
-
WorkflowEngine
public WorkflowEngine()
-
-
Method Details
-
onOpen
public void onOpen(jakarta.websocket.Session session) Starts a new workflow based on the given model information -
onClose
public void onClose(jakarta.websocket.Session session) -
onError
-
onMessage
This method receives a serialized hash map containing the items of a Workitem. The Workitem is converted into a ItemCollection and stored in the MESSAGES queue- Parameters:
bytes-
-