org.jvnet.hudson.proxy_dhcp
Class ProxyDhcpService

java.lang.Object
  extended by org.jvnet.hudson.proxy_dhcp.ProxyDhcpService
All Implemented Interfaces:
java.io.Closeable, java.lang.Runnable

public class ProxyDhcpService
extends java.lang.Object
implements java.lang.Runnable, java.io.Closeable

DHCP

Author:
Kohsuke Kawaguchi

Field Summary
 java.lang.String bootFileName
           
 java.net.Inet4Address tftpServer
           
 
Constructor Summary
ProxyDhcpService(java.net.Inet4Address tftpServer, java.lang.String bootFileName)
           
ProxyDhcpService(java.net.Inet4Address tftpServer, java.lang.String bootFileName, java.net.InetAddress interfaceToListen)
           
 
Method Summary
 void close()
           
 void execute()
           
static void main(java.lang.String[] args)
           
 void run()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

tftpServer

public final java.net.Inet4Address tftpServer

bootFileName

public final java.lang.String bootFileName
Constructor Detail

ProxyDhcpService

public ProxyDhcpService(java.net.Inet4Address tftpServer,
                        java.lang.String bootFileName)
                 throws java.net.SocketException
Throws:
java.net.SocketException

ProxyDhcpService

public ProxyDhcpService(java.net.Inet4Address tftpServer,
                        java.lang.String bootFileName,
                        java.net.InetAddress interfaceToListen)
                 throws java.net.SocketException
Throws:
java.net.SocketException
Method Detail

run

public void run()
Specified by:
run in interface java.lang.Runnable

execute

public void execute()
             throws java.io.IOException
Throws:
java.io.IOException

close

public void close()
Specified by:
close in interface java.io.Closeable

main

public static void main(java.lang.String[] args)
                 throws java.io.IOException
Throws:
java.io.IOException


Copyright © 2009. All Rights Reserved.