public class AskfaceFaceQueue extends AbstractFaceQueue
FaceQueue
requesting faces by "askface" commands sent to the
Crossfire server.Constructor and Description |
---|
AskfaceFaceQueue(@NotNull AskfaceQueue askfaceQueue)
Creates a new instance.
|
Modifier and Type | Method and Description |
---|---|
void |
loadFace(@NotNull Face face)
Request a face.
|
void |
reset()
Reset the processing: forget about pending faces.
|
addFaceQueueListener, fireFaceFailed, fireFaceLoaded, removeFaceQueueListener
public AskfaceFaceQueue(@NotNull @NotNull AskfaceQueue askfaceQueue)
askfaceQueue
- the connection instance for sending askface commandspublic void reset()
FaceQueue
public void loadFace(@NotNull @NotNull Face face)
FaceQueue
FaceQueueListener.faceLoaded(Face, FaceImages)
or
FaceQueueListener.faceFailed(Face)
for the face. Faces
re-requested while still processing may be notified only once.face
- the requested face