|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface Goose
The core client interface for the Gaggle - any software which needs to communicate with the gaggle must implement this interface. Implementations of Goose are desgined to be compiled by rmic into stubs which can communicate across JVMs. Hence every method must throw RemoteException.
for a "canonical" implementation| Method Summary | |
|---|---|
void |
doBroadcastList()
Deprecated. This is no longer used. |
void |
doExit()
Tells the goose to exit (terminate). |
void |
doHide()
Tells the goose to hide itself |
void |
doShow()
Tells the goose to show itself |
java.lang.String |
getName()
Returns the name of the goose. |
void |
handleCluster(java.lang.String source,
Cluster cluster)
Called when the goose receives a Cluster object |
void |
handleMatrix(java.lang.String source,
DataMatrix matrix)
Called when the goose receives a DataMatrix object |
void |
handleNameList(java.lang.String source,
Namelist nameList)
Called when the goose receives a NameList object |
void |
handleNetwork(java.lang.String source,
Network network)
Called when the goose receives a Network object |
void |
handleTuple(java.lang.String source,
GaggleTuple gaggleTuple)
Called when the goose receives a GaggleTuple object |
void |
setName(java.lang.String newName)
Sets the name of (renames) the goose. |
void |
update(java.lang.String[] gooseNames)
Provides the goose with an updated list of the names of active geese. |
| Method Detail |
|---|
void handleNameList(java.lang.String source,
Namelist nameList)
throws java.rmi.RemoteException
source - Optional string indicating name of source goosenameList - The NameList object
java.rmi.RemoteException - if RMI communication fails
void handleMatrix(java.lang.String source,
DataMatrix matrix)
throws java.rmi.RemoteException
source - Optional string indicating name of source goosematrix - The DataMatrix object
java.rmi.RemoteException - if RMI communication fails
void handleTuple(java.lang.String source,
GaggleTuple gaggleTuple)
throws java.rmi.RemoteException
source - Optional string indicating name of source goosegaggleTuple - The GaggleTuple object
java.rmi.RemoteException - if RMI communication fails
void handleCluster(java.lang.String source,
Cluster cluster)
throws java.rmi.RemoteException
source - Optional string indicating name of source goosecluster - The Cluster object
java.rmi.RemoteException - if RMI communication fails
void handleNetwork(java.lang.String source,
Network network)
throws java.rmi.RemoteException
source - Optional string indicating name of source goosenetwork - The Network object
java.rmi.RemoteException - if RMI communication fails
void update(java.lang.String[] gooseNames)
throws java.rmi.RemoteException
gooseNames - the names of the currently active geese
java.rmi.RemoteException - if RMI communication failsMiscUtil.updateGooseChooser(javax.swing.JComboBox gooseChooser, String callingGoose, String[] allGeese);
java.lang.String getName()
throws java.rmi.RemoteException
java.rmi.RemoteException - if RMI communication fails
void setName(java.lang.String newName)
throws java.rmi.RemoteException
newName - The new name of the goose
java.rmi.RemoteException - if RMI communication fails
void doBroadcastList()
throws java.rmi.RemoteException
java.rmi.RemoteException - if RMI communication fails
void doHide()
throws java.rmi.RemoteException
java.rmi.RemoteException - if RMI communication fails
void doShow()
throws java.rmi.RemoteException
java.rmi.RemoteException - if RMI communication fails
void doExit()
throws java.rmi.RemoteException
java.rmi.RemoteException - if RMI communication fails
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||