public class LocalDiscoveryAgent
extends java.lang.Object
implements jadex.bridge.service.types.awareness.IDiscoveryService
| Modifier and Type | Field and Description |
|---|---|
protected jadex.bridge.IInternalAccess |
agent
Access to agent.
|
protected static java.io.File |
DISCOVERY_DIR
The discovery directory.
|
protected java.io.File |
lastpostedfile
The last awareness file that has been posted.
|
protected java.lang.Object |
watchservice
The directory watch service.
|
| Constructor and Description |
|---|
LocalDiscoveryAgent() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
postInfo() |
void |
republish()
Republish the awareness info.
|
protected void |
scan()
Scans for new local awareness infos.
|
void |
setDelay(long delay)
Set the send delay.
|
void |
setExcludes(java.lang.String[] excludes)
Set the excludes.
|
void |
setFast(boolean fast)
Set the fast awareness flag.
|
void |
setIncludes(java.lang.String[] includes)
Set the includes.
|
jadex.commons.future.IFuture<java.lang.Void> |
start()
Implements the start.
|
protected static final java.io.File DISCOVERY_DIR
protected jadex.bridge.IInternalAccess agent
protected java.io.File lastpostedfile
protected java.lang.Object watchservice
public jadex.commons.future.IFuture<java.lang.Void> start()
public void setDelay(long delay)
setDelay in interface jadex.bridge.service.types.awareness.IDiscoveryServicedelay - The delay.public void setFast(boolean fast)
setFast in interface jadex.bridge.service.types.awareness.IDiscoveryServicefast - The fast flag.public void setIncludes(java.lang.String[] includes)
setIncludes in interface jadex.bridge.service.types.awareness.IDiscoveryServiceincludes - The includes.public void setExcludes(java.lang.String[] excludes)
setExcludes in interface jadex.bridge.service.types.awareness.IDiscoveryServiceexcludes - The excludes.public void republish()
republish in interface jadex.bridge.service.types.awareness.IDiscoveryServiceprotected void postInfo()
protected void scan()