Atavism Version 2018.1AGIS API

atavism.server.events
Class NotifyNewObjectEvent

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

public class NotifyNewObjectEvent
extends Event

this event is saying notifyObj needs to know about a new object the event handler should send it a newobj message


Constructor Summary
NotifyNewObjectEvent()
           
NotifyNewObjectEvent(AOByteBuffer buf, ClientConnection con)
           
NotifyNewObjectEvent(AOObject notifyObj, AOObject newObj)
           
 
Method Summary
 java.lang.String getName()
           
 OID getNewObjectOid()
           
 OID getObjToNotifyOid()
           
 void parseBytes(AOByteBuffer buf)
          load this event from the passed in buffer called by the constructor
 void setNewObjectOid(OID oid)
           
 void setObjToNotify(AOObject obj)
           
 void setObjToNotifyOid(OID oid)
           
 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

NotifyNewObjectEvent

public NotifyNewObjectEvent()

NotifyNewObjectEvent

public NotifyNewObjectEvent(AOByteBuffer buf,
                            ClientConnection con)

NotifyNewObjectEvent

public NotifyNewObjectEvent(AOObject notifyObj,
                            AOObject newObj)
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

setObjToNotify

public void setObjToNotify(AOObject obj)

setObjToNotifyOid

public void setObjToNotifyOid(OID oid)

getObjToNotifyOid

public OID getObjToNotifyOid()

setNewObjectOid

public void setNewObjectOid(OID oid)

getNewObjectOid

public OID getNewObjectOid()


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