|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
An RMStatistics represents a basic transport layer statistics block. Support of this Statistics block is optional and as a result some transports may not support interface. Those that do must define at least one class that implements the RMStatistics interface. This class may have additional transport specific methods, but must support the minimal methods defined in this interface.
The RMStatistics of a transport is obtained from the RMStreamSocket or RMPacketSocket with the aid of getRMStatistics method.
Most transports will want to create a class that implements the RMStatistics interface.
Method Summary | |
int |
getReceiverCount()
Returns the count of receivers participating in the multicast session. |
java.net.InetAddress[] |
getReceiverList()
Returns the list of receivers of the multicast session. |
int |
getSenderCount()
Returns the count of senders participating in the multicast session. |
java.net.InetAddress[] |
getSenderList()
Returns the list of senders of the multicast session. |
long |
getTotalDataReceive()
Returns the bytecount of data received by this node. |
long |
getTotalDataReSent()
Returns the bytecount of data retransmitted by this node to perform repairs. |
long |
getTotalDataSent()
Returns the bytecount of data contributed to the multicast session. |
Method Detail |
public int getSenderCount() throws UnsupportedException
UnsupportedException
- if RMStatistics block is not supported.public java.net.InetAddress[] getSenderList() throws UnsupportedException
UnsupportedException
- RMStatistics block if is not supported.public int getReceiverCount() throws UnsupportedException
UnsupportedException
- if RMStatistics block is not supported.public java.net.InetAddress[] getReceiverList() throws UnsupportedException
UnsupportedException
- if RMStatistics block is not supported.public long getTotalDataSent() throws UnsupportedException
UnsupportedException
- if RMStatistics block is not supported.public long getTotalDataReSent() throws UnsupportedException
UnsupportedException
- if RMStatistics block is not supported.public long getTotalDataReceive() throws UnsupportedException
UnsupportedException
- if RMStatistics block is not supported.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
JavaTM Reliable MulticastTM Service version 1.1
Copyright (c) 2001, Sun Microsystems Laboratories, All rights reserved.