org.jnetpcap
Class PcapPktBuffer

java.lang.Object
  extended by org.jnetpcap.PcapPktBuffer

public class PcapPktBuffer
extends java.lang.Object

Class used to pass back a reference to a ByteBuffer containing the packet data. The private field within this class is assigned new value made up of a ByteBuffer reference from JNI call.

Author:
Mark Bednarczyk, Sly Technologies, Inc.

Constructor Summary
PcapPktBuffer()
           
 
Method Summary
 java.nio.ByteBuffer getBuffer()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PcapPktBuffer

public PcapPktBuffer()
Method Detail

getBuffer

public final java.nio.ByteBuffer getBuffer()
Returns:
the buffer