|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectprotocol.sal10.StatisticsSAL10
public class StatisticsSAL10
Classe de estatísticas da conexão
| Constructor Summary | |
|---|---|
StatisticsSAL10(long time)
Construtor |
|
| Method Summary | |
|---|---|
int |
getCountCom()
Retorna a quantidade de comunicações que ocorreram Uma comunicação é bilateral, envio e resposta |
int |
getCountFrameFail()
Retorna a quantidade de frames que falharam Foi solicitado ao equipamento a retransmissão por: -Tipo do frame inválido -Checksum incorreto -Hash incorreto -Signal não existe -Comando não encontrado -Criptografia inválida |
int |
getCountLostFrame()
Retorna a quantidade de frames perdidos, foram retransmitidos |
int |
getCountRetrans()
Retorna a quantidade de frames retransmitidos por solicitação do equipamento |
int |
getDelay()
Retorna a média entre tempo de atraso entre os comandos ping e pong A média é feita de 10 leituras |
java.lang.String |
getDuration(long time)
Retorna a tempo de duração da conexão |
int |
getDurationDays(long time)
Public interface |
int |
getDurationHours(long time)
Retorna Quantas horas do dia a conexão está ativa |
int |
getDurationMinutes(long time)
Retorna quantos minutos da hora a conexão está ativa |
int |
getDurationSeconds(long time)
Retorna quantos segundos do minuto a conexão está ativa |
long |
getInitialTimeConnection()
Retorna quando foi iniciado a conexão |
java.lang.String |
getStatistics(long time)
Retorna todas as estatísticas |
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public StatisticsSAL10(long time)
time - Milisegundos corrente| Method Detail |
|---|
public int getDurationDays(long time)
getDurationDays in interface ISALStatisticstime - Milisegundos corrente
public int getDurationHours(long time)
ISALStatistics
getDurationHours in interface ISALStatisticstime - Milisegundos corrente
public int getDurationMinutes(long time)
ISALStatistics
getDurationMinutes in interface ISALStatisticstime - Milisegundos corrente
public int getDurationSeconds(long time)
ISALStatistics
getDurationSeconds in interface ISALStatisticstime - Milisegundos corrente
public java.lang.String getDuration(long time)
ISALStatistics
getDuration in interface ISALStatisticstime - Milisegundos corrente
public long getInitialTimeConnection()
ISALStatistics
getInitialTimeConnection in interface ISALStatisticspublic int getDelay()
ISALStatistics
getDelay in interface ISALStatisticspublic int getCountFrameFail()
ISALStatistics
getCountFrameFail in interface ISALStatisticspublic int getCountRetrans()
ISALStatistics
getCountRetrans in interface ISALStatisticspublic int getCountLostFrame()
ISALStatistics
getCountLostFrame in interface ISALStatisticspublic int getCountCom()
ISALStatistics
getCountCom in interface ISALStatisticspublic java.lang.String getStatistics(long time)
ISALStatistics
getStatistics in interface ISALStatisticstime - Milisegundos corrente
public java.lang.String toString()
toString in class java.lang.Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||