Atavism Version 2018.1AGIS API

atavism.server.engine
Class EnginePlugin.SaveSubObjHook

java.lang.Object
  extended by atavism.server.engine.EnginePlugin.SaveSubObjHook
All Implemented Interfaces:
Hook
Enclosing class:
EnginePlugin

public static class EnginePlugin.SaveSubObjHook
extends java.lang.Object
implements Hook

A hook called to persist a sub-object.


Constructor Summary
EnginePlugin.SaveSubObjHook(EnginePlugin plugin)
           
 
Method Summary
 boolean processMessage(Message m, int flags)
          Persists the sub-object identified by the oid and namespace in the OIDNamespaceMessage, and sends a boolean response, true if the persist succeeded and false if it could not find the sub-object
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EnginePlugin.SaveSubObjHook

public EnginePlugin.SaveSubObjHook(EnginePlugin plugin)
Method Detail

processMessage

public boolean processMessage(Message m,
                              int flags)
Persists the sub-object identified by the oid and namespace in the OIDNamespaceMessage, and sends a boolean response, true if the persist succeeded and false if it could not find the sub-object

Specified by:
processMessage in interface Hook
Parameters:
m - The OIDNamespaceMessage message
flags - The message flags
Returns:
True if the sub-object was persisted; false otherwise.


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