public class OutputCountTracker
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
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 and Description |
---|
OutputCountTracker(GuiStateManager guiStateManager,
CrossfireServerConnection server,
CommandQueue commandQueue)
Creates a new instance.
|
@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.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