|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectestella.lib.Descritor
public class Descritor
Gerencia descritor
02/12/2005
Constructor Summary | |
---|---|
Descritor(byte tipo,
byte ttl,
byte[] payload)
Instancia uma nova classe do tipo DID |
Method Summary | |
---|---|
byte |
hops()
HOPS - Retorna o numero de vezes que o descritor foi roteado (passado por outros servents) |
void |
hops(byte hops)
HOPS - Seta o numero de vezes que o descritor foi roteado (passado por outros servents) |
byte[] |
retorna()
Retorna o descritor gerado |
byte |
ttl()
TTL - time to live |
void |
ttl(byte ttl)
TTL -time to live |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Descritor(byte tipo, byte ttl, byte[] payload)
Method Detail |
---|
public byte[] retorna()
public byte ttl()
public void ttl(byte ttl)
ttl
- - seta o ttl com o byte passadopublic void hops(byte hops)
hops
- - byte com o hops a ser setadopublic byte hops()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |