ServerMode¶
-
public enum
ServerMode
¶ An enum indicating which kind of server mode is requested by the user for the socket transport.
- Author
jwienke
Enum Constants¶
AUTO¶
-
public static final ServerMode
AUTO
¶ Try to decide automatically whether a socket server is required and start one if this is the case. Otherwise, reuse an existing one.
NO¶
-
public static final ServerMode
NO
¶ Never be a socket server. Instead use an existing server or fail if none can be found.
YES¶
-
public static final ServerMode
YES
¶ Always create a socket server. This may fail if a socket server with same settings already exists on the host / network.