All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.drools.grid.local.LocalGridNodeConnection Maven / Gradle / Ivy

There is a newer version: 5.6.0.Final
Show newest version
package org.drools.grid.local;

import org.drools.grid.GridConnection;
import org.drools.grid.GridNode;
import org.drools.grid.GridNodeConnection;
import org.drools.grid.impl.GridNodeImpl;

public class LocalGridNodeConnection
    implements
    GridConnection {
    private GridNode gridNode;

    public LocalGridNodeConnection(GridNode gridNode) {
        this.gridNode = gridNode;
    }

    public LocalGridNodeConnection(String id) {
        gridNode = new GridNodeImpl( id );
    }

    public GridNode connect() {
        return gridNode;
    }

    public void disconnect() {
    }


}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy