anima.message.javalocal
Class JavaLocalBroker
java.lang.Object
anima.message.javalocal.JavaLocalBroker
- All Implemented Interfaces:
- IBroker
public class JavaLocalBroker
- extends java.lang.Object
- implements IBroker
This class represents an instance of a broker, witch implements an IBroker
and can dispatch synchronous and asynchronous messages
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
QUEUESIZE
public static final int QUEUESIZE
- See Also:
- Constant Field Values
JavaLocalBroker
public JavaLocalBroker(IMessageFactory messageFactory)
dispatchSyncMessage
public IMessage dispatchSyncMessage(ISyncReceiver receiver,
IMessage message)
- Description copied from interface:
IBroker
- Dispatch an synchronous receiver, and our message
- Specified by:
dispatchSyncMessage in interface IBroker
- Returns:
dispatchAssyncMessage
public void dispatchAssyncMessage(IAssyncReceiver receiver,
IMessage message)
- Description copied from interface:
IBroker
- Dispatch an Asynchronous receiver, and our message
- Specified by:
dispatchAssyncMessage in interface IBroker
getMessageFactory
public IMessageFactory getMessageFactory()
- Description copied from interface:
IBroker
- Return an Factory of Messages.
- Specified by:
getMessageFactory in interface IBroker
- Returns:
- the messageFactory
Copyright © 2007. All Rights Reserved.