Project JXTA

net.jxta.impl.endpoint.endpointMeter
Class InboundMeter

java.lang.Object
  extended bynet.jxta.impl.endpoint.endpointMeter.InboundMeter

public class InboundMeter
extends Object

Meter corresponding to a registered EndpointListener


Constructor Summary
InboundMeter(String serviceName, String serviceParameter)
           
 
Method Summary
 InboundMetric collectMetrics()
           
 InboundMetric getCumulativeMetrics()
           
(package private)  String getServiceName()
           
(package private)  String getServiceParameter()
           
 void inboundMessageDeQueued(Message message, long time)
           
 void inboundMessageDropped(Message message, long time)
           
 void inboundMessageProcessed(Message message, long time)
           
 void inboundMessageQueued(Message message)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

InboundMeter

public InboundMeter(String serviceName,
                    String serviceParameter)
Method Detail

inboundMessageQueued

public void inboundMessageQueued(Message message)

inboundMessageDropped

public void inboundMessageDropped(Message message,
                                  long time)

inboundMessageDeQueued

public void inboundMessageDeQueued(Message message,
                                   long time)

inboundMessageProcessed

public void inboundMessageProcessed(Message message,
                                    long time)

getServiceName

String getServiceName()

getServiceParameter

String getServiceParameter()

toString

public String toString()

getCumulativeMetrics

public InboundMetric getCumulativeMetrics()

collectMetrics

public InboundMetric collectMetrics()

JXTA J2SE