Class AskfaceFaceQueue
java.lang.Object
com.realtime.crossfire.jxclient.faces.AbstractFaceQueue
com.realtime.crossfire.jxclient.faces.AskfaceFaceQueue
- All Implemented Interfaces:
FaceQueue
A
FaceQueue requesting faces by "askface" commands sent to the
Crossfire server.-
Constructor Summary
ConstructorsConstructorDescriptionAskfaceFaceQueue(@NotNull AskfaceQueue askfaceQueue) Creates a new instance. -
Method Summary
Methods inherited from class com.realtime.crossfire.jxclient.faces.AbstractFaceQueue
addFaceQueueListener, fireFaceFailed, fireFaceLoaded, removeFaceQueueListener
-
Constructor Details
-
AskfaceFaceQueue
Creates a new instance.- Parameters:
askfaceQueue- the connection instance for sending askface commands
-
-
Method Details
-
reset
public void reset()Description copied from interface:FaceQueueReset the processing: forget about pending faces. This function is called whenever the server socket breaks, or when a new connection has been established. -
loadFace
Description copied from interface:FaceQueueRequest a face. Must eventually call eitherFaceQueueListener.faceLoaded(Face, FaceImages)orFaceQueueListener.faceFailed(Face)for the face. Faces re-requested while still processing may be notified only once.- Parameters:
face- the requested face
-