@Override public AstChildClosedNode visitChildClosedNode(ChildClosedNodeContext ctx) { node = new AstChildClosedNode(); node.setRegionInfo(asSequentialRegion(childInfos, ctx)); return node; }
public AstChildClosedNodeBuilder() { this(new AstChildClosedNode()); }
@Override public Configuration visit(AstChildClosedNode node, State state) { RegionInfo regionInfo = node.getRegionInfo(); ChildClosedHandler handler = new ChildClosedHandler(); handler.setRegionInfo(regionInfo); Map<String, ChannelHandler> pipelineAsMap = state.pipelineAsMap; String handlerName = String.format("childClosed#%d", pipelineAsMap.size() + 1); pipelineAsMap.put(handlerName, handler); return state.configuration; }
public StreamNested(R builder) { super(new AstChildClosedNode(), builder); }