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