com.noelios.restlet
Class ConnectorHelper<T extends Connector>

java.lang.Object
  extended by org.restlet.util.Helper<T>
      extended by com.noelios.restlet.ConnectorHelper<T>
Direct Known Subclasses:
ClientHelper, ServerHelper

public abstract class ConnectorHelper<T extends Connector>
extends Helper<T>

Base connector helper.

Author:
Jerome Louvel

Constructor Summary
ConnectorHelper(T connector)
          Constructor.
 
Method Summary
 java.util.List<Protocol> getProtocols()
          Returns the protocols simultaneously supported.
 void start()
           
 void stop()
           
 void update()
           
 
Methods inherited from class org.restlet.util.Helper
getAttributes, getContext, getHelped, getHelpedParameters, getLogger, handle, setHelped
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ConnectorHelper

public ConnectorHelper(T connector)
Constructor.

Method Detail

getProtocols

public java.util.List<Protocol> getProtocols()
Returns the protocols simultaneously supported.

Returns:
The protocols simultaneously supported.

start

public void start()
           throws java.lang.Exception
Specified by:
start in class Helper<T extends Connector>
Throws:
java.lang.Exception

stop

public void stop()
          throws java.lang.Exception
Specified by:
stop in class Helper<T extends Connector>
Throws:
java.lang.Exception

update

public void update()
            throws java.lang.Exception
Specified by:
update in class Helper<T extends Connector>
Throws:
java.lang.Exception


Copyright © 2005-2008 Noelios Technologies.