io.qt.serialbus.QModbusTcpClient Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of qtjambi-serialbus Show documentation
Show all versions of qtjambi-serialbus Show documentation
Provides access to serial industrial bus interface. Currently the module supports the CAN bus and Modbus protocols.
package io.qt.serialbus;
import io.qt.*;
/**
* The interface class for Modbus TCP client device
* Java wrapper for Qt class QModbusTcpClient
*/
public class QModbusTcpClient extends io.qt.serialbus.QModbusClient
{
/**
* This variable stores the meta-object for the class.
*/
public static final io.qt.core.@NonNull QMetaObject staticMetaObject = io.qt.core.QMetaObject.forType(QModbusTcpClient.class);
/**
* See QModbusTcpClient:: QModbusTcpClient(QObject*)
*/
public QModbusTcpClient(io.qt.core.@Nullable QObject parent){
super((QPrivateConstructor)null);
initialize_native(this, parent);
}
private native static void initialize_native(QModbusTcpClient instance, io.qt.core.QObject parent);
/**
*
*/
@QtUninvokable
@Override
protected void close(){
close_native(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native void close_native(long __this__nativeId);
/**
*
*/
@QtUninvokable
@Override
protected boolean open(){
return open_native(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native boolean open_native(long __this__nativeId);
/**
* Constructor for internal use only.
* @param p expected to be null
.
* @hidden
*/
@NativeAccess
protected QModbusTcpClient(QPrivateConstructor p) { super(p); }
/**
* Constructor for internal use only.
* It is not allowed to call the declarative constructor from inside Java.
* @hidden
*/
@NativeAccess
protected QModbusTcpClient(QDeclarativeConstructor constructor) {
super((QPrivateConstructor)null);
initialize_native(this, constructor);
}
@QtUninvokable
private static native void initialize_native(QModbusTcpClient instance, QDeclarativeConstructor constructor);
/**
* Overloaded constructor for {@link #QModbusTcpClient(io.qt.core.QObject)}
* with parent = null
.
*/
public QModbusTcpClient() {
this((io.qt.core.QObject)null);
}
}