|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<SessionRole>
biz.onixs.fix.engine.SessionRole
public enum SessionRole
SessionInternal role.
Enum Constant Summary | |
---|---|
ACCEPTOR
Acceptor - the receiving party of the FIX session. |
|
INITIATOR
Initiator - establishes the telecommunications link and initiates the session via transmission of the initial Logon message. |
|
NA
SessionInternal role is not set. |
Method Summary | |
---|---|
static SessionRole |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static SessionRole[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
Methods inherited from class java.lang.Enum |
---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final SessionRole NA
public static final SessionRole INITIATOR
public static final SessionRole ACCEPTOR
It listens for the incoming connection on the pre-defined port. The acceptor has responsibility to perform first level authentication and formally declare the connection request "accepted" through transmission of an acknowledgment Logon message.
Method Detail |
---|
public static SessionRole[] values()
for (SessionRole c : SessionRole.values()) System.out.println(c);
public static SessionRole valueOf(String name)
name
- the name of the enum constant to be returned.
IllegalArgumentException
- if this enum type has no constant
with the specified name
NullPointerException
- if the argument is null
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |