|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.ObjectRedes.Direccion
Redes.PuntoAPunto.DireccionPuntoAPunto
Direccion PuntoAPunto
| Field Summary |
| Fields inherited from class Redes.Direccion |
kNOINICIALIZADO |
| Constructor Summary | |
DireccionPuntoAPunto(Direccion direccion)
Constructor |
|
DireccionPuntoAPunto(int valor)
Constructor en base a los bytes que la forman |
|
DireccionPuntoAPunto(java.lang.String dir)
Constructor |
|
| Method Summary | |
boolean |
EsBroadcast()
Comprueba si la direccion punto a punto es de broadcast |
java.lang.String |
toString()
Convierte la direccion MAC a una cadena de texto (en hexadecimal) |
| Methods inherited from class Redes.Direccion |
equals, getBits, getByte, Longitud, setByte, Tipo |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public DireccionPuntoAPunto(java.lang.String dir)
throws java.lang.IllegalArgumentException
dir - Direccion Punto a punto (valor de 0 a 255, 255 se usa como broadcast)
java.lang.IllegalArgumentException - Si la direccion no esta comprendida entre 0 y 255
public DireccionPuntoAPunto(int valor)
throws java.lang.IllegalArgumentException
valor - Byte 0
java.lang.IllegalArgumentException
public DireccionPuntoAPunto(Direccion direccion)
throws java.lang.IllegalArgumentException
direccion - Direccion de la misma longitud (1 byte)
java.lang.IllegalArgumentException - si la direccion indicada no es compatible| Method Detail |
public java.lang.String toString()
public boolean EsBroadcast()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||