public static enum ServiceDispatcher.Response extends java.lang.Enum<ServiceDispatcher.Response>
Enum Constant and Description |
---|
BUSY |
FORMAT_ERROR |
OK |
UNKNOWN_SERVICE |
Modifier and Type | Method and Description |
---|---|
(package private) java.nio.ByteBuffer |
byteBuffer() |
(package private) static ServiceDispatcher.Response |
get(int ordinal) |
static ServiceDispatcher.Response |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ServiceDispatcher.Response[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ServiceDispatcher.Response OK
public static final ServiceDispatcher.Response BUSY
public static final ServiceDispatcher.Response FORMAT_ERROR
public static final ServiceDispatcher.Response UNKNOWN_SERVICE
public static ServiceDispatcher.Response[] values()
for (ServiceDispatcher.Response c : ServiceDispatcher.Response.values()) System.out.println(c);
public static ServiceDispatcher.Response valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nulljava.nio.ByteBuffer byteBuffer()
static ServiceDispatcher.Response get(int ordinal)
Copyright (c) 2004-2012 Oracle. All rights reserved.