Atavism Version 2018.1AGIS API

atavism.server.engine
Class EnginePlugin.LoadSubObjHook

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

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

A hook called to load sub-object.


Constructor Summary
EnginePlugin.LoadSubObjHook(EnginePlugin plugin)
           
 
Method Summary
 boolean processMessage(Message m, int flags)
          Process the LoadSubObjectMessage, containing the sub-object oid and namespace, registering the entity by namespace, and calling the load hook if there is one.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EnginePlugin.LoadSubObjHook

public EnginePlugin.LoadSubObjHook(EnginePlugin plugin)
Method Detail

processMessage

public boolean processMessage(Message m,
                              int flags)
Process the LoadSubObjectMessage, containing the sub-object oid and namespace, registering the entity by namespace, and calling the load hook if there is one.

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


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