|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface RouterManager
A class implmenets this interface to manage the routers that the connection
can connect to. When a new PsEPRConnection is created, it
calls the class in PsEPRService that implements this interface
to get another router to connect to.
A simple implementation will just loop through the routers specifications in the parameter file. A more complex implementation would check on the outstanding connections and on previous history to choose a better connection.
| Method Summary | |
|---|---|
PsEPRRouter |
getNextRouterToTry()
Called to get a PsEPRRouter to attempt a connection on. |
void |
routerFailed(PsEPRRouter pr)
Called to say that a previously return PsEPRRouter couldn't be connected to. |
| Method Detail |
|---|
PsEPRRouter getNextRouterToTry()
void routerFailed(PsEPRRouter pr)
pr - previously returned (from getNextRouterToTry) router
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||