com.antiaction.mayhem.httpd
Class ConfigBindings

java.lang.Object
  extended by com.antiaction.mayhem.httpd.ConfigBindings

public class ConfigBindings
extends java.lang.Object

Bindings configuration for a ResponseWorker. Includes the interface names/ports numbers to listen on and with which BindSocketFactory. Also includes a list of assigned hostnames.

Version:
1.00
Author:
Nicholas Clarke

Constructor Summary
ConfigBindings()
          Empty constructor.
 
Method Summary
 void addHostname(java.lang.String hostname)
          Add a hostname the site should respond to.
 void addInterfacePort(ConfigInterfacePort interfacePort)
          Add InterfacePort to listen on.
 void setBindSocketFactory(IBindSocketFactory factory)
          Set the BindSocketFactory.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ConfigBindings

public ConfigBindings()
Empty constructor.

Method Detail

setBindSocketFactory

public void setBindSocketFactory(IBindSocketFactory factory)
Set the BindSocketFactory.

Parameters:
factory - BindSocketFactory object.

addInterfacePort

public void addInterfacePort(ConfigInterfacePort interfacePort)
Add InterfacePort to listen on.

Parameters:
interfacePort - InterfacePort object.

addHostname

public void addHostname(java.lang.String hostname)
Add a hostname the site should respond to.

Parameters:
hostname - internet domain hostname.


Copyright © 2001-2004 Nicholas Clarke. All Rights Reserved.