Package xbot.common.networking
Class MockZeromqListener
java.lang.Object
xbot.common.networking.MockZeromqListener
- All Implemented Interfaces:
XZeromqListener
-
Nested Class Summary
Nested classes/interfaces inherited from interface xbot.common.networking.XZeromqListener
XZeromqListener.XZeromqListenerFactory
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
sendPacket
(String packet) void
setNewPacketHandler
(Consumer<String> handler) void
start()
-
Constructor Details
-
MockZeromqListener
-
-
Method Details
-
start
public void start()- Specified by:
start
in interfaceXZeromqListener
-
setNewPacketHandler
- Specified by:
setNewPacketHandler
in interfaceXZeromqListener
-
sendPacket
-