public static class RoutingListener.Stub extends java.lang.Object implements RoutingListener
RoutingListener.Stub| Constructor and Description |
|---|
RoutingListener.Stub() |
| Modifier and Type | Method and Description |
|---|---|
void |
invalidate(Connection connection)
Called when the connection has been invalidated.
|
void |
postRoute(Connection connection)
Called after normal routing has completed.
|
void |
remove(Connection connection)
Called when a connection has been removed from its router.
|
boolean |
route(Connection connection)
Called prior to routing occurring.
|
void |
setConstraint(Connection connection,
java.lang.Object constraint)
Called when the connection's routing constraint has been set or
initialized.
|
public void invalidate(Connection connection)
RoutingListenerinvalidate in interface RoutingListenerconnection - the connectionpublic void postRoute(Connection connection)
RoutingListenerpostRoute in interface RoutingListenerconnection - the routed connectionpublic void remove(Connection connection)
RoutingListenerremove in interface RoutingListenerconnection - the connectionpublic boolean route(Connection connection)
RoutingListenertrue. If intercepted, the connection's
ConnectionRouter will not perform routing.route in interface RoutingListenerconnection - the connection being routedtrue if routing has been performed by the listenerpublic void setConstraint(Connection connection, java.lang.Object constraint)
RoutingListenersetConstraint in interface RoutingListenerconnection - the connectionconstraint - the new constraintCopyright (c) IBM Corp. and others 2000, 2011. All Rights Reserved.