Interface AskfaceQueue
- All Known Subinterfaces:
CrossfireServerConnection
- All Known Implementing Classes:
AbstractCrossfireServerConnection,DefaultCrossfireServerConnection
public interface AskfaceQueue
Interface for classes that allow sending "askface" commands.
-
Method Summary
Modifier and TypeMethodDescriptionvoidaddFaceReceivedListener(@NotNull AskfaceFaceQueueListener listener) Registers a listener to be called whenever a face has been received.voidsendAskface(int faceNum) Sends an "askface" command.
-
Method Details
-
sendAskface
void sendAskface(int faceNum) Sends an "askface" command.- Parameters:
faceNum- the face number to request
-
addFaceReceivedListener
Registers a listener to be called whenever a face has been received.- Parameters:
listener- the listener
-