org.activeio.packet
Class PacketPool.PooledPacket

java.lang.Object
  extended byorg.activeio.packet.FilterPacket
      extended byorg.activeio.packet.PacketPool.PooledPacket
All Implemented Interfaces:
Disposable, Packet
Enclosing class:
PacketPool

public class PacketPool.PooledPacket
extends FilterPacket


Nested Class Summary
 
Nested classes inherited from class org.activeio.Packet
Packet.ByteSequence
 
Field Summary
 
Fields inherited from class org.activeio.packet.FilterPacket
next
 
Constructor Summary
PacketPool.PooledPacket(Packet next)
           
 
Method Summary
 void dispose()
          This method should not throw any exceptions.
 Packet filter(Packet packet)
           
 
Methods inherited from class org.activeio.packet.FilterPacket
asByteSequence, capacity, clear, duplicate, duplicate, flip, hasRemaining, limit, limit, narrow, position, position, read, read, read, remaining, rewind, slice, sliceAsBytes, write, write, writeTo, writeTo
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PacketPool.PooledPacket

public PacketPool.PooledPacket(Packet next)
Method Detail

filter

public Packet filter(Packet packet)
Specified by:
filter in class FilterPacket

dispose

public void dispose()
Description copied from interface: Disposable
This method should not throw any exceptions. Cleaning up a Disposable object should be easy of an end user therefore do not make him have to handle an Exception.

Specified by:
dispose in interface Disposable
Overrides:
dispose in class FilterPacket


Copyright © -2007 The ActiveIO Project. All Rights Reserved.