|
|||||||||
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.RegisterEntityResponseEvent
public class RegisterEntityResponseEvent
we are responding a registerentity event we use the data stored rather than the getEntity.toBytes() when we call toBytes() because its what the server tells us that is the correct information.
Constructor Summary | |
---|---|
RegisterEntityResponseEvent()
|
|
RegisterEntityResponseEvent(AOByteBuffer buf,
ClientConnection con)
|
|
RegisterEntityResponseEvent(AOObject obj,
boolean status,
boolean portalRequest)
was the original request for a portaling obj |
Method Summary | |
---|---|
byte[] |
getData()
|
java.lang.String |
getName()
|
boolean |
getStatus()
returns false if the connection is closed |
boolean |
isPortal()
|
void |
isPortal(boolean flag)
|
void |
parseBytes(AOByteBuffer buf)
load this event from the passed in buffer called by the constructor |
void |
setData(byte[] data)
|
void |
setStatus(boolean status)
|
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 RegisterEntityResponseEvent()
public RegisterEntityResponseEvent(AOByteBuffer buf, ClientConnection con)
public RegisterEntityResponseEvent(AOObject obj, boolean status, boolean portalRequest)
Method Detail |
---|
public java.lang.String getName()
getName
in class Event
public AOByteBuffer toBytes()
toBytes
in class Event
public void parseBytes(AOByteBuffer buf)
Event
parseBytes
in interface EventParser
parseBytes
in class Event
public byte[] getData()
public void setData(byte[] data)
public boolean getStatus()
public void setStatus(boolean status)
public void isPortal(boolean flag)
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 |