fr.lip6.sma.simulacion.server.http
Class HTTPConsts

java.lang.Object
  extended by fr.lip6.sma.simulacion.server.http.HTTPConsts

public final class HTTPConsts
extends Object

Classe pour les constantes relatives au serveur HTTP. Ce n'est pas une interface parce que les interfaces sont toutes des types. En plus, ces constantes ne sont accessibles que dans le paquet http.

Version:
$Revision: 3 $
Author:
Paul Guyot
See Also:
"aucun test défini."

Field Summary
(package private) static int CLIENT_MAXATTEMPTS
          Nombre maximal de tentatives de connexion pour les requêtes.
(package private) static int CLIENT_TIMEOUT
          Temps maximum sans avoir de nouvelle d'un client.
(package private) static int DEFAULT_PORT
          Port par défaut.
(package private) static int EXECUTE_TIMEOUT
          Temps à attendre pour execute.
(package private) static String FILE_PROPERTY
          Propriété avec le fichier dans l'URL (au sens de URL.getFile()).
(package private) static String GAMEID_PROPERTY
          Propriété avec le jeu et la version.
(package private) static String HOST_PROPERTY
          Propriété avec le nom du serveur.
(package private) static int LISTEN_RETRY
          Temps maximum qu'un client attend avec un listen avant de réitérer son message.
(package private) static int LISTEN_TIMEOUT
          Temps à attendre pour listen.
(package private) static String MDNS_SERVICE_TYPE
          mDNS service type prefix for the HTTP server.
(package private) static String PORT_PROPERTY
          Propriété avec le numéro du port.
(package private) static String ZEROCONF_NAME_SUFFIX_PROPERTY
          Property to mention if the service is published with ZeroConf.
(package private) static String ZEROCONF_PUBLISH_PROPERTY
          Property to mention if the service is published with ZeroConf.
 
Constructor Summary
private HTTPConsts()
          Constructeur par défaut non disponible.
 
Method Summary
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

PORT_PROPERTY

static final String PORT_PROPERTY
Propriété avec le numéro du port.

See Also:
Constant Field Values

DEFAULT_PORT

static final int DEFAULT_PORT
Port par défaut.

See Also:
Constant Field Values

HOST_PROPERTY

static final String HOST_PROPERTY
Propriété avec le nom du serveur.

See Also:
Constant Field Values

FILE_PROPERTY

static final String FILE_PROPERTY
Propriété avec le fichier dans l'URL (au sens de URL.getFile()).

See Also:
URL.getFile(), Constant Field Values

ZEROCONF_PUBLISH_PROPERTY

static final String ZEROCONF_PUBLISH_PROPERTY
Property to mention if the service is published with ZeroConf.

See Also:
Constant Field Values

ZEROCONF_NAME_SUFFIX_PROPERTY

static final String ZEROCONF_NAME_SUFFIX_PROPERTY
Property to mention if the service is published with ZeroConf.

See Also:
Constant Field Values

GAMEID_PROPERTY

static final String GAMEID_PROPERTY
Propriété avec le jeu et la version. À terme, devrait dégager ailleurs, mais actuellement n'est utilisé qu'ici.

See Also:
Constant Field Values

MDNS_SERVICE_TYPE

static final String MDNS_SERVICE_TYPE
mDNS service type prefix for the HTTP server.

See Also:
Constant Field Values

LISTEN_TIMEOUT

static final int LISTEN_TIMEOUT
Temps à attendre pour listen. En millisecondes. 5 secondes pour le moment.

See Also:
Constant Field Values

LISTEN_RETRY

static final int LISTEN_RETRY
Temps maximum qu'un client attend avec un listen avant de réitérer son message. En millisecondes. 6 secondes pour le moment.

See Also:
Constant Field Values

EXECUTE_TIMEOUT

static final int EXECUTE_TIMEOUT
Temps à attendre pour execute. En millisecondes. 20 secondes pour le moment.

See Also:
Constant Field Values

CLIENT_TIMEOUT

static final int CLIENT_TIMEOUT
Temps maximum sans avoir de nouvelle d'un client. En millisecondes. 30 secondes pour le moment.

See Also:
Constant Field Values

CLIENT_MAXATTEMPTS

static final int CLIENT_MAXATTEMPTS
Nombre maximal de tentatives de connexion pour les requêtes.

See Also:
Constant Field Values
Constructor Detail

HTTPConsts

private HTTPConsts()
Constructeur par défaut non disponible.