public final class IrynaConfigextends Object
Modifier and Type | Class and Description |
---|---|
static class | IrynaConfig.Iryna |
Modifier and Type | Field and Description |
---|---|
static String | BIND_ADDRESS |
static String | CONNECTION_NAME |
static int | DISPATCHER_THREAD_COUNT |
static int | PACKET_PROCESSOR_MAX_THREADS |
static int | PACKET_PROCESSOR_MIN_THREADS |
static int | PORT |
Constructor and Description |
---|
IrynaConfig() |
@Property(key="iryna.bind_address", defaultValue="127.0.0.1", description="Bind address for this server. Usually localhost oder domain of the hosting machine.")public static String BIND_ADDRESS
@Property(key="iryna.port", defaultValue="29714", description="Port to listen for connections. Make sure your firewall is configured properly.")public static int PORT
@Property(key="iryna.connection_name", defaultValue="Iryna Connection", description="Connection name which show up in the application")public static String CONNECTION_NAME
@Property(key="iryna.dispatcher_thread_count", defaultValue="3", description="Thread Count for read and write dispatcher. Raise value properly if server sends tons of packets and lag occurs.")public static int DISPATCHER_THREAD_COUNT
@Property(key="iryna.packet_processor_min_threads", defaultValue="1", description="Minimum thread count for packet processor. The packet processer handles incoming packets and calls the runImpl() method. Must be less or equal to Maximum thread count.")public static int PACKET_PROCESSOR_MIN_THREADS
@Property(key="iryna.packet_processor_max_threads", defaultValue="8", description="Maximum thread count for packet processor. The packet processor handles incoming packets nad calls the runImpl() method. Must be greater or equal to Minimum thead count.")public static int PACKET_PROCESSOR_MAX_THREADS
Copyright © 2014–2015. All rights reserved.