Overview
Package
Class
Use
Tree
Deprecated
Index
Help
PREV NEXT
FRAMES
NO FRAMES
All Classes
B
C
D
E
F
G
I
J
O
P
Q
R
S
T
U
B
build(String, String, int)
- Static method in class org.robokind.impl.messaging.utils.
DestinationConfig
buildConnectionTracker(BundleContext, String, String)
- Static method in class org.robokind.impl.messaging.utils.
ConnectionManager
Builds a SingleServiceListener for a Connection.
buildDestinationTracker(BundleContext, String, String)
- Static method in class org.robokind.impl.messaging.utils.
ConnectionManager
Builds a SingleServiceListener for a Destination.
buildQueue(String, String)
- Static method in class org.robokind.impl.messaging.utils.
DestinationConfig
buildTopic(String, String)
- Static method in class org.robokind.impl.messaging.utils.
DestinationConfig
C
clearRecords()
- Method in class org.robokind.impl.messaging.
JMSBytesRecordBlockingReceiver
closeProducer()
- Method in class org.robokind.impl.messaging.
JMSBytesSender
Closes the underlying JMS MessageProducer making it unable to send Records.
COMMAND_MIME_TYPE
- Static variable in class org.robokind.impl.messaging.
JMSAvroServiceFacade
Custom content/mime type used in the JMS header for service command
CONFIG_MIME_TYPE
- Static variable in class org.robokind.impl.messaging.
JMSAvroServiceFacade
Custom content/mime type used in the JMS header for config Records
ConnectionConfig
- Class in
org.robokind.impl.messaging.utils
Unused
ConnectionConfig(String, String)
- Constructor for class org.robokind.impl.messaging.utils.
ConnectionConfig
ConnectionManager
- Class in
org.robokind.impl.messaging.utils
Utility methods for creating JMS Connections and Destinations and managing them within the OSGi Service Registry.
ConnectionManager()
- Constructor for class org.robokind.impl.messaging.utils.
ConnectionManager
ConnectionSet
- Class in
org.robokind.impl.messaging.utils
Unused Defines a set of connections and destinations.
ConnectionSet()
- Constructor for class org.robokind.impl.messaging.utils.
ConnectionSet
ConnectionUtils
- Class in
org.robokind.impl.messaging.utils
ConnectionUtils()
- Constructor for class org.robokind.impl.messaging.utils.
ConnectionUtils
createAMQPConnectionURL(String, String, String, String, String)
- Static method in class org.robokind.impl.messaging.utils.
ConnectionManager
Formats an AMQP connection URL from the given details.
createConnection(String, String, String, String, String)
- Static method in class org.robokind.impl.messaging.utils.
ConnectionManager
Create a JMS Connection from the given details.
createConnection(String)
- Static method in class org.robokind.impl.messaging.utils.
ConnectionManager
Creates an JMS Connection from the given connection URL
createDestination(String)
- Static method in class org.robokind.impl.messaging.utils.
ConnectionManager
Creates a JMS Destination from the given destination String
D
DestinationConfig
- Class in
org.robokind.impl.messaging.utils
Unused
DestinationConfig(String, String)
- Constructor for class org.robokind.impl.messaging.utils.
DestinationConfig
E
ensureConnection(BundleContext, String, Connection, Properties)
- Static method in class org.robokind.impl.messaging.utils.
ConnectionUtils
Registers the Connection if there is not one already registered to the given id.
ensureDestination(BundleContext, String, String, int, Properties)
- Static method in class org.robokind.impl.messaging.utils.
ConnectionUtils
Creates and registers a Destination if there is not one already registered to the given id.
ensureDestinations(BundleContext, Object...)
- Static method in class org.robokind.impl.messaging.utils.
ConnectionUtils
Makes calls to
ensureDestination
with the given parameters.
F
fetchRecord(long)
- Method in class org.robokind.impl.messaging.
JMSBytesRecordBlockingReceiver
G
getConfigClass()
- Method in class org.robokind.impl.messaging.
JMSAvroServiceFacade
getConnectionId()
- Method in class org.robokind.impl.messaging.utils.
ConnectionConfig
getConnectionURL()
- Method in class org.robokind.impl.messaging.utils.
ConnectionConfig
getDestinationId()
- Method in class org.robokind.impl.messaging.utils.
DestinationConfig
getDestinationString()
- Method in class org.robokind.impl.messaging.utils.
DestinationConfig
getReusableConfig()
- Method in class org.robokind.impl.messaging.
JMSAvroServiceFacade
I
initialize(Config)
- Method in class org.robokind.impl.messaging.
JMSAvroServiceFacade
J
JMSAvroMessageAsyncReceiver
<
Msg
,
Rec
extends org.apache.avro.generic.IndexedRecord> - Class in
org.robokind.impl.messaging
A DefaultMessageAsyncReceiver for asynchronously receiving Avro Records over JMS (Qpid).
JMSAvroMessageAsyncReceiver(Session, Destination, Class<Rec>, Schema)
- Constructor for class org.robokind.impl.messaging.
JMSAvroMessageAsyncReceiver
Creates a new JMSAvroMessageAsyncReceiver
JMSAvroMessageSender
<
Msg
,
Rec
extends org.apache.avro.generic.IndexedRecord> - Class in
org.robokind.impl.messaging
DefaultMessageSender for serializing Messages to Avro Records and sending them over JMS (Qpid).
JMSAvroMessageSender(Session, Destination)
- Constructor for class org.robokind.impl.messaging.
JMSAvroMessageSender
Creates a new JMSAvroMessageSender to send Records to the given destination using the given session.
JMSAvroMessageSender(JMSBytesSender)
- Constructor for class org.robokind.impl.messaging.
JMSAvroMessageSender
Creates a new JMSAvroMessageSender using the given sender for sending Records.
JMSAvroRecordAsyncReceiver
<
Rec
extends org.apache.avro.generic.IndexedRecord> - Class in
org.robokind.impl.messaging
Polls messages from a JMS Destination and attempts to deserialize them as a specific type of Avro Record.
JMSAvroRecordAsyncReceiver(Class<Rec>, Schema, MessageConsumer)
- Constructor for class org.robokind.impl.messaging.
JMSAvroRecordAsyncReceiver
Creates a new JMSAvroRecordAsyncReceiver.
JMSAvroRecordSender
<
T
extends org.apache.avro.generic.IndexedRecord> - Class in
org.robokind.impl.messaging
Sends Avro Records over JMS (Qpid).
JMSAvroRecordSender(JMSBytesSender)
- Constructor for class org.robokind.impl.messaging.
JMSAvroRecordSender
Creates a new JMSAvroRecordSender.
JMSAvroServiceFacade
<
Config
extends org.apache.avro.generic.IndexedRecord> - Class in
org.robokind.impl.messaging
A facade for controlling a RemoteService using Avro and JMS (Qpid).
JMSAvroServiceFacade(Class<Config>, Config, Session, Destination, Destination)
- Constructor for class org.robokind.impl.messaging.
JMSAvroServiceFacade
Creates a new JMSAvroServiceFacade.
JMSAvroServiceFacade(Class<Config>, Config, Session, MessageProducer, MessageConsumer)
- Constructor for class org.robokind.impl.messaging.
JMSAvroServiceFacade
Creates a new JMSAvroServiceFacade.
JMSBytesRecordAsyncReceiver
- Class in
org.robokind.impl.messaging
Polls for JMS BytesMessages from a JMS Destination.
JMSBytesRecordAsyncReceiver(MessageConsumer)
- Constructor for class org.robokind.impl.messaging.
JMSBytesRecordAsyncReceiver
Creates a new JMSBytesRecordAsyncReceiver.
JMSBytesRecordBlockingReceiver
- Class in
org.robokind.impl.messaging
Blocks and waits for a JMS BytesMessage when called.
JMSBytesRecordBlockingReceiver(MessageConsumer)
- Constructor for class org.robokind.impl.messaging.
JMSBytesRecordBlockingReceiver
Creates a new JMSBytesRecordBlcokingReceiver which uses the given MessageConsumer.
JMSBytesSender
- Class in
org.robokind.impl.messaging
RecordSender for sending a raw byte array,
JMSBytesSender()
- Constructor for class org.robokind.impl.messaging.
JMSBytesSender
Creates an empty JMSBytesSender.
O
onComplete(long)
- Method in class org.robokind.impl.messaging.
JMSAvroServiceFacade
onPause(long)
- Method in class org.robokind.impl.messaging.
JMSAvroServiceFacade
onResume(long)
- Method in class org.robokind.impl.messaging.
JMSAvroServiceFacade
onStart(long)
- Method in class org.robokind.impl.messaging.
JMSAvroServiceFacade
onStop(long)
- Method in class org.robokind.impl.messaging.
JMSAvroServiceFacade
openProducer()
- Method in class org.robokind.impl.messaging.
JMSBytesSender
Opens the underlying JMS MessageProducer, allowing it to begin sending Records.
org.robokind.impl.messaging
- package org.robokind.impl.messaging
org.robokind.impl.messaging.utils
- package org.robokind.impl.messaging.utils
P
pause()
- Method in class org.robokind.impl.messaging.
JMSAvroRecordAsyncReceiver
pause()
- Method in class org.robokind.impl.messaging.
JMSBytesRecordAsyncReceiver
PROP_CONNECTION_ID
- Static variable in class org.robokind.impl.messaging.utils.
ConnectionManager
Property name for a Connection's unique id within the OSGi Service Registry.
PROP_DESTINATION_ID
- Static variable in class org.robokind.impl.messaging.utils.
ConnectionManager
Property name for a Destination's unique id within the OSGi Service Registry.
Q
QUEUE
- Static variable in class org.robokind.impl.messaging.utils.
ConnectionUtils
Indicates a JMS Queue where Message go to one consumer.
R
registerConnection(BundleContext, String, Connection, Properties)
- Static method in class org.robokind.impl.messaging.utils.
ConnectionManager
Registers a JMS Connection to OSGi Service Registry, using a unique id.
registerDestination(BundleContext, String, Destination, Properties)
- Static method in class org.robokind.impl.messaging.utils.
ConnectionManager
Registers a JMS Connection to OSGi Service Registry, using a unique id.
resume()
- Method in class org.robokind.impl.messaging.
JMSAvroRecordAsyncReceiver
resume()
- Method in class org.robokind.impl.messaging.
JMSBytesRecordAsyncReceiver
S
send(T, String)
- Method in class org.robokind.impl.messaging.
JMSAvroServiceFacade
Sends a custom Avro Record to the service.
sendCommand(ServiceCommandType)
- Method in class org.robokind.impl.messaging.
JMSAvroServiceFacade
Sends a service command.
sendMessage(Msg, String)
- Method in class org.robokind.impl.messaging.
JMSAvroMessageSender
Adapts the given Message to an Avro Record and sends it via JMS with the given JMS header content type.
sendRecord(T)
- Method in class org.robokind.impl.messaging.
JMSAvroRecordSender
Serializes the given Avro Record to a byte array, packs it into a JMS BytesMessage, and sends it to the JMS Destination.
sendRecord(T, String)
- Method in class org.robokind.impl.messaging.
JMSAvroRecordSender
Packs the given Avro Record into a JMS BytesMessage and sends it.
sendRecord(byte[])
- Method in class org.robokind.impl.messaging.
JMSBytesSender
Packs the byte array into a JMS BytesMessage, and sends it.
sendRecord(byte[], String)
- Method in class org.robokind.impl.messaging.
JMSBytesSender
Packs the byte array into a JMS BytesMessage, and sends it.
sendRecord(byte[], int, int, String)
- Method in class org.robokind.impl.messaging.
JMSBytesSender
Packs a segment of the byte array into a JMS BytesMessage, and sends it.
setDestination(Destination)
- Method in class org.robokind.impl.messaging.
JMSBytesSender
Sets the JMS Destination to send to.
setReceiver(MessageConsumer)
- Method in class org.robokind.impl.messaging.
JMSAvroServiceFacade
Sets the MessageConsumer to receive errors.
setRecordHandler(RecordAsyncReceiver.RecordHandler<Rec>)
- Method in class org.robokind.impl.messaging.
JMSAvroRecordAsyncReceiver
setRecordHandler(RecordAsyncReceiver.RecordHandler<BytesMessage>)
- Method in class org.robokind.impl.messaging.
JMSBytesRecordAsyncReceiver
setSender(MessageProducer)
- Method in class org.robokind.impl.messaging.
JMSAvroServiceFacade
Sets the MessagePropducer to send commands.
setSession(Session)
- Method in class org.robokind.impl.messaging.
JMSAvroServiceFacade
Sets the JMS Session for creating BytesMessages.
setSession(Session)
- Method in class org.robokind.impl.messaging.
JMSBytesSender
Sets the JMS Session to use for sending
start()
- Method in class org.robokind.impl.messaging.
JMSAvroMessageAsyncReceiver
Start the JMSAvroMessageAsyncReceiver receiving Message.
start()
- Method in class org.robokind.impl.messaging.
JMSAvroMessageSender
Creates and opens a new JMSAvroRecordSender for sending the Avro Records.
start()
- Method in class org.robokind.impl.messaging.
JMSAvroRecordAsyncReceiver
Creates and starts an Polling Thread to fetch Records over JMS.
start()
- Method in class org.robokind.impl.messaging.
JMSBytesRecordAsyncReceiver
Creates and starts an Polling Thread to fetch Records over JMS.
stop()
- Method in class org.robokind.impl.messaging.
JMSAvroMessageSender
Closes the JMSRecordReceiver.
stop()
- Method in class org.robokind.impl.messaging.
JMSAvroRecordAsyncReceiver
stop()
- Method in class org.robokind.impl.messaging.
JMSBytesRecordAsyncReceiver
T
TOPIC
- Static variable in class org.robokind.impl.messaging.utils.
ConnectionUtils
Indicates a JMS Topic where Message are broadcasted to all consumers.
TYPE_QUEUE
- Static variable in class org.robokind.impl.messaging.utils.
DestinationConfig
TYPE_TOPIC
- Static variable in class org.robokind.impl.messaging.utils.
DestinationConfig
U
unsetRecordHandler()
- Method in class org.robokind.impl.messaging.
JMSAvroRecordAsyncReceiver
unsetRecordHandler()
- Method in class org.robokind.impl.messaging.
JMSBytesRecordAsyncReceiver
B
C
D
E
F
G
I
J
O
P
Q
R
S
T
U
Overview
Package
Class
Use
Tree
Deprecated
Index
Help
PREV NEXT
FRAMES
NO FRAMES
All Classes
Copyright © 2011-2012. All Rights Reserved.