public class BendpointConnectionRouter extends AbstractRouter
ConnectionRouter.NullConnectionRouterNULL| Constructor and Description |
|---|
BendpointConnectionRouter() |
| Modifier and Type | Method and Description |
|---|---|
java.lang.Object |
getConstraint(Connection connection)
Gets the constraint for the given
Connection. |
void |
remove(Connection connection)
Removes the given connection from the map of constraints.
|
void |
route(Connection conn)
Routes the
Connection. |
void |
setConstraint(Connection connection,
java.lang.Object constraint)
Sets the constraint for the given
Connection. |
getEndPoint, getStartPoint, invalidatepublic java.lang.Object getConstraint(Connection connection)
Connection.getConstraint in interface ConnectionRoutergetConstraint in class AbstractRouterconnection - The connection whose constraint we are retrievingpublic void remove(Connection connection)
remove in interface ConnectionRouterremove in class AbstractRouterconnection - The connection to removepublic void route(Connection conn)
Connection. Expects the constraint to be a List of
Bendpoints.conn - The connection to routepublic void setConstraint(Connection connection, java.lang.Object constraint)
Connection.setConstraint in interface ConnectionRoutersetConstraint in class AbstractRouterconnection - The connection whose constraint we are settingconstraint - The constraintCopyright (c) IBM Corp. and others 2000, 2011. All Rights Reserved.