public ExecutionNodeClientConnectCommand(String outIdentifier) {
this.outIdentifier = outIdentifier;
}
public Integer execute(Context context) {
NodeData data = (NodeData) context.get( NodeData.NODE_DATA );
Integer sessionId = data.getSessionIdCounter().getAndIncrement();
if ( this.outIdentifier != null ) {
((ExecutionResultImpl) ((KnowledgeCommandContext) context).getExecutionResults()).getResults().put( this.outIdentifier,
sessionId );
}