Crossfire JXClient, Trunk  R20561
com.realtime.crossfire.jxclient.faces.FaceQueue Interface Reference

Interface for classes implementing a means to load Faces. More...

+ Inheritance diagram for com.realtime.crossfire.jxclient.faces.FaceQueue:
+ Collaboration diagram for com.realtime.crossfire.jxclient.faces.FaceQueue:

Public Member Functions

void addFaceQueueListener (@NotNull FaceQueueListener faceQueueListener)
 Adds a FaceQueueListener to be notified about processed faces. More...
 
void loadFace (@NotNull Face face)
 Request a face. More...
 
void removeFaceQueueListener (@NotNull FaceQueueListener faceQueueListener)
 Removes a FaceQueueListener to be notified about processed faces. More...
 
void reset ()
 Reset the processing: forget about pending faces. More...
 

Detailed Description

Interface for classes implementing a means to load Faces.

Author
Andreas Kirschbaum

Definition at line 30 of file FaceQueue.java.

Member Function Documentation

◆ addFaceQueueListener()

void com.realtime.crossfire.jxclient.faces.FaceQueue.addFaceQueueListener ( @NotNull FaceQueueListener  faceQueueListener)

Adds a FaceQueueListener to be notified about processed faces.

Parameters
faceQueueListenerthe listener to add

Implemented in com.realtime.crossfire.jxclient.faces.AbstractFaceQueue.

Referenced by com.realtime.crossfire.jxclient.faces.DefaultFacesManager.DefaultFacesManager().

+ Here is the caller graph for this function:

◆ loadFace()

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.

Parameters
facethe 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().

+ Here is the caller graph for this function:

◆ removeFaceQueueListener()

void com.realtime.crossfire.jxclient.faces.FaceQueue.removeFaceQueueListener ( @NotNull FaceQueueListener  faceQueueListener)

Removes a FaceQueueListener to be notified about processed faces.

Parameters
faceQueueListenerthe listener to remove

Implemented in com.realtime.crossfire.jxclient.faces.AbstractFaceQueue.

◆ reset()

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().

+ Here is the caller graph for this function:

The documentation for this interface was generated from the following file: