org.apache.directory.server.dhcp.options.tcp
Class TcpKeepaliveInterval

java.lang.Object
  extended by org.apache.directory.server.dhcp.options.DhcpOption
      extended by org.apache.directory.server.dhcp.options.tcp.TcpKeepaliveInterval

public class TcpKeepaliveInterval
extends DhcpOption

This option specifies the whether or not the client should send TCP keepalive messages with a octet of garbage for compatibility with older implementations. A value of 0 indicates that a garbage octet should not be sent. A value of 1 indicates that a garbage octet should be sent. The code for this option is 39, and its length is 1.


Constructor Summary
TcpKeepaliveInterval(byte[] tcpKeepaliveInterval)
           
 
Method Summary
protected  void valueToByteBuffer(java.nio.ByteBuffer out)
           
 
Methods inherited from class org.apache.directory.server.dhcp.options.DhcpOption
writeTo
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TcpKeepaliveInterval

public TcpKeepaliveInterval(byte[] tcpKeepaliveInterval)
Method Detail

valueToByteBuffer

protected void valueToByteBuffer(java.nio.ByteBuffer out)
Specified by:
valueToByteBuffer in class DhcpOption


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