AXL RADIUS Server API V3

com.theorem.radserver3
Class SnoopImpl

Object
  extended bySnoopImpl

public abstract class SnoopImpl
extends Object

Abstract class for snooping on packets. Useful for debugging.

See Also:
SnoopImplFactory

Constructor Summary
SnoopImpl()
           
 
Method Summary
abstract  void logs(LogImpl svrLog, LogImpl dbgLog)
          Stay informed about the log methods.
abstract  void packet(int packetType, DatagramPacket dp)
          Capture packets passing into the server.
 
Methods inherited from class Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SnoopImpl

public SnoopImpl()
Method Detail

logs

public abstract void logs(LogImpl svrLog,
                          LogImpl dbgLog)
Stay informed about the log methods. The logging classes are made available to the implementation for reporting this and that. These classes are whatever the programmer defined them to be in the RADIUSServer class. This method will be called when each server is started.

Parameters:
svrLog - Server log class
dbgLog - Debug log class

packet

public abstract void packet(int packetType,
                            DatagramPacket dp)
Capture packets passing into the server.

Parameters:
packetType - Access-Request or Access-Accounting packet code.
dp - datagram packet

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.