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

io.qt.serialbus.QModbusTcpConnectionObserver Maven / Gradle / Ivy

Go to download

Provides access to serial industrial bus interface. Currently the module supports the CAN bus and Modbus protocols.

There is a newer version: 6.7.2
Show newest version
package io.qt.serialbus;

import io.qt.*;


/**
 * 

Represents the interface for objects that can be passed to QModbusTcpServer::installConnectionObserver

*

Java wrapper for Qt class QModbusTcpConnectionObserver

*/ public interface QModbusTcpConnectionObserver extends QtObjectInterface { /** * @hidden *

Implementor class for interface {@link io.qt.serialbus.QModbusTcpConnectionObserver}

*/ public static abstract class Impl extends QtObject implements io.qt.serialbus.QModbusTcpConnectionObserver { static { QtJambi_LibraryUtilities.initialize(); } @NativeAccess private static final class ConcreteWrapper extends QModbusTcpConnectionObserver.Impl { @NativeAccess private ConcreteWrapper(QPrivateConstructor p) { super(p); } @Override @QtUninvokable public boolean acceptNewConnection(io.qt.network.@Nullable QTcpSocket newClient){ return acceptNewConnection_native_QTcpSocket_ptr(QtJambi_LibraryUtilities.internal.nativeId(this), newClient); } private native static boolean acceptNewConnection_native_QTcpSocket_ptr(long __this__nativeId, io.qt.network.QTcpSocket newClient); } /** *

See QModbusTcpConnectionObserver::QModbusTcpConnectionObserver()

*/ public Impl(){ super((QPrivateConstructor)null); initialize_native(this); } private native static void initialize_native(QModbusTcpConnectionObserver instance); /** *

See QModbusTcpConnectionObserver::acceptNewConnection(QTcpSocket*)

*/ @SuppressWarnings({"exports"}) @QtUninvokable public abstract boolean acceptNewConnection(io.qt.network.@Nullable QTcpSocket newClient); private native static boolean acceptNewConnection_native_QTcpSocket_ptr(long __this__nativeId, io.qt.network.QTcpSocket newClient); /** * Constructor for internal use only. * @param p expected to be null. * @hidden */ @NativeAccess protected Impl(QPrivateConstructor p) { super(p); } } /** *

See QModbusTcpConnectionObserver::acceptNewConnection(QTcpSocket*)

*/ @SuppressWarnings({"exports"}) @QtUninvokable public boolean acceptNewConnection(io.qt.network.@Nullable QTcpSocket newClient); }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy