com.backendless.servercode.extension.MessagingExtender Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of android Show documentation
Show all versions of android Show documentation
Android SDK used by developers to provide Backendless API in apps.
package com.backendless.servercode.extension;
import com.backendless.DeviceRegistration;
import com.backendless.messaging.*;
import com.backendless.servercode.ExecutionResult;
import com.backendless.servercode.RunnerContext;
/**
* Created with IntelliJ IDEA.
* User: ivanlappo
* Date: 5/20/13
* Time: 12:40 PM
* To change this template use File | Settings | File Templates.
*/
public abstract class MessagingExtender
{
public MessagingExtender()
{
}
public void beforePublish( RunnerContext context, Object Message, PublishOptions publishOptions,
DeliveryOptions deliveryOptions ) throws Exception
{
}
public void afterPublish( RunnerContext context, Object Message, PublishOptions publishOptions,
DeliveryOptions deliveryOptions,
ExecutionResult status ) throws Exception
{
}
public void beforeSubscribe( RunnerContext context,
String subscriptionId,
String channel,
SubscriptionOptions options ) throws Exception
{
}
public void afterSubscribe( RunnerContext context, String subscriptionId,
String channel,
SubscriptionOptions options,
ExecutionResult subscriberId ) throws Exception
{
}
public void beforePoll( RunnerContext context, String subscriptionId ) throws Exception
{
}
public void afterPoll( RunnerContext context, String subscriptionId,
ExecutionResult messages ) throws Exception
{
}
public void beforeCancel( RunnerContext context, String subscriptionId ) throws Exception
{
}
public void afterCancel( RunnerContext context, String subscriptionId, ExecutionResult status ) throws Exception
{
}
public void beforeDeviceRegistration( RunnerContext context, DeviceRegistration registrationDto ) throws Exception
{
}
public void afterDeviceRegistration( RunnerContext context, DeviceRegistration registrationDto,
ExecutionResult registrationId ) throws Exception
{
}
}