com.electrotank.electroserver5.extensions
Class BaseUserVariableEventHandler

java.lang.Object
  extended by com.electrotank.electroserver5.extensions.BaseEvent
      extended by com.electrotank.electroserver5.extensions.BaseUserVariableEventHandler
All Implemented Interfaces:
EventHandler, EventHandlerLifeCycle, ExtensionLifeCycle, UserVariableEventHandler

public class BaseUserVariableEventHandler
extends BaseEvent
implements UserVariableEventHandler

Custom user variable event handler. Override userVariableCreated, userVariableDeleted, userVariableUpdated if you need to process the variables.


Constructor Summary
BaseUserVariableEventHandler()
           
 
Method Summary
 ChainAction userVariableCreated(UserVariableUpdateContext context)
           
 ChainAction userVariableDeleted(UserVariableUpdateContext context)
           
 ChainAction userVariableUpdated(UserVariableUpdateContext context)
           
 
Methods inherited from class com.electrotank.electroserver5.extensions.BaseEvent
destroy, getApi, init, setApi
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.electrotank.electroserver5.extensions.EventHandler
getApi, setApi
 

Constructor Detail

BaseUserVariableEventHandler

public BaseUserVariableEventHandler()
Method Detail

userVariableCreated

public ChainAction userVariableCreated(UserVariableUpdateContext context)
Specified by:
userVariableCreated in interface UserVariableEventHandler

userVariableDeleted

public ChainAction userVariableDeleted(UserVariableUpdateContext context)
Specified by:
userVariableDeleted in interface UserVariableEventHandler

userVariableUpdated

public ChainAction userVariableUpdated(UserVariableUpdateContext context)
Specified by:
userVariableUpdated in interface UserVariableEventHandler


Copyright © 2007-2010 Electrotank, Inc. All Rights Reserved.