AXL RADIUS Server API V3

com.theorem.radserver3
Class LogImpl

Object
  extended byLogImpl

public abstract class LogImpl
extends Object

Abstract class for implementing a log. General logging by the server (server & debugging) is implemented using these two methods:

	abstract void write(int logType, String logMsg);
 and
	abstract void write(int logType, String name, String logMsg);
 

See Also:
setDebugLogImplFactory(), setServerLogImplFactory()

Field Summary
 boolean enabled
          Enable or Disable logging by the server - maintained by the server.
 boolean isOpen
          Has open been called?
 int level
          Logging level - maintained by the server.
 int state
          Logging state maintained by the RADIUS server.
 
Constructor Summary
LogImpl()
           
 
Method Summary
abstract  void close()
          Called by the server to close the log.
abstract  void open()
          Called by the server to open the log.
abstract  void write(String logMsg)
          Called by the server to write a message to the log.
abstract  void write(String name, String logMsg)
          Called by the server to write the log.
 
Methods inherited from class Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

enabled

public boolean enabled
Enable or Disable logging by the server - maintained by the server.


isOpen

public boolean isOpen
Has open been called? - maintained by the server.


level

public int level
Logging level - maintained by the server.


state

public int state
Logging state maintained by the RADIUS server.

Constructor Detail

LogImpl

public LogImpl()
Method Detail

close

public abstract void close()
Called by the server to close the log.


open

public abstract void open()
Called by the server to open the log.


write

public abstract void write(String logMsg)
Called by the server to write a message to the log.

Parameters:
logMsg - message to write.

write

public abstract void write(String name,
                           String logMsg)
Called by the server to write the log. Write to the log with the name derived from the User-Name attribute.

Parameters:
logMsg - message to write.

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.