com.kuka.comm
Interface ConnectionStatistics

All Known Subinterfaces:
NetConnectionStatistics, TcpConnectionStatistics, UdpConnectionStatistics

public interface ConnectionStatistics

Represents general connection statistics that are independent of the underlying implementation of the connection.


Method Summary
 int getDecodingFailures()
          Returns the number of decoding failures.
 double getDecodingTime()
          Returns the average time (in milliseconds) that the decoding of a message takes.
 int getEncodingFailures()
          Returns the number of encoding failures.
 double getEncodingTime()
          Returns the average time (in milliseconds) that the encoding of a message takes.
 int getLostMessages()
          Returns the number of lost messages (incoming and outgoing messages).
 int getLostMessagesIn()
          Returns the number of lost incoming messages.
 int getLostMessagesOut()
          Returns the number of lost outgoing messages.
 

Method Detail

getEncodingFailures

int getEncodingFailures()
Returns the number of encoding failures.

Returns:
the number of errors since statistical recoding started

getDecodingFailures

int getDecodingFailures()
Returns the number of decoding failures.

Returns:
the number of errors since statistical recoding started

getDecodingTime

double getDecodingTime()
Returns the average time (in milliseconds) that the decoding of a message takes.

Returns:
the average time (in milliseconds) that the decoding of a message takes

getEncodingTime

double getEncodingTime()
Returns the average time (in milliseconds) that the encoding of a message takes.

Returns:
the average time (in milliseconds) that the encoding of a message takes

getLostMessages

int getLostMessages()
Returns the number of lost messages (incoming and outgoing messages).

Returns:
the number of lost messages (incoming and outgoing messages)
See Also:
getLostMessagesIn(), getLostMessagesOut()

getLostMessagesIn

int getLostMessagesIn()
Returns the number of lost incoming messages.

Returns:
the number of lost incoming messages
See Also:
getLostMessages(), getLostMessagesOut()

getLostMessagesOut

int getLostMessagesOut()
Returns the number of lost outgoing messages.

Returns:
the number of lost outgoing messages
See Also:
getLostMessages(), getLostMessagesIn()


Copyright © 2019. All rights reserved.