raccoon.tibco.tibrv.hoststatus.data
Class MsgInfo

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

public class MsgInfo
extends java.lang.Object

The information related to message information, extracted from the DbHostStatus message .

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

Constructor Summary
MsgInfo()
          Sets the time to now.
 
Method Summary
 long getBytesReceived()
          Gets the number of bytes received by the daemon.
 long getBytesSent()
          Gets the number of bytes sent by the daemon
 long getMsgReceived()
          Gets the number of messages received by the daemon.
 long getMsgSent()
          Gets the number of messages sent by the daemon
 short getOS()
           
 long getPacketsMissed()
          Retrieves the number of packets missed by this daemon.
 long getPacketsReceived()
          The number of packets received by this daemon
 long getPacketsReSent()
           
 long getPacketsSent()
          The number of packets sent by this daemon.
 long getTime()
          The time at which this instance was created.
 long getUpTime()
           
 void setBytesReceived(long pBytesReceived)
          Defines the number of bytes received by the daemon.
 void setBytesSent(long pBytesSent)
          Defines the number of bytes sent by the daemon.
 void setMsgReceived(long pMsgReceived)
          Defines the number of messages received by the daemon.
 void setMsgSent(long pMsgSent)
          Defines the number of messages sent by the daemon.
 void setOS(short pOS)
           
 void setPacketsMissed(long pPacketsMissed)
          Defines the number of packets missed by this daemon
 void setPacketsReceived(long pPacketsReceived)
          Defines the number of packets received.
 void setPacketsReSent(long pPacketsReSent)
          Defines the number of retransmissions, or lost packets in the outbound sense.
 void setPacketsSent(long pPacketsSent)
          Defines the number of packets of sent.
 void setUpTime(long pUpTime)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MsgInfo

public MsgInfo()
Sets the time to now.

See Also:
getTime()
Method Detail

getTime

public long getTime()
The time at which this instance was created.

Returns:
the time, in milliseconds.

getMsgSent

public long getMsgSent()
Gets the number of messages sent by the daemon

Returns:
the total number of messages sent.

setMsgSent

public void setMsgSent(long pMsgSent)
Defines the number of messages sent by the daemon.

Parameters:
pMsgSent - the total number of messages sent.

getMsgReceived

public long getMsgReceived()
Gets the number of messages received by the daemon.

Returns:
the total number of messages received.

setMsgReceived

public void setMsgReceived(long pMsgReceived)
Defines the number of messages received by the daemon.

Parameters:
pMsgReceived - the number of messages received.

getBytesSent

public long getBytesSent()
Gets the number of bytes sent by the daemon

Returns:
the total number of bytes sent.

setBytesSent

public void setBytesSent(long pBytesSent)
Defines the number of bytes sent by the daemon.

Parameters:
pBytesSent - the total number of bytes sent.

getBytesReceived

public long getBytesReceived()
Gets the number of bytes received by the daemon.

Returns:
the total number of bytes received.

setBytesReceived

public void setBytesReceived(long pBytesReceived)
Defines the number of bytes received by the daemon.

Parameters:
pBytesReceived - the number of bytes received.

getPacketsReSent

public long getPacketsReSent()

setPacketsReSent

public void setPacketsReSent(long pPacketsReSent)
Defines the number of retransmissions, or lost packets in the outbound sense.

Parameters:
pPacketsReSent - the number or retransmissions

getPacketsMissed

public long getPacketsMissed()
Retrieves the number of packets missed by this daemon.

Returns:
the number of packets missed.

setPacketsMissed

public void setPacketsMissed(long pPacketsMissed)
Defines the number of packets missed by this daemon

Parameters:
pPacketsMissed - the number of packets missed.

setPacketsSent

public void setPacketsSent(long pPacketsSent)
Defines the number of packets of sent.

Parameters:
pPacketsSent - the number of packets.

getPacketsSent

public long getPacketsSent()
The number of packets sent by this daemon.

Returns:
the number of packets sent.

setPacketsReceived

public void setPacketsReceived(long pPacketsReceived)
Defines the number of packets received.

Parameters:
pPacketsReceived - the number of packets received.

getPacketsReceived

public long getPacketsReceived()
The number of packets received by this daemon

Returns:
the number of UDP packets received.

setOS

public void setOS(short pOS)

getOS

public short getOS()

setUpTime

public void setUpTime(long pUpTime)

getUpTime

public long getUpTime()


Copyright null null. All Rights Reserved.