public interface HubNetInterface
Field Summary | |
---|---|
static String |
NOT_LOGGED_IN
|
Method Summary | |
---|---|
boolean |
addNarrowcastPlot(String plotName)
|
void |
broadcast(String variableName,
Object data)
|
void |
broadcastGW()
|
void |
broadcastText(String text)
|
Object |
clientEditor()
|
void |
closeClientEditor()
|
boolean |
connectionsExist()
|
void |
disconnect()
|
boolean |
enterMessage()
|
boolean |
exitMessage()
|
void |
fetchMessage()
|
int |
getInQueueSize()
|
Object |
getMessage()
|
String |
getMessageSource()
|
String |
getMessageTag()
|
double |
getOutQueueSize()
|
void |
hubNetClearPlot(String clientId)
|
void |
hubNetPenDown(String clientId,
boolean penDown)
|
void |
hubNetPenMode(String clientId,
int plotPenMode)
|
void |
hubNetPlot(String clientId,
double y)
|
void |
hubNetPlot(String clientId,
double x,
double y)
|
void |
hubNetSetHistogramNumBars(String clientId,
int num)
|
void |
hubNetSetInterval(String clientId,
double interval)
|
void |
importClientInterface(String path,
boolean client)
|
void |
load(String[] lines,
String version)
|
boolean |
messageWaiting()
|
void |
newClient()
|
void |
newClient(int waitTime)
|
void |
openClientEditor()
|
void |
reset()
|
void |
save(StringBuffer buf)
|
void |
send(List nodes,
String tag,
Object message)
sends message to tag on each node in nodes. nodes should be list of string node ids. |
boolean |
send(String node,
String tag,
Object message)
sends message to a specific node, specified by String ID. |
void |
sendClear()
|
void |
sendGW(List nodes)
|
void |
sendLine(double x0,
double y0,
double x1,
double y1,
Object color,
double size,
String mode)
|
void |
sendStamp(Agent agent,
boolean erase)
|
void |
sendText(List nodes,
String text)
|
void |
setClientInterface(String interfaceType,
LogoList interfaceInfo)
|
void |
setTitle(String title,
String directory,
int type)
|
void |
showControlCenter()
|
void |
updateDisplay()
|
boolean |
validTag(String tag)
|
Field Detail |
---|
static final String NOT_LOGGED_IN
Method Detail |
---|
boolean messageWaiting() throws LogoException
LogoException
boolean enterMessage() throws LogoException
LogoException
boolean exitMessage() throws LogoException
LogoException
void fetchMessage() throws LogoException
LogoException
Object getMessage() throws LogoException
LogoException
String getMessageSource() throws LogoException
LogoException
String getMessageTag() throws LogoException
LogoException
void broadcast(String variableName, Object data) throws LogoException
LogoException
void broadcastText(String text)
void sendText(List nodes, String text)
void send(List nodes, String tag, Object message) throws LogoException
LogoException
boolean send(String node, String tag, Object message) throws LogoException
LogoException
boolean validTag(String tag)
void disconnect()
boolean connectionsExist()
void reset() throws LogoException
LogoException
void setClientInterface(String interfaceType, LogoList interfaceInfo) throws LogoException
LogoException
void newClient()
void newClient(int waitTime)
void updateDisplay()
void sendGW(List nodes) throws LogoException
LogoException
void broadcastGW() throws LogoException
LogoException
void sendLine(double x0, double y0, double x1, double y1, Object color, double size, String mode)
void sendStamp(Agent agent, boolean erase)
void sendClear()
void showControlCenter()
double getOutQueueSize() throws LogoException
LogoException
int getInQueueSize() throws LogoException
LogoException
void save(StringBuffer buf)
void closeClientEditor()
void openClientEditor()
Object clientEditor()
void load(String[] lines, String version)
void importClientInterface(String path, boolean client) throws IOException
IOException
void setTitle(String title, String directory, int type)
boolean addNarrowcastPlot(String plotName)
void hubNetPlot(String clientId, double y)
void hubNetPlot(String clientId, double x, double y)
void hubNetClearPlot(String clientId)
void hubNetPenDown(String clientId, boolean penDown)
void hubNetPenMode(String clientId, int plotPenMode)
void hubNetSetHistogramNumBars(String clientId, int num)
void hubNetSetInterval(String clientId, double interval)