Crossfire JXClient, Trunk
|
Public Member Functions | |
void | addFaceQueueListener (@NotNull FaceQueueListener faceQueueListener) |
void | loadFace (@NotNull Face face) |
void | removeFaceQueueListener (@NotNull FaceQueueListener faceQueueListener) |
void | reset () |
Interface for classes implementing a means to load Faces.
Definition at line 31 of file FaceQueue.java.
void com.realtime.crossfire.jxclient.faces.FaceQueue.addFaceQueueListener | ( | @NotNull FaceQueueListener | faceQueueListener | ) |
Adds a FaceQueueListener to be notified about processed faces.
faceQueueListener | the listener to add |
Implemented in com.realtime.crossfire.jxclient.faces.AbstractFaceQueue.
Referenced by com.realtime.crossfire.jxclient.faces.DefaultFacesManager.DefaultFacesManager(), and com.realtime.crossfire.jxclient.faces.FacesQueue.FacesQueue().
void com.realtime.crossfire.jxclient.faces.FaceQueue.loadFace | ( | @NotNull Face | face | ) |
Request a face. Must eventually call either 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 |
Implemented in com.realtime.crossfire.jxclient.faces.FacesQueue, com.realtime.crossfire.jxclient.faces.FileCacheFaceQueue, and com.realtime.crossfire.jxclient.faces.AskfaceFaceQueue.
Referenced by com.realtime.crossfire.jxclient.faces.DefaultFacesManager.getFaceImages().
void com.realtime.crossfire.jxclient.faces.FaceQueue.removeFaceQueueListener | ( | @NotNull FaceQueueListener | faceQueueListener | ) |
Removes a FaceQueueListener to be notified about processed faces.
faceQueueListener | the listener to remove |
Implemented in com.realtime.crossfire.jxclient.faces.AbstractFaceQueue.
void com.realtime.crossfire.jxclient.faces.FaceQueue.reset | ( | ) |
Reset the processing: forget about pending faces. This function is called whenever the server socket breaks, or when a new connection has been established.
Implemented in com.realtime.crossfire.jxclient.faces.FacesQueue, com.realtime.crossfire.jxclient.faces.FileCacheFaceQueue, and com.realtime.crossfire.jxclient.faces.AskfaceFaceQueue.
Referenced by com.realtime.crossfire.jxclient.faces.FacesQueue.reset(), and com.realtime.crossfire.jxclient.faces.DefaultFacesManager.reset().