jist.swans.route
Class RouteZrpNdp.MessageNdp

java.lang.Object
  extended by jist.swans.route.RouteZrpNdp.MessageNdp
All Implemented Interfaces:
JistAPI.Timeless, Message, RouteInterface.Zrp.MessageNdp, RouteInterface.Zrp.MessageZrp
Enclosing class:
RouteZrpNdp

private static class RouteZrpNdp.MessageNdp
extends java.lang.Object
implements RouteInterface.Zrp.MessageNdp

NDP (Node Discovery Protocol) packet.

   (nothing)
 


Field Summary
 
Fields inherited from interface jist.swans.misc.Message
NULL
 
Constructor Summary
private RouteZrpNdp.MessageNdp()
           
 
Method Summary
 void getBytes(byte[] b, int offset)
          Store packet into byte array.
 int getSize()
          Return packet size or Constants.ZERO_WIRE_SIZE.
 java.lang.String toString()
          
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

RouteZrpNdp.MessageNdp

private RouteZrpNdp.MessageNdp()
Method Detail

getSize

public int getSize()
Return packet size or Constants.ZERO_WIRE_SIZE.

Specified by:
getSize in interface Message
Returns:
packet size

getBytes

public void getBytes(byte[] b,
                     int offset)
Store packet into byte array.

Specified by:
getBytes in interface Message
Parameters:
b - destination byte array
offset - byte array starting offset

toString

public java.lang.String toString()

Overrides:
toString in class java.lang.Object