public class RegisterEntityEvent extends Event
| Constructor and Description |
|---|
RegisterEntityEvent() |
RegisterEntityEvent(AOByteBuffer buf,
ClientConnection con) |
RegisterEntityEvent(byte[] data,
boolean isPortaling)
we pass in the data instead of the entity because
we may be getting back 'newer' entity data
than we have in storage - see RegisterEntityResponse.java..
|
| Modifier and Type | Method and Description |
|---|---|
byte[] |
getData()
the serialized entity data
|
java.lang.String |
getName() |
boolean |
isPortal() |
void |
isPortal(boolean b) |
void |
parseBytes(AOByteBuffer buf)
load this event from the passed in buffer
called by the constructor
|
void |
setData(byte[] bytes) |
AOByteBuffer |
toBytes() |
getBuffer, getConnection, getEnqueueTime, getObjectOid, setBuffer, setConnection, setEnqueueTime, setEntity, setObject, setObjectOid, toStringpublic RegisterEntityEvent()
public RegisterEntityEvent(AOByteBuffer buf, ClientConnection con)
public RegisterEntityEvent(byte[] data,
boolean isPortaling)
public AOByteBuffer toBytes()
public void parseBytes(AOByteBuffer buf)
EventparseBytes in interface EventParserparseBytes in class Eventpublic byte[] getData()
public void setData(byte[] bytes)
public void isPortal(boolean b)
public boolean isPortal()