public enum CommunicationMode extends Enum<CommunicationMode>
public static final CommunicationMode SYNC
public static final CommunicationMode ASYNC
public static final CommunicationMode ONEWAY
public static CommunicationMode[] values()
for (CommunicationMode c : CommunicationMode.values()) System.out.println(c);
public static CommunicationMode valueOf(String name)
name - 要返回的枚举常量的名称。如果该枚举类型没有带有指定名称的常量, - 则抛出 IllegalArgumentException如果参数为空值, - 则抛出 NullPointerExceptionCopyright © 2012–2013. All rights reserved.