public enum Profile extends java.lang.Enum<Profile>
Profile
enum represents the possible profiles that a ClientI
object can be created with. The
profile specifies what type of application the ClientI
object is representing.Enum Constant and Description |
---|
AgentDesktop
A desktop client application should use this
Profile if the application is controlling a single
UserI instance within a single ClientI instance. |
Server
A server application should use this
Profile if the application is controlling multiple UserI
instances within a single ClientI instance (multiple UserI per ClientI ). |
Modifier and Type | Method and Description |
---|---|
static Profile |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Profile[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Profile AgentDesktop
Profile
if the application is controlling a single
UserI
instance within a single ClientI
instance.
A server application can also use this Profile
if the application is creating multiple ClientI
instances to control multiple UserI
instances. In this case the application is controlling multiple
UserI
instances but is controlling only a single UserI
instance within a single ClientI
instance (one UserI
per ClientI
).
public static final Profile Server
Profile
if the application is controlling multiple UserI
instances within a single ClientI
instance (multiple UserI
per ClientI
).public static Profile[] values()
for (Profile c : Profile.values()) System.out.println(c);
public static Profile 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 null