Atavism Version 2018.1AGIS API

atavism.server.events
Class LogoutEvent

java.lang.Object
  extended by atavism.server.engine.Event
      extended by atavism.server.events.LogoutEvent
All Implemented Interfaces:
EventParser

public class LogoutEvent
extends Event

the user is logging out


Constructor Summary
LogoutEvent()
           
LogoutEvent(AOByteBuffer buf, ClientConnection con)
           
LogoutEvent(AOObject obj)
           
 
Method Summary
 byte[] getAuthToken()
           
 java.lang.String getName()
           
 boolean getSuccess()
           
 boolean logoutToCharacterSelection()
           
 void logoutToCharacterSelection(boolean logoutToCharacterSelection)
           
 void parseBytes(AOByteBuffer buf)
          load this event from the passed in buffer called by the constructor
 void setAuthToken(byte[] authToken)
           
 void setSuccess(boolean success)
           
 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

LogoutEvent

public LogoutEvent()

LogoutEvent

public LogoutEvent(AOByteBuffer buf,
                   ClientConnection con)

LogoutEvent

public LogoutEvent(AOObject obj)
Method Detail

getName

public java.lang.String getName()
Specified by:
getName in class Event

setSuccess

public void setSuccess(boolean success)

getSuccess

public boolean getSuccess()

logoutToCharacterSelection

public void logoutToCharacterSelection(boolean logoutToCharacterSelection)

logoutToCharacterSelection

public boolean logoutToCharacterSelection()

setAuthToken

public void setAuthToken(byte[] authToken)

getAuthToken

public byte[] getAuthToken()

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


Copyright © 2018 Dragonsan Studios Sp. z o.o.