|
|||||||||
| Atavism Version 2018.1 | AGIS API | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectatavism.server.engine.Event
atavism.server.events.RegisterEntityEvent
public class RegisterEntityEvent
the server is receiving a serialized entity in this event the proxy server sends the approp world server the serialized entity.
| Constructor Summary | |
|---|---|
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.. |
|
| Method Summary | |
|---|---|
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()
|
| Methods inherited from class atavism.server.engine.Event |
|---|
getBuffer, getConnection, getEnqueueTime, getObjectOid, setBuffer, setConnection, setEnqueueTime, setEntity, setObject, setObjectOid, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public RegisterEntityEvent()
public RegisterEntityEvent(AOByteBuffer buf,
ClientConnection con)
public RegisterEntityEvent(byte[] data,
boolean isPortaling)
| Method Detail |
|---|
public java.lang.String getName()
getName in class Eventpublic AOByteBuffer toBytes()
toBytes in class Eventpublic void parseBytes(AOByteBuffer buf)
Event
parseBytes in interface EventParserparseBytes in class Eventpublic byte[] getData()
public void setData(byte[] bytes)
public void isPortal(boolean b)
public boolean isPortal()
|
Copyright © 2018 Dragonsan Studios Sp. z o.o. |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||