Atavism Version 2018.1AGIS API

atavism.server.events
Class MultiEvent

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

public class MultiEvent
extends Event

an object is attemping to acquire another object


Field Summary
protected static Logger log
           
 
Constructor Summary
MultiEvent()
           
MultiEvent(AOByteBuffer buf, ClientConnection con)
           
 
Method Summary
 void add(Event event)
           
 java.util.List<Event> getEvents()
          returns a shallow copy of the events
 java.lang.String getName()
           
 void parseBytes(AOByteBuffer buf)
          load this event from the passed in buffer called by the constructor
 void setEvents(java.util.List<Event> events)
          sets the list of events to be sent over, makes a copy of the list shallow copy
 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
 

Field Detail

log

protected static final Logger log
Constructor Detail

MultiEvent

public MultiEvent()

MultiEvent

public MultiEvent(AOByteBuffer buf,
                  ClientConnection con)
Method Detail

getName

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

add

public void add(Event event)

setEvents

public void setEvents(java.util.List<Event> events)
sets the list of events to be sent over, makes a copy of the list shallow copy


getEvents

public java.util.List<Event> getEvents()
returns a shallow copy of the events


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

toBytes

public AOByteBuffer toBytes()
Specified by:
toBytes in class Event


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