|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.lang.Enum
com.trolltech.qt.core.QSocketNotifier.Type
public static final class QSocketNotifier.Type
This enum describes the various types of events that a socket notifier can recognize. The type must be specified when constructing the socket notifier.
Note that if you need to monitor both reads and writes for the same file descriptor, you must create two socket notifiers. Note also that it is not possible to install two socket notifiers of the same type (Read, Write, Exception) on the same socket.
type()
.
Field Summary | |
---|---|
static QSocketNotifier.Type |
Exception
An exception has occurred. |
static QSocketNotifier.Type |
Read
There is data to be read. |
static QSocketNotifier.Type |
Write
Data can be written. |
Method Summary | |
---|---|
static QSocketNotifier.Type |
resolve(int value)
|
int |
value()
This function should return an integer value for the enum values of the enumeration that implements this interface. |
static QSocketNotifier.Type |
valueOf(java.lang.String name)
|
static QSocketNotifier.Type[] |
values()
|
Methods inherited from class java.lang.Enum |
---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final QSocketNotifier.Type Read
public static final QSocketNotifier.Type Write
public static final QSocketNotifier.Type Exception
Method Detail |
---|
public static QSocketNotifier.Type[] values()
public static QSocketNotifier.Type valueOf(java.lang.String name)
public int value()
value
in interface QtEnumerator
public static QSocketNotifier.Type resolve(int value)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |