| java.lang.Object de.danet.an.workflow.tools.chabacc.Sender
Sender | public class Sender implements ToolAgent,ResultProvider(Code) | | This class provides a tool that sends messages to a channel. The
first argument must be of type string and identifies the
channel. The second and subsequent arguments may be of any type and
will be send to the channel unmodified.
author: Michael Lipp version: $Revision: 1.3 $ |
Constructor Summary | |
public | Sender() Creates an instance of Sender
with all attributes initialized to default values. |
Sender | public Sender()(Code) | | Creates an instance of Sender
with all attributes initialized to default values.
|
setLocalDelivery | public void setLocalDelivery(String enabled)(Code) | | By default, messages are delivered to clients listening on the
channel only. If messages should also be delivered to receiver
tools, this property must be set to true . Note
that in this case the channel cannot be used for bidirectional
communication.
Parameters: enabled - a string denoting a boolean value. Any stringthat, ignoring case, equals "true" will enable local delivery. |
setOriginatorIndex | public void setOriginatorIndex(String index)(Code) | | Normally, the Sender sends data on a channel of the process it
is invoked in. It is, however, also possible to send the data
in a channel of its requesters. See the user manual for
details.
Parameters: index - used to determine the originating process, seeuser manual |
|
|