|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.ObjectRedes.Nivel
Redes.IPv4.NivelIPv4
Módulo IPv4
| Field Summary | |
TablaDeRutas |
tablaDeRutas
Tabla de rutas, facimente accesible desde el 'equipo' |
| Fields inherited from class Redes.Nivel |
parametros |
| Constructor Summary | |
NivelIPv4(Equipo equipo,
ModuloARP moduloARP,
ModuloICMP moduloICMP)
Constructor |
|
| Method Summary | |
java.lang.String |
ID()
Devuelve el identificador del nivel |
void |
IPForwarding(boolean estado)
Activa o Desactiva el 'ip forwarding' |
int |
Pendientes()
Devuelve el numero de datagramas pendientes de ser procesados |
void |
Procesar(int instante)
Procesa los datagramas del instante especificado |
| Methods inherited from class Redes.Nivel |
getNivelInferior, getNivelSuperior, ProgramarEntrada, ProgramarSalida, setNivelInferior, setNivelSuperior, SimularError, SimularError |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
public TablaDeRutas tablaDeRutas
| Constructor Detail |
public NivelIPv4(Equipo equipo,
ModuloARP moduloARP,
ModuloICMP moduloICMP)
equipo - Equipo que contiene el modulomoduloARP - Modulo ARP, que se usara para traducir las direcciones IPmoduloICMP - Modulo ICMP que se usara para el envio de mensajes informativos o de error| Method Detail |
public void IPForwarding(boolean estado)
estado - 'true' para habilitar y 'false' para deshabilitarpublic void Procesar(int instante)
Procesar in class Nivelinstante - Instante de tiempopublic int Pendientes()
Pendientes in class Nivelpublic java.lang.String ID()
ID in class Nivel
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||