java.lang.Object com.realtime.crossfire.jxclient.main.OutputCountTracker
public class OutputCountTracker
Tracks received Crossfire messages and resets the "output-count" setting whenever a player logs in.
Field Summary | |
---|---|
private CommandQueue |
commandQueue
The CommandQueue for sending commands. |
private CrossfireUpdateItemListener |
crossfireUpdateItemListener
The CrossfireUpdateItemListener to receive item updates. |
private GuiStateListener |
guiStateListener
The GuiStateListener for detecting established or dropped
connections. |
private CrossfireServerConnection |
server
The CrossfireServerConnection to track. |
Constructor Summary | |
---|---|
OutputCountTracker(GuiStateManager guiStateManager,
CrossfireServerConnection server,
CommandQueue commandQueue)
Creates a new instance. |
Method Summary |
---|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
@NotNull private final CommandQueue commandQueue
CommandQueue
for sending commands.
@NotNull private final CrossfireUpdateItemListener crossfireUpdateItemListener
CrossfireUpdateItemListener
to receive item updates.
@NotNull private final GuiStateListener guiStateListener
GuiStateListener
for detecting established or dropped
connections.
@NotNull private final CrossfireServerConnection server
CrossfireServerConnection
to track.
Constructor Detail |
---|
public OutputCountTracker(@NotNull GuiStateManager guiStateManager, @NotNull CrossfireServerConnection server, @NotNull CommandQueue commandQueue)
guiStateManager
- the gui state manager to trackserver
- the crossfire server connection to trackcommandQueue
- the command queue for sending commands