org.echarts.servlet.sip.appRouter.DFCRouterImpl
Class PrecedencePair
java.lang.Object
org.echarts.servlet.sip.appRouter.DFCRouterImpl.PrecedencePair
public class PrecedencePair
- extends java.lang.Object
This class encapsulates a pair of applications with a precedence relationship
between them.
- Author:
- khp
Method Summary |
boolean |
equals(java.lang.Object o)
Compare another Object to this precedence pair for equality. |
java.lang.String |
toString()
Render a PrecedencePair object as a string. |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
lesser
public final Application lesser
greater
public final Application greater
PrecedencePair
public PrecedencePair(Application lesser,
Application greater)
- Construct a new precedence pair with the two applications. The application
designated by 'greater' is the application with higher precedence. Higher
precedence means that it shall be invoked closer to the subscriber for whom
it was invoked.
- Parameters:
lesser
- the application with lesser precedencegreater
- the application with greater precedence
equals
public boolean equals(java.lang.Object o)
- Compare another Object to this precedence pair for equality.
- Overrides:
equals
in class java.lang.Object
- Returns:
- true if the other object has the same applications named as 'lesser' and
'greater'. Return false otherwise.
toString
public java.lang.String toString()
- Render a PrecedencePair object as a string.
- Overrides:
toString
in class java.lang.Object