Crossfire JXClient, Trunk
Public Member Functions | List of all members
com.realtime.crossfire.jxclient.faces.FaceQueue Interface Reference
Inheritance diagram for com.realtime.crossfire.jxclient.faces.FaceQueue:
Inheritance graph
Collaboration diagram for com.realtime.crossfire.jxclient.faces.FaceQueue:
Collaboration graph

Public Member Functions

void addFaceQueueListener (@NotNull FaceQueueListener faceQueueListener)
 
void loadFace (@NotNull Face face)
 
void removeFaceQueueListener (@NotNull FaceQueueListener faceQueueListener)
 
void reset ()
 

Detailed Description

Interface for classes implementing a means to load Faces.

Author
Andreas Kirschbaum

Definition at line 31 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(), and com.realtime.crossfire.jxclient.faces.FacesQueue.FacesQueue().

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: