com.backendless.Events Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of java-sdk-common Show documentation
Show all versions of java-sdk-common Show documentation
Provides access to Backendless API
The newest version!
package com.backendless;
import com.backendless.async.callback.AsyncCallback;
import com.backendless.servercode.ExecutionType;
import java.util.Map;
public class Events
{
private static final String EVENTS_MANAGER_SERVER_ALIAS = "com.backendless.services.servercode.EventHandler";
private static final Events instance = new Events();
private Events()
{
}
static Events getInstance()
{
return instance;
}
public Map dispatch( String eventName, Map eventArgs )
{
return Invoker.invokeSync( EVENTS_MANAGER_SERVER_ALIAS, "dispatchEvent", new Object[] { eventName, eventArgs } );
}
public Map dispatch( String eventName, Map eventArgs, ExecutionType executionType )
{
return Invoker.invokeSync( EVENTS_MANAGER_SERVER_ALIAS, "dispatchEvent", new Object[] { eventName, eventArgs, executionType } );
}
public void dispatch( String eventName, Map eventArgs, AsyncCallback
© 2015 - 2025 Weber Informatics LLC | Privacy Policy