All Packages Class Hierarchy This Package Previous Next Index
Class uhr.core.cell.ConnectionRegistry
java.lang.Object
|
+----uhr.core.cell.ConnectionRegistry
- public class ConnectionRegistry
- extends Object
This class handles Message connections and other related work,
except for what the MessageRouter does.
This is a stateless service part.
-
ConnectionRegistry()
-
-
addConnection(Flexitron,
Container, MessageRouter)
- Adds the connection definition to the MessageRouter for this
cell.
-
checkMessageSender(Flexitron,
Container, MessageRouter)
- Checks the part in the partDef for MessageSender needs.
ConnectionRegistry
public ConnectionRegistry()
addConnection
public void addConnection(Flexitron connectionDef,
Container container,
MessageRouter router)
- Adds the connection definition to the MessageRouter for this
cell. The Flexitron must contain data of this format example:
DIRECT
GetSecurityLevel
LogonWindow
SecurityDataReader
The type must be the connection type constant as described in uhr.core.msg.Connection
Type and name are required. Either the sender or receiver is required. Both
are required for a DIRECT connection.
- Parameters:
- coonnectionDef - the connection definition data.
- container - the container the connection is in.
- router - the MessageRouter to use.
checkMessageSender
public void checkMessageSender(Flexitron partDef,
Container container,
MessageRouter router)
- Checks the part in the partDef for MessageSender needs. If the
part is a MessageSender, it provides the part its receiver.
- Parameters:
- partDef - the standard Container DK part definition.
- container - the container the connection is in.
- router - the MessageRouter to use.
All Packages Class Hierarchy This Package Previous Next Index