Package io.sockit.gameserver
Class AbstractBot
java.lang.Object
io.sockit.gameserver.AbstractBot
- Direct Known Subclasses:
Bot
public abstract class AbstractBot extends Object
Super class for Bot class for internal use. Gives Bot class access to non public methods of the Server
-
Field Summary
Fields Modifier and Type Field Description protected ReentrantLockinstanceLockprotected AtomicBooleanloggedOut -
Constructor Summary
Constructors Constructor Description AbstractBot() -
Method Summary
Modifier and Type Method Description protected voidcloseSocket()protected voidforceInstanceLock(int waitTimeMIllis)protected abstract StringgetPollData()protected abstract voidprocessCommand(String command, byte[] data)protected abstract voidprocessCommand(String command, String data)protected voidsendMesg(String command, byte[] data)protected voidsendMesg(String command, String data)
-
Field Details
-
Constructor Details
-
AbstractBot
public AbstractBot()
-
-
Method Details
-
closeSocket
protected final void closeSocket() -
forceInstanceLock
protected final void forceInstanceLock(int waitTimeMIllis) -
getPollData
-
sendMesg
-
sendMesg
-
processCommand
-
processCommand
-