Overview
Package
Class
Use
Tree
Deprecated
Index
Help
PREV NEXT
FRAMES
NO FRAMES
All Classes
A
C
D
F
G
H
I
M
N
O
P
R
S
U
A
addListener(Listener<Msg>)
- Method in class org.robokind.api.messaging.
DefaultMessageAsyncReceiver
addListener(Listener<Msg>)
- Method in class org.robokind.api.messaging.
DefaultMessageSender
addListener(Listener<Msg>)
- Method in interface org.robokind.api.messaging.
MessageAsyncReceiver
Adds a Listener to be notified when a Message has been received.
addListener(Listener<Msg>)
- Method in interface org.robokind.api.messaging.
MessageSender
Adds a Listener to be notified when a Message has been sent.
addMessageListener(Listener<Msg>)
- Method in class org.robokind.api.messaging.
DefaultMessageBlockingReceiver
addMessageListener(Listener<Msg>)
- Method in interface org.robokind.api.messaging.
MessageBlockingReceiver
Adds a Listener to be notified when a Message has been received.
C
clearMessages()
- Method in class org.robokind.api.messaging.
DefaultMessageBlockingReceiver
clearMessages()
- Method in interface org.robokind.api.messaging.
MessageBlockingReceiver
Removes any pending messages for this receiver.
clearRecords()
- Method in interface org.robokind.api.messaging.
RecordBlockingReceiver
Removes any pending records for this receiver.
Constants
- Class in
org.robokind.api.messaging
Constants()
- Constructor for class org.robokind.api.messaging.
Constants
create(String, String, String)
- Method in interface org.robokind.api.messaging.services.
ServiceCommandFactory
Returns a ServiceCommand for the given command string.
D
DEFAULT_TIMEOUT_LENGTH
- Static variable in interface org.robokind.api.messaging.
MessageBlockingReceiver
DefaultMessageAsyncReceiver
<
Msg
,
Rec
> - Class in
org.robokind.api.messaging
Default MessageAsyncReceiver implementation.
DefaultMessageAsyncReceiver()
- Constructor for class org.robokind.api.messaging.
DefaultMessageAsyncReceiver
Creates an empty DefaultMessageAsyncReceiver.
DefaultMessageBlockingReceiver
<
Msg
,
Rec
> - Class in
org.robokind.api.messaging
Default implementation of the MessageBlockingReceiver.
DefaultMessageBlockingReceiver()
- Constructor for class org.robokind.api.messaging.
DefaultMessageBlockingReceiver
Creates an empty DefaultMessageBlockingReceiver.
DefaultMessageBlockingReceiver(long)
- Constructor for class org.robokind.api.messaging.
DefaultMessageBlockingReceiver
Creates an empty DefaultMessageBlockingReceiver.
DefaultMessageSender
<
Msg
,
Rec
> - Class in
org.robokind.api.messaging
Default MessageSender implementation.
DefaultMessageSender()
- Constructor for class org.robokind.api.messaging.
DefaultMessageSender
Creates an empty DefaultMessageSender.
DefaultServiceClient
<
Conf
> - Class in
org.robokind.api.messaging.services
DefaultServiceClient(String, String, MessageSender<ServiceCommand>, MessageSender<Conf>, MessageAsyncReceiver<ServiceError>, ServiceCommandFactory)
- Constructor for class org.robokind.api.messaging.services.
DefaultServiceClient
F
fetchRecord(long)
- Method in interface org.robokind.api.messaging.
RecordBlockingReceiver
Blocks while waiting for a Record.
fireMessageEvent(Msg)
- Method in class org.robokind.api.messaging.
DefaultMessageAsyncReceiver
Notifies listeners of a Message
fireMessageEvent(Msg)
- Method in class org.robokind.api.messaging.
DefaultMessageBlockingReceiver
Notifies listeners of a Message
fireMessageEvent(Msg)
- Method in class org.robokind.api.messaging.
DefaultMessageSender
Notifies listeners of a Message being sent.
G
getClientId()
- Method in class org.robokind.api.messaging.services.
DefaultServiceClient
getClientId()
- Method in interface org.robokind.api.messaging.services.
RemoteServiceClient
getCommand()
- Method in interface org.robokind.api.messaging.services.
ServiceCommand
getDestinationId()
- Method in interface org.robokind.api.messaging.services.
ServiceCommand
getDestinationId()
- Method in interface org.robokind.api.messaging.services.
ServiceError
getDetails()
- Method in interface org.robokind.api.messaging.services.
ServiceError
getErrorType()
- Method in interface org.robokind.api.messaging.services.
ServiceError
getHostId()
- Method in class org.robokind.api.messaging.services.
DefaultServiceClient
getHostId()
- Method in interface org.robokind.api.messaging.services.
RemoteServiceClient
getMessage()
- Method in interface org.robokind.api.messaging.services.
ServiceError
getRecord(Msg)
- Method in class org.robokind.api.messaging.
DefaultMessageSender
Adapts a Message to a Record using an Adapter
getSourceId()
- Method in interface org.robokind.api.messaging.services.
ServiceCommand
getSourceId()
- Method in interface org.robokind.api.messaging.services.
ServiceError
getTimeout()
- Method in class org.robokind.api.messaging.
DefaultMessageBlockingReceiver
getTimeout()
- Method in interface org.robokind.api.messaging.
MessageBlockingReceiver
getTimestampMillisecUTC()
- Method in interface org.robokind.api.messaging.services.
ServiceCommand
getTimestampMillisecUTC()
- Method in interface org.robokind.api.messaging.services.
ServiceError
getValue()
- Method in class org.robokind.api.messaging.
DefaultMessageBlockingReceiver
getValue()
- Method in interface org.robokind.api.messaging.
MessageBlockingReceiver
Blocks while waiting for a Message.
H
handleEvent(Msg)
- Method in class org.robokind.api.messaging.
DefaultMessageSender
handleRecord(T)
- Method in interface org.robokind.api.messaging.
RecordAsyncReceiver.RecordHandler
Handles a record.
I
initialize(Conf)
- Method in class org.robokind.api.messaging.services.
DefaultServiceClient
initialize(Config)
- Method in interface org.robokind.api.messaging.services.
RemoteServiceClient
Initializes the Service with the given config.
M
MessageAsyncReceiver
<
Msg
> - Interface in
org.robokind.api.messaging
High-Level Message Receiver.
MessageBlockingReceiver
<
Msg
> - Interface in
org.robokind.api.messaging
Synchronous message receiver.
MessageSender
<
Msg
> - Interface in
org.robokind.api.messaging
High-level message sender for sending API objects.
myRecordSender
- Variable in class org.robokind.api.messaging.
DefaultMessageSender
RecordSender used to send Records.
N
notifyListeners(Msg)
- Method in class org.robokind.api.messaging.
DefaultMessageAsyncReceiver
notifyListeners(Msg)
- Method in class org.robokind.api.messaging.
DefaultMessageSender
notifyListeners(Msg)
- Method in interface org.robokind.api.messaging.
MessageSender
Sends the given Message.
O
onComplete(long)
- Method in class org.robokind.api.messaging.services.
DefaultServiceClient
onPause(long)
- Method in class org.robokind.api.messaging.services.
DefaultServiceClient
onResume(long)
- Method in class org.robokind.api.messaging.services.
DefaultServiceClient
onStart(long)
- Method in class org.robokind.api.messaging.services.
DefaultServiceClient
onStop(long)
- Method in class org.robokind.api.messaging.services.
DefaultServiceClient
org.robokind.api.messaging
- package org.robokind.api.messaging
org.robokind.api.messaging.services
- package org.robokind.api.messaging.services
P
pause()
- Method in class org.robokind.api.messaging.
DefaultMessageAsyncReceiver
pause()
- Method in interface org.robokind.api.messaging.
MessageAsyncReceiver
Pauses a MessageAsyncReceiver.
pause()
- Method in interface org.robokind.api.messaging.
RecordAsyncReceiver
Pauses the RecordAsyncReceiver.
PAUSE
- Static variable in interface org.robokind.api.messaging.services.
ServiceCommand
PROP_DECODER_ID
- Static variable in class org.robokind.api.messaging.
Constants
PROP_ENCODER_ID
- Static variable in class org.robokind.api.messaging.
Constants
PROP_MESSAGE_RECEIVER_ID
- Static variable in class org.robokind.api.messaging.
Constants
Property string for identifying a Message Receiver.
PROP_MESSAGE_SENDER_ID
- Static variable in class org.robokind.api.messaging.
Constants
Property string for identifying a Message Sender.
PROP_MESSAGE_TYPE
- Static variable in class org.robokind.api.messaging.
Constants
Property string for specifying a Message type.
PROP_RECORD_RECEIVER_ID
- Static variable in class org.robokind.api.messaging.
Constants
Property string for identifying a Record Receiver.
PROP_RECORD_SENDER_ID
- Static variable in class org.robokind.api.messaging.
Constants
Property string for identifying a Record Sender.
PROP_RECORD_TYPE
- Static variable in class org.robokind.api.messaging.
Constants
Property string for specifying a Record type.
R
RecordAsyncReceiver
<
T
> - Interface in
org.robokind.api.messaging
Asynchronously receives records sent from a RecordSender.
RecordAsyncReceiver.RecordHandler
<
T
> - Interface in
org.robokind.api.messaging
A RecordHandler is used by the RecordAsyncReceiver to handle the Records it receives.
RecordBlockingReceiver
<
T
> - Interface in
org.robokind.api.messaging
Synchronously receives records sent from a RecordSender.
RecordSender
<
T
> - Interface in
org.robokind.api.messaging
Sends a Record to some RecordReceiver.
RemoteServiceClient
<
Config
> - Interface in
org.robokind.api.messaging.services
RemoteServiceClient is an interface for controlling a Service through Messaging.
RemoteServiceLifecycle
- Class in
org.robokind.api.messaging.services
RemoteServiceLifecycle()
- Constructor for class org.robokind.api.messaging.services.
RemoteServiceLifecycle
removeListener(Listener<Msg>)
- Method in class org.robokind.api.messaging.
DefaultMessageAsyncReceiver
removeListener(Listener<Msg>)
- Method in class org.robokind.api.messaging.
DefaultMessageSender
removeListener(Listener<Msg>)
- Method in interface org.robokind.api.messaging.
MessageAsyncReceiver
Removes a Listener from being notified.
removeListener(Listener<Msg>)
- Method in interface org.robokind.api.messaging.
MessageSender
Removes a Listener from being notified.
removeMessageListener(Listener<Msg>)
- Method in class org.robokind.api.messaging.
DefaultMessageBlockingReceiver
removeMessageListener(Listener<Msg>)
- Method in interface org.robokind.api.messaging.
MessageBlockingReceiver
Removes a Listener from being notified.
resume()
- Method in class org.robokind.api.messaging.
DefaultMessageAsyncReceiver
resume()
- Method in interface org.robokind.api.messaging.
MessageAsyncReceiver
Resumes a paused MessageAsyncReceiver.
resume()
- Method in interface org.robokind.api.messaging.
RecordAsyncReceiver
Resumes a paused RecordAsyncReceiver.
RESUME
- Static variable in interface org.robokind.api.messaging.services.
ServiceCommand
S
send(String)
- Method in class org.robokind.api.messaging.services.
DefaultServiceClient
sendRecord(T)
- Method in interface org.robokind.api.messaging.
RecordSender
Sends the given record to some RecordReceiver.
ServiceCommand
- Interface in
org.robokind.api.messaging.services
ServiceCommandFactory
- Interface in
org.robokind.api.messaging.services
ServiceError
- Interface in
org.robokind.api.messaging.services
setAdapter(Adapter<Rec, Msg>)
- Method in class org.robokind.api.messaging.
DefaultMessageAsyncReceiver
Sets the Adapter used to convert Records to Messages.
setAdapter(Adapter<Rec, Msg>)
- Method in class org.robokind.api.messaging.
DefaultMessageBlockingReceiver
Sets the Adapter used to convert Records to Messages.
setAdapter(Adapter<Msg, Rec>)
- Method in class org.robokind.api.messaging.
DefaultMessageSender
Sets the Adapter for serializing Messages to Records.
setCommandFactory(ServiceCommandFactory)
- Method in class org.robokind.api.messaging.services.
DefaultServiceClient
setCommandFactory(ServiceCommandFactory)
- Method in interface org.robokind.api.messaging.services.
RemoteServiceClient
setCommandSender(MessageSender<ServiceCommand>)
- Method in class org.robokind.api.messaging.services.
DefaultServiceClient
setCommandSender(MessageSender<ServiceCommand>)
- Method in interface org.robokind.api.messaging.services.
RemoteServiceClient
setConfigSender(MessageSender<Conf>)
- Method in class org.robokind.api.messaging.services.
DefaultServiceClient
setConfigSender(MessageSender<Config>)
- Method in interface org.robokind.api.messaging.services.
RemoteServiceClient
setErrorReceiver(MessageAsyncReceiver<ServiceError>)
- Method in class org.robokind.api.messaging.services.
DefaultServiceClient
setErrorReceiver(MessageAsyncReceiver<ServiceError>)
- Method in interface org.robokind.api.messaging.services.
RemoteServiceClient
setRecordHandler(RecordAsyncReceiver.RecordHandler<T>)
- Method in interface org.robokind.api.messaging.
RecordAsyncReceiver
Sets the RecordHandler used to handle incoming Records.
setRecordReceiver(RecordAsyncReceiver<Rec>)
- Method in class org.robokind.api.messaging.
DefaultMessageAsyncReceiver
Sets the RecordAsyncReceiver used to receive Records.
setRecordReceiver(RecordBlockingReceiver<Rec>)
- Method in class org.robokind.api.messaging.
DefaultMessageBlockingReceiver
Sets the RecordAsyncReceiver used to receive Records.
setRecordSender(RecordSender<Rec>)
- Method in class org.robokind.api.messaging.
DefaultMessageSender
Sets the underlying RecordSender to send the serialized Records.
setTimeout(long)
- Method in class org.robokind.api.messaging.
DefaultMessageBlockingReceiver
setTimeout(long)
- Method in interface org.robokind.api.messaging.
MessageBlockingReceiver
start()
- Method in class org.robokind.api.messaging.
DefaultMessageAsyncReceiver
start()
- Method in class org.robokind.api.messaging.
DefaultMessageBlockingReceiver
start()
- Method in class org.robokind.api.messaging.
DefaultMessageSender
start()
- Method in interface org.robokind.api.messaging.
MessageAsyncReceiver
Initializes and connects the MessageAsyncReceiver, and begins receiving Messages.
start()
- Method in interface org.robokind.api.messaging.
MessageBlockingReceiver
Initializes and connects the MessageAsyncReceiver, and begins receiving Messages.
start()
- Method in interface org.robokind.api.messaging.
MessageSender
Initializes and connects the MessageSender, making it ready to send Messages.
start()
- Method in interface org.robokind.api.messaging.
RecordAsyncReceiver
Starts the PollingService.
START
- Static variable in interface org.robokind.api.messaging.services.
ServiceCommand
stop()
- Method in class org.robokind.api.messaging.
DefaultMessageAsyncReceiver
stop()
- Method in class org.robokind.api.messaging.
DefaultMessageBlockingReceiver
stop()
- Method in class org.robokind.api.messaging.
DefaultMessageSender
stop()
- Method in interface org.robokind.api.messaging.
MessageAsyncReceiver
Stops the MessageAsyncReceiver, making it unable to receive Messages.
stop()
- Method in interface org.robokind.api.messaging.
MessageBlockingReceiver
Stops the MessageAsyncReceiver, making it unable to receive Messages.
stop()
- Method in interface org.robokind.api.messaging.
MessageSender
Stops the MessageSender, making it unable to send Messages.
stop()
- Method in interface org.robokind.api.messaging.
RecordAsyncReceiver
Completely stops a RecordAsyncReceiver.
STOP
- Static variable in interface org.robokind.api.messaging.services.
ServiceCommand
U
unsetRecordHandler()
- Method in interface org.robokind.api.messaging.
RecordAsyncReceiver
Removes the current RecordHandler.
A
C
D
F
G
H
I
M
N
O
P
R
S
U
Overview
Package
Class
Use
Tree
Deprecated
Index
Help
PREV NEXT
FRAMES
NO FRAMES
All Classes
Copyright © 2011-2013. All Rights Reserved.