com.trolltech.qt.network
Class QAbstractSocket.SocketError

java.lang.Object
  extended by java.lang.Enum
      extended by 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

Field Summary
static QAbstractSocket.SocketError AddressInUseError
           
static QAbstractSocket.SocketError ConnectionRefusedError
          The connection to the specified endpoint was refused.
static QAbstractSocket.SocketError DatagramTooLargeError
           
static QAbstractSocket.SocketError HostNotFoundError
           
static QAbstractSocket.SocketError NetworkError
           
static QAbstractSocket.SocketError ProxyAuthenticationRequiredError
           
static QAbstractSocket.SocketError RemoteHostClosedError
           
static QAbstractSocket.SocketError SocketAccessError
           
static QAbstractSocket.SocketError SocketAddressNotAvailableError
           
static QAbstractSocket.SocketError SocketResourceError
           
static QAbstractSocket.SocketError SocketTimeoutError
           
static QAbstractSocket.SocketError SslHandshakeFailedError
           
static QAbstractSocket.SocketError UnfinishedSocketOperationError
           
static QAbstractSocket.SocketError UnknownSocketError
           
static QAbstractSocket.SocketError UnsupportedSocketOperationError
           
 
Method Summary
static QAbstractSocket.SocketError resolve(int value)
          Returns the SocketError constant with the specified int.
 int value()
          This function should return an integer value for the enum values of the enumeration that implements this interface.
static QAbstractSocket.SocketError valueOf(java.lang.String name)
           
static QAbstractSocket.SocketError[] 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

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
Method Detail

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.