use of com.tinkerforge.IPConnection in project openhab1-addons by openhab.
the class MBrickletDistanceIRImpl method setIpConnection.
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
*
* @generated
*/
@Override
public void setIpConnection(IPConnection newIpConnection) {
IPConnection oldIpConnection = ipConnection;
ipConnection = newIpConnection;
if (eNotificationRequired())
eNotify(new ENotificationImpl(this, Notification.SET, ModelPackage.MBRICKLET_DISTANCE_IR__IP_CONNECTION, oldIpConnection, ipConnection));
}
use of com.tinkerforge.IPConnection in project openhab1-addons by openhab.
the class MBrickletDistanceUSImpl method setIpConnection.
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
*
* @generated
*/
@Override
public void setIpConnection(IPConnection newIpConnection) {
IPConnection oldIpConnection = ipConnection;
ipConnection = newIpConnection;
if (eNotificationRequired())
eNotify(new ENotificationImpl(this, Notification.SET, ModelPackage.MBRICKLET_DISTANCE_US__IP_CONNECTION, oldIpConnection, ipConnection));
}
use of com.tinkerforge.IPConnection in project openhab1-addons by openhab.
the class MBrickletDustDetectorImpl method setIpConnection.
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
*
* @generated
*/
@Override
public void setIpConnection(IPConnection newIpConnection) {
IPConnection oldIpConnection = ipConnection;
ipConnection = newIpConnection;
if (eNotificationRequired())
eNotify(new ENotificationImpl(this, Notification.SET, ModelPackage.MBRICKLET_DUST_DETECTOR__IP_CONNECTION, oldIpConnection, ipConnection));
}
use of com.tinkerforge.IPConnection in project openhab1-addons by openhab.
the class MBrickStepperImpl method setIpConnection.
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
*
* @generated
*/
@Override
public void setIpConnection(IPConnection newIpConnection) {
IPConnection oldIpConnection = ipConnection;
ipConnection = newIpConnection;
if (eNotificationRequired()) {
eNotify(new ENotificationImpl(this, Notification.SET, ModelPackage.MBRICK_STEPPER__IP_CONNECTION, oldIpConnection, ipConnection));
}
}
use of com.tinkerforge.IPConnection in project openhab1-addons by openhab.
the class MBrickdImpl method connect.
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
*
* @generated NOT
*/
@Override
public void connect() {
// Create connection to brickd
final IPConnection ipcon = new IPConnection();
setIpConnection(ipcon);
ipConnection.setTimeout(timeout);
ipConnection.setAutoReconnect(autoReconnect);
ipConnection.addConnectedListener(new ConnectedListener(ipcon));
ipConnection.addDisconnectedListener(new DisconnectedListener());
ipConnection.addEnumerateListener(new EnumerateListener());
// makeConnect();
makeConnectThread();
logger.trace("{} After connect call", LoggerConstants.TFINIT);
}
Aggregations