Class IXServerEventsHandler

java.lang.Object
de.elo.ix.client.serverevents.IXServerEventsHandler
All Implemented Interfaces:
byps.Remote, IXServerEvents, de.elo.utils.net.Remote, Remote

public abstract class IXServerEventsHandler extends Object implements IXServerEvents
This class helps to implement the IXServerEvents interface. Your project should inherit from this class and implement the IXServerEvents methods. Each implmented method has to be added to the collection implementedMethods: implementedMethods["onAfterCheckinSord"] = true;
  • Field Details

  • Constructor Details

    • IXServerEventsHandler

      public IXServerEventsHandler(String appName, String appVersion)
  • Method Details

    • getAppInfo

      public String getAppInfo(IXServerEventsContext ec) throws byps.RemoteException
      Description copied from interface: IXServerEvents
      This mandatory method returns information about the application that implements the interface. It should return the application name and version and the implementors name. The returned String is printed into the log file and is added to error messages. This method is mandatory.
      Specified by:
      getAppInfo in interface IXServerEvents
      Parameters:
      ec - Execution context.
      Returns:
      String
      Throws:
      byps.RemoteException - Exception with message text of format "[ELOIX:number] text". The number is one of the constants defined in IXExceptionC.
      See Also:
    • hasMethod

      public boolean hasMethod(IXServerEventsContext ec, String methodName) throws byps.RemoteException
      Description copied from interface: IXServerEvents
      This mandatory method tests, wether an interace method is implemented. The Indexserver calls this function for each method, before the method is called the first time.
      Specified by:
      hasMethod in interface IXServerEvents
      Parameters:
      ec - Execution context.
      methodName - Method name.
      Returns:
      true, if the method is implemented.
      Throws:
      byps.RemoteException - Exception with message text of format "[ELOIX:number] text". The number is one of the constants defined in IXExceptionC.
      See Also: