@Exported public static enum SocketFlow.Status extends Enum<SocketFlow.Status>
| Enum Constant and Description | 
|---|
| ALREADY_CREATEDA flow already exists with identical attributes. | 
| IN_PROGRESSA flow is being created. | 
| NO_PERMISSIONCaller has no permission to create flow. | 
| NO_STATUSSet or get socket option has not been called yet. | 
| NOT_CONNECTEDFlow can not be created because socket is not connected. | 
| NOT_SUPPORTEDFlow creation not supported for this socket. | 
| OKFlow successfully created. | 
| OTHERSome other unspecified error. | 
| Modifier and Type | Method and Description | 
|---|---|
| static SocketFlow.Status | valueOf(String name)Returns the enum constant of this type with the specified name. | 
| static SocketFlow.Status[] | values()Returns an array containing the constants of this enum type, in
the order they are declared. | 
public static final SocketFlow.Status NO_STATUS
public static final SocketFlow.Status OK
public static final SocketFlow.Status NO_PERMISSION
public static final SocketFlow.Status NOT_CONNECTED
public static final SocketFlow.Status NOT_SUPPORTED
public static final SocketFlow.Status ALREADY_CREATED
public static final SocketFlow.Status IN_PROGRESS
public static final SocketFlow.Status OTHER
public static SocketFlow.Status[] values()
for (SocketFlow.Status c : SocketFlow.Status.values()) System.out.println(c);
public static SocketFlow.Status valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is null
 Copyright © 2014, 2017, Oracle and/or its affiliates.  All rights reserved.