org.apache.geronimo.network.protocol.control.commands
Class MenuItemPacketFieldReader

java.lang.Object
  extended byorg.apache.geronimo.network.protocol.control.commands.MenuItemPacketFieldReader

public class MenuItemPacketFieldReader
extends Object

Version:
$Revision: 1.2 $ $Date: 2004/03/10 09:59:14 $

Field Summary
protected  Map factories
           
 
Method Summary
static MenuItemPacketFieldReader getInstance()
           
 PacketField read(ByteBuffer buffer)
          We need to read from the same buffer so, we don't slice
 void register(byte key, PacketFieldFactory factory)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

factories

protected Map factories
Method Detail

getInstance

public static MenuItemPacketFieldReader getInstance()

register

public void register(byte key,
                     PacketFieldFactory factory)

read

public PacketField read(ByteBuffer buffer)
                 throws ProtocolException
We need to read from the same buffer so, we don't slice

Parameters:
buffer - the buffer to be read to obtain the field
Returns:
the field in for from of a packet
Throws:
ProtocolException


Copyright © 2003-2005 Apache Software Foundation. All Rights Reserved.