|
|||||||||
| Atavism Version 2018.1 | AGIS API | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectatavism.server.engine.EnginePlugin.GenerateSubObjectHook
public abstract static class EnginePlugin.GenerateSubObjectHook
A hook to process the GenerateSubObjectMessage, sent by the object manager.
| Field Summary | |
|---|---|
EnginePlugin |
plugin
The plugin instance. |
| Constructor Summary | |
|---|---|
EnginePlugin.GenerateSubObjectHook(EnginePlugin plugin)
Bind the plugin instance to the plugin data member. |
|
| Method Summary | |
|---|---|
abstract EnginePlugin.SubObjData |
generateSubObject(Template template,
Namespace namespace,
OID masterOid)
Returns a SubObjData instance. |
boolean |
processMessage(Message m,
int flags)
Generates the sub-object based on the template, namespace and oid contained in the GenerateSubObjectMessage by calling the plugin's generateSubObject method, and then sends the response by calling sendSubObjectResponse(). |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public EnginePlugin plugin
| Constructor Detail |
|---|
public EnginePlugin.GenerateSubObjectHook(EnginePlugin plugin)
plugin - The plugin instance creating the hook.| Method Detail |
|---|
public boolean processMessage(Message m,
int flags)
processMessage in interface Hookm - The GenerateSubObjectMessage messageflags - The message flags
public abstract EnginePlugin.SubObjData generateSubObject(Template template,
Namespace namespace,
OID masterOid)
template - The template used to create the sub-object
|
Copyright © 2018 Dragonsan Studios Sp. z o.o. |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||