net.sf.juoserver.protocol
Class MegaClilocResponse<T extends UOObject>
java.lang.Object
net.sf.juoserver.protocol.AbstractMessage
net.sf.juoserver.protocol.MegaClilocResponse<T>
- All Implemented Interfaces:
- Serializable, Message
public abstract class MegaClilocResponse<T extends UOObject>
- extends AbstractMessage
- See Also:
- Serialized Form
hashCode
public int hashCode()
- Specified by:
hashCode
in class AbstractMessage
equals
public boolean equals(Object obj)
- Specified by:
equals
in class AbstractMessage
encode
public ByteBuffer encode()
- Description copied from interface:
Message
- Encodes this message into a byte array packet.
The array is wrapped in a byte buffer in order to let subclasses append
their contents.
- Specified by:
encode
in interface Message
- Overrides:
encode
in class AbstractMessage
- Returns:
- the byte array representation (a.k.a. packet) of this message
revisionHashCode
protected abstract int revisionHashCode(T obj)
encodeObject
protected abstract void encodeObject(T obj,
ByteBuffer bb)
createMobileMegaClilocResponse
public static AbstractMessage createMobileMegaClilocResponse(Mobile mobile)
createItemMegaClilocResponse
public static AbstractMessage createItemMegaClilocResponse(Item item)
Copyright © 2010-2012. All Rights Reserved.