|
JML | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.sf.jml.message.p2p.DisplayPictureDuelManager
public class DisplayPictureDuelManager
This class is the manager for all MsnObjects P2P transmisions from this client to a remote one.
Constructor Summary | |
---|---|
DisplayPictureDuelManager()
Create a new instance of the duel manager. |
Method Summary | |
---|---|
void |
add(DisplayPictureDuel duel)
Add a new instance of a DisplayPictureDuel to the list of workers. |
DisplayPictureDuel |
get(int baseId)
Get an instance of a DisplayPictureDuel worker based on it's ID. |
MsnObject |
getDisplayPicture()
Retrieves the current user display picture. |
MsnObject |
getPicture(String key)
Get a picture based on it's key. |
int |
getSize()
Get the number of actual workers. |
void |
putPicture(String key,
MsnObject obj)
Add a new picture to be available to be sended when required. |
boolean |
remove(int baseId)
Removes a DisplayPictureDuel based on the worker id. |
void |
setDisplayPicutre(MsnObject displayPicture)
Sets the current user display picture. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DisplayPictureDuelManager()
Method Detail |
---|
public void add(DisplayPictureDuel duel)
duel
- Instance of the worker.public DisplayPictureDuel get(int baseId)
baseId
- Id of the worker.
public boolean remove(int baseId)
baseId
- Id of the worker.
public int getSize()
public void putPicture(String key, MsnObject obj)
key
- Key for the picture.obj
- Instance of the MsnObject.public MsnObject getPicture(String key)
key
- Key of the picture.
public MsnObject getDisplayPicture()
public void setDisplayPicutre(MsnObject displayPicture)
displayPicture
- Instance of the current user display picture.
|
JML | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |