AXL RADIUS Server API V3

com.theorem.radserver3.radutil
Class SnoopReader

Object
  extended bySnoopReader

public class SnoopReader
extends Object

Class to examine a SNOOP V2 file (RFC 1761) containing RADIUS packets.


Field Summary
static int ETHERNET
           
 
Constructor Summary
SnoopReader(InputStream in)
           
 
Method Summary
static void main(String[] arg)
          A main class to read a snoop file as the first argument and display it's contents.
 SnoopRecord next()
          Get the next snoop packet in the stream.
 
Methods inherited from class Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

ETHERNET

public static final int ETHERNET
See Also:
Constant Field Values
Constructor Detail

SnoopReader

public SnoopReader(InputStream in)
            throws IOException
Method Detail

main

public static void main(String[] arg)
A main class to read a snoop file as the first argument and display it's contents.


next

public SnoopRecord next()
                 throws IOException
Get the next snoop packet in the stream.

Returns:
a SnoopPacket if there's a packet data, otherwise null if we're at the end of the file.
Throws:
IOException - if there's an error reading the file.

AXL RADIUS Server API V3

Submit a bug report or feature request

Copyright 1998-2008 AXL Software. PO Box 97, Viola, Delaware 19979, U.S.A. All Rights Reserved.