com.camelspotting.jotl.udp
Class PacketMetadata

java.lang.Object
  extended by com.camelspotting.jotl.udp.PacketMetadata

public class PacketMetadata
extends Object

Author:
Mats Andreassen

Method Summary
 int getLength()
          The specified length of data packet
 PacketType getType()
          The specified data packet type
 int getVersion()
          The specified UDP version of the data packet
static PacketMetadata parseMetadata(byte[] input)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Method Detail

getLength

public int getLength()
The specified length of data packet

Returns:

getType

public PacketType getType()
The specified data packet type

Returns:

getVersion

public int getVersion()
The specified UDP version of the data packet

Returns:

toString

public String toString()
Overrides:
toString in class Object

parseMetadata

public static PacketMetadata parseMetadata(byte[] input)


Copyright © 2013. All Rights Reserved.