Errai 3.0.1-SNAPSHOT

org.jboss.errai.bus.client.api.builder
Interface MessageBuildSendable

All Superinterfaces:
Sendable
All Known Subinterfaces:
MessageBuildSendableDispatcher, MessageBuildSendableWithReply, MessageReplySendable

public interface MessageBuildSendable
extends Sendable

A template for sending a message. This ensures that the message is constructed properly.

Part of the fluent API centered around MessageBuilder.


Method Summary
 void sendGlobalWith(MessageBus viaThis)
          Sends the message globally with the specified MessageBus
 void sendNowWith(MessageBus viaThis)
          Sends the message with the specified MessageBus
 void sendNowWith(MessageBus viaThis, boolean fireMessageListener)
          Sends the message with the specified MessageBus
 
Methods inherited from interface org.jboss.errai.bus.client.api.builder.Sendable
getMessage
 

Method Detail

sendNowWith

void sendNowWith(MessageBus viaThis)
Sends the message with the specified MessageBus

Parameters:
viaThis - the message bus to send the message with

sendNowWith

void sendNowWith(MessageBus viaThis,
                 boolean fireMessageListener)
Sends the message with the specified MessageBus

Parameters:
viaThis - the message bus to send the message with
fireMessageListener - true if the message listeners should be notified

sendGlobalWith

void sendGlobalWith(MessageBus viaThis)
Sends the message globally with the specified MessageBus

Parameters:
viaThis - the message bus to send the message with

Errai 3.0.1-SNAPSHOT

Copyright © 2013-2014 JBoss, a division of Red Hat. All Rights Reserved.