Atavism Version 2018.1AGIS API

atavism.server.events
Class LoginResponseEvent

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

public class LoginResponseEvent
extends Event


Constructor Summary
LoginResponseEvent()
           
LoginResponseEvent(AOByteBuffer buf, ClientConnection con)
           
LoginResponseEvent(OID oid, boolean successStatus, java.lang.String msg)
           
 
Method Summary
 java.lang.String getMessage()
           
 java.lang.String getName()
           
 OID getOid()
           
 boolean getSuccessStatus()
           
 long getTime()
           
 void parseBytes(AOByteBuffer buf)
          load this event from the passed in buffer called by the constructor
 void setMessage(java.lang.String msg)
           
 void setOid(OID id)
           
 void setSuccessStatus(boolean status)
           
 void setTime(long time)
           
 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

LoginResponseEvent

public LoginResponseEvent()

LoginResponseEvent

public LoginResponseEvent(AOByteBuffer buf,
                          ClientConnection con)

LoginResponseEvent

public LoginResponseEvent(OID oid,
                          boolean successStatus,
                          java.lang.String msg)
Method Detail

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

setSuccessStatus

public void setSuccessStatus(boolean status)

getSuccessStatus

public boolean getSuccessStatus()

setTime

public void setTime(long time)

getTime

public long getTime()

setOid

public void setOid(OID id)

getOid

public OID getOid()

getMessage

public java.lang.String getMessage()

setMessage

public void setMessage(java.lang.String msg)


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