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 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.servercode.extension;
import com.backendless.DeviceRegistration;
import com.backendless.messaging.BodyParts;
import com.backendless.messaging.DeliveryOptions;
import com.backendless.messaging.EmailEnvelope;
import com.backendless.messaging.Message;
import com.backendless.messaging.MessageStatus;
import com.backendless.messaging.PublishOptions;
import com.backendless.messaging.SubscriptionOptions;
import com.backendless.servercode.ExecutionResult;
import com.backendless.servercode.RunnerContext;
import java.util.List;
import java.util.Map;
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 channel, SubscriptionOptions options ) throws Exception
{
}
public void afterSubscribe( RunnerContext context, String channel, SubscriptionOptions options, ExecutionResult subscriberId ) throws Exception
{
}
public void beforePoll( RunnerContext context ) throws Exception
{
}
public void afterPoll( RunnerContext context, ExecutionResult> messages ) throws Exception
{
}
public void beforeCancel( RunnerContext context, String messageId ) throws Exception
{
}
public void afterCancel( RunnerContext context, String messageId, ExecutionResult status ) throws Exception
{
}
public void beforePush( RunnerContext context, String templateDescription ) throws Exception
{
}
public void afterPush( RunnerContext context, String templateDescription, ExecutionResult status ) throws Exception
{
}
public void beforePushWithTemplate( RunnerContext context, String templateName ) throws Exception
{
}
public void afterPushWithTemplate( RunnerContext context, String templateName, ExecutionResult status ) throws Exception
{
}
public void beforeDeviceRegistration( RunnerContext context, DeviceRegistration registrationDto ) throws Exception
{
}
public void afterDeviceRegistration( RunnerContext context, DeviceRegistration registrationDto,
ExecutionResult registrationId ) throws Exception
{
}
public void beforeSendEmail(RunnerContext context, String subject, BodyParts bodyParts, List recipients, List attachments ) throws Exception
{
}
public void afterSendEmail( RunnerContext context, String subject, BodyParts bodyParts, List recipients, List attachments, ExecutionResult msgStatus ) throws Exception
{
}
public void beforeSendEmailFromTemplate( RunnerContext context, String templateName, EmailEnvelope envelope, Map templateValues )
{
}
public void afterSendEmailFromTemplate( RunnerContext context, String templateName, EmailEnvelope envelope, Map templateValues, ExecutionResult status )
{
}
public void beforeGetMessageStatus( RunnerContext context, String messageId ) throws Exception
{
}
public void afterGetMessageStatus( RunnerContext context, String messageId, ExecutionResult msgStatus ) throws Exception
{
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy