|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectmadkit.kernel.AbstractAgent
madkit.kernel.Agent
madkit.MadChat.share.AbstractServerAgent
madkit.MadChat.share.FileServerAgent
public class FileServerAgent
| Field Summary | |
|---|---|
Config |
config
|
java.lang.String |
pluginsPath
|
| Fields inherited from class madkit.MadChat.share.AbstractServerAgent |
|---|
madkitDirectory, separator |
| Constructor Summary | |
|---|---|
FileServerAgent()
|
|
| Method Summary | |
|---|---|
void |
activate(Config c)
|
void |
dirIndex(java.lang.String virtualPath,
java.lang.String realPath,
ListFic index)
|
void |
end()
This method is called by the agent micro-kernel at the end of the agent lifecycle. |
void |
initDir()
|
void |
initGUI()
This method is called by the specific external graphic system (as the G-Box) to ask the agent to prepare a graphical interface. |
void |
live()
This method defines the main behavior for threaded agents. |
| Methods inherited from class madkit.MadChat.share.AbstractServerAgent |
|---|
changeGroup, changeRole, getData, getGroupName, getRoleName, removeSmallSenderAgent, setGroupName, setRoleName |
| Methods inherited from class madkit.kernel.Agent |
|---|
connectAgencyToAgency, createPlace, createPlace, enableMobility, enableMobility, exitImmediatlyOnKill, getAgencyNamed, joinPlace, joinPlace, joinPlace, pause, receiveMessage, run, waitNextMessage, waitNextMessage |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public java.lang.String pluginsPath
public Config config
| Constructor Detail |
|---|
public FileServerAgent()
| Method Detail |
|---|
public void initGUI()
AbstractAgent
initGUI in class AbstractAgentpublic void activate(Config c)
public void live()
Agent
live in class Agentpublic void end()
AbstractAgent
end in class AbstractAgentpublic void initDir()
public void dirIndex(java.lang.String virtualPath,
java.lang.String realPath,
ListFic index)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||