com.noelios.restlet.component
Class ClientRouter

java.lang.Object
  extended by org.restlet.Uniform
      extended by org.restlet.Restlet
          extended by org.restlet.Router
              extended by com.noelios.restlet.component.ClientRouter

public class ClientRouter
extends Router

Router that collects calls from all applications and dispatches them to the appropriate client connectors.

Author:
Jerome Louvel (contact@noelios.com)

Field Summary
 
Fields inherited from class org.restlet.Router
BEST, CUSTOM, FIRST, LAST, NEXT, RANDOM
 
Constructor Summary
ClientRouter(Component component)
          Constructor.
 
Method Summary
 void start()
          Starts the Restlet.
 
Methods inherited from class org.restlet.Router
attach, attach, attach, attachDefault, attachDefault, createRoute, detach, getCustom, getDefaultRoute, getFinderClass, getMaxAttempts, getNext, getRequiredScore, getRetryDelay, getRoutes, getRoutingMode, handle, setDefaultRoute, setFinderClass, setMaxAttempts, setRequiredScore, setRetryDelay, setRoutingMode
 
Methods inherited from class org.restlet.Restlet
getContext, getLogger, init, isStarted, isStopped, setContext, stop
 
Methods inherited from class org.restlet.Uniform
delete, delete, get, get, handle, head, head, options, options, post, post, put, put
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ClientRouter

public ClientRouter(Component component)
Constructor.

Parameters:
component - The parent component.
Method Detail

start

public void start()
           throws Exception
Starts the Restlet.

Overrides:
start in class Restlet
Throws:
Exception


Copyright © 2005-2007 Noelios Consulting.