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

games.rednblack.puremvc.Proxy Maven / Gradle / Ivy

There is a newer version: 1.0.2
Show newest version
package games.rednblack.puremvc;

import games.rednblack.puremvc.interfaces.IProxy;

public class Proxy extends Notifier implements IProxy {

    private final String name;
    protected T data;

    public Proxy(String name, T data) {
        this.name = name;
        this.data = data;
    }

    @Override
    public T getData() {
        return data;
    }

    public void setData(T data) {
        this.data = data;
    }

    @Override
    public final String getName() {
        return name;
    }

    @Override
    public void onRegister() {

    }

    @Override
    public void onRemove() {

    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy