org.apache.geronimo.network.protocol.control.commands
Class MenuItemPacketFieldReader
java.lang.Object
org.apache.geronimo.network.protocol.control.commands.MenuItemPacketFieldReader
- public class MenuItemPacketFieldReader
- extends Object
- Version:
- $Revision: 1.2 $ $Date: 2004/03/10 09:59:14 $
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
factories
protected Map factories
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.