RuleFlowProcessInstance processInstance) throws IOException {
ObjectInputStream stream = context.stream;
NodeInstanceImpl nodeInstance = null;
long id = stream.readLong();
long nodeId = stream.readLong();
int nodeType = stream.readShort();
switch ( nodeType ) {
case PersisterEnums.RULE_SET_NODE_INSTANCE :
nodeInstance = new RuleSetNodeInstance();
break;
case PersisterEnums.HUMAN_TASK_NODE_INSTANCE :