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 Type
    Method
    Description
    void
    Registers a listener to be called whenever a face has been received.
    void
    sendAskface(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

      void addFaceReceivedListener(@NotNull @NotNull AskfaceFaceQueueListener listener)
      Registers a listener to be called whenever a face has been received.
      Parameters:
      listener - the listener