com.trolltech.qt.network
Class QAbstractSocket.SocketError
java.lang.Object
java.lang.Enum
com.trolltech.qt.network.QAbstractSocket.SocketError
- All Implemented Interfaces:
- QtEnumerator, java.io.Serializable, java.lang.Comparable
- Enclosing class:
- QAbstractSocket
public static final class QAbstractSocket.SocketError
- extends java.lang.Enum
- implements QtEnumerator
The SocketError
enumeration represents the various errors that can occur on a Unix domain socket. The most recent error for the socket is available through the QUnixSocket::error() method.
- See Also:
- Serialized Form
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 |
ConnectionRefusedError
public static final QAbstractSocket.SocketError ConnectionRefusedError
- The connection to the specified endpoint was refused. Generally this means that there is no server listening on that endpoint.
RemoteHostClosedError
public static final QAbstractSocket.SocketError RemoteHostClosedError
HostNotFoundError
public static final QAbstractSocket.SocketError HostNotFoundError
SocketAccessError
public static final QAbstractSocket.SocketError SocketAccessError
SocketResourceError
public static final QAbstractSocket.SocketError SocketResourceError
SocketTimeoutError
public static final QAbstractSocket.SocketError SocketTimeoutError
DatagramTooLargeError
public static final QAbstractSocket.SocketError DatagramTooLargeError
NetworkError
public static final QAbstractSocket.SocketError NetworkError
AddressInUseError
public static final QAbstractSocket.SocketError AddressInUseError
SocketAddressNotAvailableError
public static final QAbstractSocket.SocketError SocketAddressNotAvailableError
UnsupportedSocketOperationError
public static final QAbstractSocket.SocketError UnsupportedSocketOperationError
UnfinishedSocketOperationError
public static final QAbstractSocket.SocketError UnfinishedSocketOperationError
ProxyAuthenticationRequiredError
public static final QAbstractSocket.SocketError ProxyAuthenticationRequiredError
SslHandshakeFailedError
public static final QAbstractSocket.SocketError SslHandshakeFailedError
UnknownSocketError
public static final QAbstractSocket.SocketError UnknownSocketError
values
public static QAbstractSocket.SocketError[] values()
valueOf
public static QAbstractSocket.SocketError valueOf(java.lang.String name)
value
public int value()
- This function should return an integer value for the enum values of the enumeration that implements this interface.
- Specified by:
value
in interface QtEnumerator
resolve
public static QAbstractSocket.SocketError resolve(int value)
- Returns the SocketError constant with the specified int.