org.apache.directory.server.dhcp.service
Interface DhcpService

All Known Implementing Classes:
AbstractDhcpService, StoreBasedDhcpService

public interface DhcpService

DHCP Protocol (RFC 2131, RFC 2132). Implementations of the DHCP service must be thread-safe with respect to concurrent calls to getReplyFor().

Version:
$Rev: 545042 $, $Date: 2007-06-06 22:32:01 -0500 (Mi, 06 Jun 2007) $
Author:
Apache Directory Project

Method Summary
 DhcpMessage getReplyFor(java.net.InetSocketAddress localAddress, java.net.InetSocketAddress clientAddress, DhcpMessage request)
          Retrieve the reply to a given message.
 

Method Detail

getReplyFor

DhcpMessage getReplyFor(java.net.InetSocketAddress localAddress,
                        java.net.InetSocketAddress clientAddress,
                        DhcpMessage request)
                        throws DhcpException
Retrieve the reply to a given message. The reply may be zero, if the message should be ignored.

Parameters:
localAddress - TODO
clientAddress -
request -
Returns:
DhcpMessage
Throws:
DhcpException


Copyright © 2003-2009 Apache Software Foundation. All Rights Reserved.