org.jvnet.hudson.proxy_dhcp
Class ProxyDhcpService
java.lang.Object
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
|
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 |
tftpServer
public final java.net.Inet4Address tftpServer
bootFileName
public final java.lang.String bootFileName
DHCP_CLIENT_PORT
public static final int DHCP_CLIENT_PORT
- See Also:
- Constant Field Values
DHCP_SERVER_PORT
public static final int DHCP_SERVER_PORT
- See Also:
- Constant Field Values
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
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.