rup.robot
Class Protocol

java.lang.Object
  |
  +--rup.robot.Protocol

public class Protocol
extends java.lang.Object


Constructor Summary
Protocol(java.lang.String t, java.lang.String v)
           
 
Method Summary
 java.lang.String getType()
          Permet de récuperer le type de protocole disponible sur le serveur web pour pouvoir communiquer avec lui.
 java.lang.String getValue()
          Permet de récupérer les paramétres liés au protocole spécifié plus haut
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Protocol

public Protocol(java.lang.String t,
                java.lang.String v)
Method Detail

getType

public java.lang.String getType()
Permet de récuperer le type de protocole disponible sur le serveur web pour pouvoir communiquer avec lui.
Returns:
String par exemple http ou smtp

getValue

public java.lang.String getValue()
Permet de récupérer les paramétres liés au protocole spécifié plus haut
Returns:
String par exemple l'adresse email si smtp ou le path du script Cgi