|
SMSLib 3.5.3 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.smslib.routing.ARouter
org.smslib.routing.DefaultRouter
public class DefaultRouter
Default Router implementation which actually doesn't perform any custom routing, instead relies on basic routing of ARouter.
Constructor Summary | |
---|---|
DefaultRouter()
|
Method Summary | |
---|---|
java.util.Collection<AGateway> |
customRoute(OutboundMessage msg,
java.util.Collection<AGateway> gateways)
Performs custom routing. |
Methods inherited from class org.smslib.routing.ARouter |
---|
route |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DefaultRouter()
Method Detail |
---|
public java.util.Collection<AGateway> customRoute(OutboundMessage msg, java.util.Collection<AGateway> gateways)
ARouter
customRoute
in class ARouter
msg
- message to be routedgateways
- a collection of gateways that will used for selecting appropriate gateways for routing.
msg
should be routed through
|
SMSLib 3.5.3 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |