public enum SessionRole extends Enum<SessionRole>
Enum Constant and Description |
---|
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
Session internal role is not set.
|
Modifier and Type | Method and Description |
---|---|
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.
|
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.
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 nameNullPointerException
- if the argument is nullCopyright © 2005–2024 Onix Solutions. All rights reserved.