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

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

public class TcpKeepaliveGarbage
extends DhcpOption

This option specifies the interval (in seconds) that the client TCP should wait before sending a keepalive message on a TCP connection. The time is specified as a 32-bit unsigned integer. A value of zero indicates that the client should not generate keepalive messages on connections unless specifically requested by an application. The code for this option is 38, and its length is 4.


Constructor Summary
TcpKeepaliveGarbage(byte[] tcpKeepaliveGarbage)
           
 
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

TcpKeepaliveGarbage

public TcpKeepaliveGarbage(byte[] tcpKeepaliveGarbage)
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.