io.qt.websockets.QMaskGenerator Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of qtjambi-websockets Show documentation
Show all versions of qtjambi-websockets Show documentation
Provides WebSocket communication compliant with RFC 6455.
The newest version!
package io.qt.websockets;
import io.qt.*;
/**
* Abstract base for custom 32-bit mask generators
* Java wrapper for Qt class QMaskGenerator
*/
public abstract class QMaskGenerator extends io.qt.core.QObject
{
static {
QtJambi_LibraryUtilities.initialize();
}
@NativeAccess
private static final class ConcreteWrapper extends QMaskGenerator {
@NativeAccess
private ConcreteWrapper(QPrivateConstructor p) { super(p); }
@Override
@QtUninvokable
public int nextMask(){
return nextMask_native(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native int nextMask_native(long __this__nativeId);
@Override
@QtUninvokable
public boolean seed(){
return seed_native(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native boolean seed_native(long __this__nativeId);
}
/**
* See QMaskGenerator:: QMaskGenerator(QObject*)
* @param parent
*/
public QMaskGenerator(io.qt.core.@Nullable QObject parent){
super((QPrivateConstructor)null);
initialize_native(this, parent);
}
private native static void initialize_native(QMaskGenerator instance, io.qt.core.QObject parent);
/**
* See QMaskGenerator:: nextMask()
* @return
*/
@QtUninvokable
public abstract int nextMask();
@QtUninvokable
private native int nextMask_native(long __this__nativeId);
/**
*
* @return
*/
@QtUninvokable
public abstract boolean seed();
@QtUninvokable
private native boolean seed_native(long __this__nativeId);
/**
* Constructor for internal use only.
* @param p expected to be null
.
* @hidden
*/
@NativeAccess
protected QMaskGenerator(QPrivateConstructor p) { super(p); }
/**
* Constructor for internal use only.
* It is not allowed to call the declarative constructor from inside Java.
* @hidden
*/
@NativeAccess
protected QMaskGenerator(QDeclarativeConstructor constructor) {
super((QPrivateConstructor)null);
initialize_native(this, constructor);
}
@QtUninvokable
private static native void initialize_native(QMaskGenerator instance, QDeclarativeConstructor constructor);
/**
* Overloaded constructor for {@link #QMaskGenerator(io.qt.core.QObject)}
* with parent = null
.
*/
public QMaskGenerator() {
this((io.qt.core.QObject)null);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy