Atavism Version 2018.1AGIS API

atavism.server.events
Class JScriptEvent

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

public class JScriptEvent
extends Event

execute the passed in script


Constructor Summary
JScriptEvent()
           
JScriptEvent(AOByteBuffer buf, ClientConnection con)
           
JScriptEvent(AOObject scripter, java.lang.String script)
           
 
Method Summary
 java.lang.String getName()
           
 java.lang.String getScript()
           
 void parseBytes(AOByteBuffer buf)
          load this event from the passed in buffer called by the constructor
 void setScript(java.lang.String script)
           
 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

JScriptEvent

public JScriptEvent()

JScriptEvent

public JScriptEvent(AOByteBuffer buf,
                    ClientConnection con)

JScriptEvent

public JScriptEvent(AOObject scripter,
                    java.lang.String script)
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

getScript

public java.lang.String getScript()

setScript

public void setScript(java.lang.String script)


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