Package net.timewalker.ffmq4.client
Class ClientEnvironment
- java.lang.Object
-
- net.timewalker.ffmq4.client.ClientEnvironment
-
public final class ClientEnvironment extends Object
Holds global settings and managers shared among all clients in a given JVM.
-
-
Field Summary
Fields Modifier and Type Field Description static StringSETTINGS_FILE_NAME
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static AsyncTaskManagergetAsyncTaskManager()Get the async. task manager singleton instancestatic NIOTcpMultiplexergetMultiplexer()Get the multiplexer singleton instancestatic SettingsgetSettings()Get the singleton instance
-
-
-
Field Detail
-
SETTINGS_FILE_NAME
public static final String SETTINGS_FILE_NAME
- See Also:
- Constant Field Values
-
-
Method Detail
-
getSettings
public static Settings getSettings()
Get the singleton instance
-
getMultiplexer
public static NIOTcpMultiplexer getMultiplexer() throws PacketTransportException
Get the multiplexer singleton instance- Returns:
- the multiplexer singleton instance
- Throws:
PacketTransportException
-
getAsyncTaskManager
public static AsyncTaskManager getAsyncTaskManager() throws javax.jms.JMSException
Get the async. task manager singleton instance- Returns:
- the manager instance
- Throws:
javax.jms.JMSException
-
-