com.crankuptheamps.client
Class DefaultTransportFilter

java.lang.Object
  extended by com.crankuptheamps.client.DefaultTransportFilter
All Implemented Interfaces:
TransportFilter

public class DefaultTransportFilter
extends Object
implements TransportFilter

The DefaultTransportFilter is a no-op Filter.


Constructor Summary
DefaultTransportFilter()
           
 
Method Summary
 void incoming(ByteBuffer data)
          Called just after raw data is received from the AMPS instance.
 void outgoing(ByteBuffer data)
          Called when (typically just before) raw data is sent to the AMPS instance.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultTransportFilter

public DefaultTransportFilter()
Method Detail

outgoing

public void outgoing(ByteBuffer data)
Description copied from interface: TransportFilter
Called when (typically just before) raw data is sent to the AMPS instance.

Specified by:
outgoing in interface TransportFilter
Parameters:
data - A ByteBuffer containing raw data to be sent to the AMPS instance.

incoming

public void incoming(ByteBuffer data)
Description copied from interface: TransportFilter
Called just after raw data is received from the AMPS instance.

Specified by:
incoming in interface TransportFilter
Parameters:
data - A ByteBuffer containing raw data from the AMPS instance.