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

ro.ciprianpascu.sbus.net.ModbusSlaveConnection Maven / Gradle / Ivy

Go to download

jamod is an object oriented implementation of the S-Bus protocol, realized 100% in Java. It allows to quickly realize master and slave applications in various transport flavors (IP and serial).

The newest version!

/**
 * Copyright (c) 2010-2017 by the respective copyright holders.
 *
 * All rights reserved. This program and the accompanying materials
 * are made available under the terms of the Eclipse Public License v1.0
 * which accompanies this distribution, and is available at
 * http://www.eclipse.org/legal/epl-v10.html
 *
 */
package ro.ciprianpascu.sbus.net;

/**
 * @author Sami Salonen
 **/
public interface ModbusSlaveConnection {
    /**
     * Connects the connection to the endpoint
     *
     * @return whether connection was successfull
     * @throws Exception on any connection errors
     */
    public boolean connect() throws Exception;

    /**
     * Close connection and free associated resources
     */
    public void resetConnection();

    /**
     *
     * @return whether connection is now fully connected
     */
    public boolean isConnected();

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy