raccoon.tibco.tibrv.hoststatus.data
Class TransportStat

java.lang.Object
  extended by raccoon.tibco.tibrv.hoststatus.data.TransportStat

public class TransportStat
extends java.lang.Object

Statistical information related to a Rendezvous transport.

A Rendezvous transport is defined by:

Since:
Raccoon v1.0
Version:
$Id:$
Author:
Cedric ROUVRAIS

Constructor Summary
TransportStat()
           
 
Method Summary
 double getAvgByteIn()
           
 double getAvgByteOut()
           
 double getAvgMsgIn()
           
 double getAvgMsgOut()
           
 double getAvgTime()
           
 java.lang.String getHostAddr()
          The I.P.
 long getLostPackets()
           
 long getMissedPackets()
           
 long getReceivedPackets()
           
 long getSentPackets()
           
 java.lang.String getStatDateAsString()
          Generates the date in the form of a String.
 long getTime()
           
 void setAvgByteIn(double pAvgByteIn)
          Defines the number of bytes received during the measurement time.
 void setAvgByteOut(double pAvgByteOut)
          Defines the number of bytes sent during the measurement time.
 void setAvgMsgIn(double pAvgMsgIn)
          Defines the average inbound message rate.
 void setAvgMsgOut(double pAvgMsgOut)
          Defines the average outbound message rate.
 void setAvgTime(double pAvgTime)
          Defines the time over which the information was gathered.
 void setHostAddr(java.lang.String pHostAddr)
          Defines the ip address of the host
 void setLostPackets(long pLostPackets)
          Defines the number of packets lost.
 void setMissedPackets(long pMissedPackets)
          Defines the number of packets missed
 void setReceivedPackets(long pReceivedPackets)
          Defines the number of packets received.
 void setSentPackets(long pSentPackets)
          Defines the number of packets of sent.
 void setTime(long pTime)
          Defines the time at which the information was gathered.
 java.lang.String toString()
          Returns a string representation of the object.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

TransportStat

public TransportStat()
Method Detail

getHostAddr

public java.lang.String getHostAddr()
The I.P. Address of the host

Returns:
the ip address of the daemon host.

setHostAddr

public void setHostAddr(java.lang.String pHostAddr)
Defines the ip address of the host

Parameters:
pHostAddr - the ip address.

setAvgMsgIn

public void setAvgMsgIn(double pAvgMsgIn)
Defines the average inbound message rate.

Parameters:
pAvgMsgIn - the number of inbound messages per second

setAvgMsgOut

public void setAvgMsgOut(double pAvgMsgOut)
Defines the average outbound message rate.

Parameters:
pAvgMsgOut - the number of outbound messages per second

setAvgTime

public void setAvgTime(double pAvgTime)
Defines the time over which the information was gathered.

Parameters:
pAvgTime - the time, in seconds, over which the information was gathered.

setTime

public void setTime(long pTime)
Defines the time at which the information was gathered.

Parameters:
pTime - the, in milliseconds at which was gathered.

setAvgByteIn

public void setAvgByteIn(double pAvgByteIn)
Defines the number of bytes received during the measurement time.

Parameters:
pAvgByteIn - the number of bytes received.

setAvgByteOut

public void setAvgByteOut(double pAvgByteOut)
Defines the number of bytes sent during the measurement time.

Parameters:
pAvgByteOut - the number of bytes sent

setSentPackets

public void setSentPackets(long pSentPackets)
Defines the number of packets of sent.

Parameters:
pSentPackets - the number of packets.

setReceivedPackets

public void setReceivedPackets(long pReceivedPackets)
Defines the number of packets received.

Parameters:
pReceivedPackets - the number of packets received.

setLostPackets

public void setLostPackets(long pLostPackets)
Defines the number of packets lost.

Parameters:
pLostPackets - the number of packets lost.

setMissedPackets

public void setMissedPackets(long pMissedPackets)
Defines the number of packets missed

Parameters:
pMissedPackets - the number of missed packets.

getAvgTime

public double getAvgTime()

getTime

public long getTime()

getAvgMsgIn

public double getAvgMsgIn()

getAvgMsgOut

public double getAvgMsgOut()

getAvgByteIn

public double getAvgByteIn()

getAvgByteOut

public double getAvgByteOut()

getSentPackets

public long getSentPackets()

getReceivedPackets

public long getReceivedPackets()

getLostPackets

public long getLostPackets()

getMissedPackets

public long getMissedPackets()

toString

public java.lang.String toString()
Returns a string representation of the object.

Overrides:
toString in class java.lang.Object
Returns:
a string representation of the object.

getStatDateAsString

public java.lang.String getStatDateAsString()
Generates the date in the form of a String.

Returns:
the current day, month and year.


Copyright null null. All Rights Reserved.