|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.xmlrpc.WebServer
fr.lip6.sma.simulacion.server.mdxr.MDXRServer
public class MDXRServer
Classe pour le serveur de Simulacion. Chaque programme sur le réseau local comprend un serveur sur un port TCP choisi par la machine Java en fonction de ce qui est libre. Ceci permet d'avoir plusieurs serveurs sur la même machine. Le choix aléatoire du port est un gros hack de org.apache.xmlrpc.WebServer. J'attends des nouvelles de ma rustine envoyée le 13 mai.
Field Summary | |
---|---|
private MDXRAgentListManager |
mAgentListManager
Gestionnaire de liste pour les agents. |
private Handler |
mLocalAgentHandler
Gestionnaire pour l'agent local, null tant qu'il n'est
pas défini. |
Fields inherited from class org.apache.xmlrpc.WebServer |
---|
accept, clength, conclose, conkeep, ctype, deny, doubleNewline, listener, newline, ok, runners, server, serverSocket, threadpool, wwwAuthenticate, xmlrpc |
Constructor Summary | |
---|---|
MDXRServer()
Constructeur par défaut. |
Method Summary | |
---|---|
AgentListManager |
getAgentListManager()
Retourne l'interface pour la liste des agents. |
(package private) void |
setLocalAgent(Agent inLocalAgent)
Configure le serveur pour l'agent local. |
void |
shutdown()
Ferme le serveur. |
void |
start(Configuration inConfiguration)
Configure et démarre le serveur. |
Methods inherited from class org.apache.xmlrpc.WebServer |
---|
acceptClient, addDefaultHandlers, addHandler, allowConnection, checkSocket, createServerSocket, denyClient, determinePort, getPort, getRunner, main, removeHandler, run, setParanoid, start, toHTTPBytes |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
private Handler mLocalAgentHandler
null
tant qu'il n'est
pas défini.
private MDXRAgentListManager mAgentListManager
Constructor Detail |
---|
public MDXRServer()
Method Detail |
---|
public void start(Configuration inConfiguration)
start
in interface Server
inConfiguration
- configuration de l'application.public final AgentListManager getAgentListManager()
getAgentListManager
in interface Server
final void setLocalAgent(Agent inLocalAgent)
inLocalAgent
- l'agent local.public final void shutdown()
shutdown
in interface Server
shutdown
in class WebServer
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |