Top Description Fields Constructors Methods
org.java_websocket.enums

public final Enum Role

extends Enum<Role>
Class Inheritance

Enum which represents the states a websocket may be in

Field Summary

Modifier and TypeField and Description
public static final Role
public static final Role

Constructor Summary

AccessConstructor and Description
private
Role()

Method Summary

Modifier and TypeMethod and Description
public static Role
public static Role[]
Inherited from java.lang.Enum:
clonecompareTodescribeConstableequalsfinalizegetDeclaringClasshashCodenameordinaltoStringvalueOf

Field Detail

CLIENTback to summary
public static final Role CLIENT
SERVERback to summary
public static final Role SERVER

Constructor Detail

Roleback to summary
private Role()

Method Detail

valueOfback to summary
public static Role valueOf(String name)
valuesback to summary
public static Role[] values()