org.codehaus.wadi.servicespace.admin.commands
Class CountingEnvelopeInterceptor

java.lang.Object
  extended by org.codehaus.wadi.group.NoOpEnvelopeInterceptor
      extended by org.codehaus.wadi.servicespace.admin.commands.CountingEnvelopeInterceptor
All Implemented Interfaces:
EnvelopeInterceptor

public class CountingEnvelopeInterceptor
extends NoOpEnvelopeInterceptor

Version:
$Rev:$ $Date:$

Constructor Summary
CountingEnvelopeInterceptor()
           
 
Method Summary
 long getInCpt()
           
 long getOutCpt()
           
 Envelope onInboundEnvelope(Envelope envelope)
           
 Envelope onOutboundEnvelope(Envelope envelope)
           
 void reset()
           
 
Methods inherited from class org.codehaus.wadi.group.NoOpEnvelopeInterceptor
registerLoopbackEnvelopeListener, unregisterLoopbackEnvelopeListener
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CountingEnvelopeInterceptor

public CountingEnvelopeInterceptor()
Method Detail

reset

public void reset()

getInCpt

public long getInCpt()

getOutCpt

public long getOutCpt()

onInboundEnvelope

public Envelope onInboundEnvelope(Envelope envelope)
                           throws MessageExchangeException
Specified by:
onInboundEnvelope in interface EnvelopeInterceptor
Overrides:
onInboundEnvelope in class NoOpEnvelopeInterceptor
Throws:
MessageExchangeException

onOutboundEnvelope

public Envelope onOutboundEnvelope(Envelope envelope)
                            throws MessageExchangeException
Specified by:
onOutboundEnvelope in interface EnvelopeInterceptor
Overrides:
onOutboundEnvelope in class NoOpEnvelopeInterceptor
Throws:
MessageExchangeException


Copyright © 2011. All Rights Reserved.