Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## com.trolltech.qt.network
Class QLocalSocket.LocalSocketState

    java.lang.Object
      java.lang.Enum
          com.trolltech.qt.network.QLocalSocket.LocalSocketState

All Implemented Interfaces:
  QtEnumerator, java.io.Serializable, java.lang.Comparable

Enclosing class:
  QLocalSocket

    public static final class QLocalSocket.LocalSocketState

extends java.lang.Enum
implements QtEnumerator

This enum describes the different states in which a socket can be.

See also:
  `QLocalSocket::state()`.

See Also:
  Serialized Form

Field Summary
`static QLocalSocket.LocalSocketState` | `ClosingState` The socket is about to close (data may still be waiting to be written).
`static QLocalSocket.LocalSocketState` | `ConnectedState` A connection is established.
`static QLocalSocket.LocalSocketState` | `ConnectingState` The socket has started establishing a connection.
`static QLocalSocket.LocalSocketState` | `UnconnectedState` The socket is not connected.

Method Summary
`static QLocalSocket.LocalSocketState` | `resolve(int value)` Returns the LocalSocketState 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 QLocalSocket.LocalSocketState` | `valueOf(java.lang.String name)`
`static QLocalSocket.LocalSocketState[]` | `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

### UnconnectedState

    public static final QLocalSocket.LocalSocketState UnconnectedState

  The socket is not connected.

### ConnectingState

    public static final QLocalSocket.LocalSocketState ConnectingState

  The socket has started establishing a connection.

### ConnectedState

    public static final QLocalSocket.LocalSocketState ConnectedState

  A connection is established.

### ClosingState

    public static final QLocalSocket.LocalSocketState ClosingState

  The socket is about to close (data may still be waiting to be written).

Method Detail

### values

    public static QLocalSocket.LocalSocketState[] values()

### valueOf

    public static QLocalSocket.LocalSocketState 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 QLocalSocket.LocalSocketState resolve(int value)

  Returns the LocalSocketState constant with the specified `int`.

Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD