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

org.dsa.iot.dslink.connection.NetworkHandlers Maven / Gradle / Ivy

There is a newer version: 0.24.2
Show newest version
package org.dsa.iot.dslink.connection;

import org.dsa.iot.dslink.util.handler.Handler;
import org.dsa.iot.dslink.util.json.JsonObject;

/**
 * Handles network clients on vertx events.
 *
 * @author Samuel Grenier
 */
class NetworkHandlers {

    private Handler onConnected;
    private Handler onDisconnected;
    private Handler onData;

    public Handler getOnConnected() {
        return onConnected;
    }

    public void setOnConnected(Handler onConnected) {
        this.onConnected = onConnected;
    }

    public Handler getOnDisconnected() {
        return onDisconnected;
    }

    public void setOnDisconnected(Handler onDisconnected) {
        this.onDisconnected = onDisconnected;
    }

    public Handler getOnData() {
        return onData;
    }

    public void setOnData(Handler onData) {
        this.onData = onData;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy