|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectmcgui.SkeletonCaster
public abstract class SkeletonCaster
Class to extend when implementing a Multicaster.
Field Summary | |
---|---|
protected BasicCommunicator |
bcom
Callback for calling functions of the GUI. |
protected int |
id
Id of the client. |
protected MulticasterUI |
mcui
Callback for calling functions of the GUI. |
Constructor Summary | |
---|---|
SkeletonCaster()
|
Method Summary | |
---|---|
void |
enableUI()
Should enable the UI |
void |
setCommunicator(BasicCommunicator bcom,
int id)
Set BasicCommunicator that should be used |
void |
setUI(MulticasterUI mcui)
Set the UI that should be used |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface mcgui.Multicaster |
---|
basicpeerdown, basicreceive, cast |
Field Detail |
---|
protected MulticasterUI mcui
protected BasicCommunicator bcom
protected int id
Constructor Detail |
---|
public SkeletonCaster()
Method Detail |
---|
public void setUI(MulticasterUI mcui)
setUI
in interface Multicaster
mcui
- The UIpublic void setCommunicator(BasicCommunicator bcom, int id)
setCommunicator
in interface Multicaster
bcom
- The Basic communicatorpublic void enableUI()
Multicaster
enableUI
in interface Multicaster
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |