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)
RoutingListener
invalidate
in interface RoutingListener
connection
- the connectionpublic void postRoute(Connection connection)
RoutingListener
postRoute
in interface RoutingListener
connection
- the routed connectionpublic void remove(Connection connection)
RoutingListener
remove
in interface RoutingListener
connection
- the connectionpublic boolean route(Connection connection)
RoutingListener
true
. If intercepted, the connection's
ConnectionRouter
will not perform routing.route
in interface RoutingListener
connection
- the connection being routedtrue
if routing has been performed by the listenerpublic void setConstraint(Connection connection, java.lang.Object constraint)
RoutingListener
setConstraint
in interface RoutingListener
connection
- the connectionconstraint
- the new constraintCopyright (c) IBM Corp. and others 2000, 2011. All Rights Reserved.