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

de.tsl2.nano.structure.AConnection Maven / Gradle / Ivy

There is a newer version: 2.5.1
Show newest version
package de.tsl2.nano.structure;

import de.tsl2.nano.core.messaging.IListener;


public class AConnection implements IConnection, IListener> {
    /** content */
    protected INode destination;
    /** description or extension */
    protected D descriptor;

    /**
     * constructor
     * @param destination
     * @param descriptor
     */
    public AConnection(INode destination, D descriptor) {
        super();
        this.destination = destination;
        this.descriptor = descriptor;
    }

    @Override
    public INode getDestination() {
        return destination;
    }

    @Override
    public D getDescriptor() {
        return descriptor;
    }

    @Override
    public void handleEvent(INode event) {
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy