org.universAAL.kinect.adapter.IMessageBroker
Interface IMessageBroker

Package class diagram package IMessageBroker
All Known Implementing Classes:
DefaultBroker

public interface IMessageBroker

This is the interface of the MessageBrokers, which interpret and forward messages to specific objects, and send back any return values.


Method Summary
 Collection<?> SendNewMessage(Object type, Object key, Collection<?> args)
          This method sends a new message to the broker.
 

Method Detail

SendNewMessage

Collection<?> SendNewMessage(Object type,
                             Object key,
                             Collection<?> args)
                             throws AdapterException
This method sends a new message to the broker.

Parameters:
type - Type of the message, for example ServiceCall or ContextPublish
key - Key to identify the concrete object
args - Arguments forwarded to universAAl
Returns:
Collection of any return values that may occur
Throws:
AdapterException


Copyright © 2014 universAAL Consortium. All Rights Reserved.