atavism.server.events
Class ConResetEvent
java.lang.Object
atavism.server.engine.Event
atavism.server.events.ConResetEvent
- All Implemented Interfaces:
- EventParser
public class ConResetEvent
- extends Event
the server is being told that the connection has been reset for a
particular user. this is for world servers that dont have a direct
connection to the user, so the proxy is telling it that the con is down
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 |
ConResetEvent
public ConResetEvent()
ConResetEvent
public ConResetEvent(AOByteBuffer buf,
ClientConnection con)
ConResetEvent
public ConResetEvent(AOObject user)
getName
public java.lang.String getName()
- Specified by:
getName
in class Event
toBytes
public AOByteBuffer toBytes()
- Specified by:
toBytes
in class Event
parseBytes
public void parseBytes(AOByteBuffer buf)
- Description copied from class:
Event
- load this event from the passed in buffer
called by the constructor
- Specified by:
parseBytes
in interface EventParser
- Specified by:
parseBytes
in class Event
setUser
public void setUser(AOObject user)