SMSLib 3.5.3

org.smslib.routing
Class DefaultRouter

java.lang.Object
  extended by org.smslib.routing.ARouter
      extended by org.smslib.routing.DefaultRouter

public class DefaultRouter
extends ARouter

Default Router implementation which actually doesn't perform any custom routing, instead relies on basic routing of ARouter.

Author:
Bassam Al-Sarori

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

DefaultRouter

public DefaultRouter()
Method Detail

customRoute

public java.util.Collection<AGateway> customRoute(OutboundMessage msg,
                                                  java.util.Collection<AGateway> gateways)
Description copied from class: ARouter
Performs custom routing.

Specified by:
customRoute in class ARouter
Parameters:
msg - message to be routed
gateways - a collection of gateways that will used for selecting appropriate gateways for routing.
Returns:
a collection of gateways that this msg should be routed through

SMSLib 3.5.3

(c) 2002-2011, http://smslib.org