|
AXL RADIUS Server API V3 | |||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
ObjectPacketInfo
AccountingInfo
Class to pass information to and from an Accounting request..
| Field Summary | |
static int |
SHOW_NAMES
Custom logging flag - Show attribute names. |
static int |
SHOW_NOTHING
Custom logging flag - Suppress the display of the attribute tag. |
static int |
SHOW_NUMBERS
Custom logging flag - Show attribute numbers. |
static int |
TIME1
Custom logging pseudo-attribute to display dateTime1. |
static int |
TIME2
Custom logging pseudo-attribute to display dateTime1. |
| Fields inherited from class PacketInfo |
AUTH_LENGTH, AUTH_STATE_OBJECT |
| Method Summary | |
Date |
getAcctDelayDate(Attribute acctDelayTime)
Get the Acct-Delay-Time attribute value and return the corrected time. |
AttributeList |
getClassAttributeList()
Get the accounting Class information. |
String |
getLivingstonEntry()
Get a Livingston standard accounting record. |
Object |
getModule()
Retrieves the module (ModuleRegister) object. |
String |
getMSNTEntry()
Get a Microsoft accounting record for an IAS-formatted log file. |
String |
getNASAddress()
Get NAS IP address. |
String |
getSessionID()
Get the Acct-Session-ID attribute value. |
String |
getSyslogEntry()
Get a syslog style log entry. |
String |
getTime()
Get the formatted current time. |
void |
setDateFormat(String format)
Set log time format in java.text.SimpleDateFormat format. |
| Methods inherited from class Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
public static final int SHOW_NAMES
public static final int SHOW_NOTHING
public static final int SHOW_NUMBERS
public static final int TIME1
public static final int TIME2
| Method Detail |
public Date getAcctDelayDate(Attribute acctDelayTime)
acctDelayTime - Acct-Delay-Time attribute.
public AttributeList getClassAttributeList()
public String getLivingstonEntry()
Tue Feb 5 12:56:28 2002 Acct-Session-Id = "HTS03" User-Name = "michael" NAS-IP-Address = 192.168.1.1 NAS-Port = 1 NAS-Port-Type = Async Acct-Status-Type = Start Acct-Authentic = RADIUS Service-Type = Login-User Login-Service = Telnet Login-IP-Host = 192.168.1.101 Acct-Delay-Time = 0 Timestamp = 1012931752
public Object getModule()
For example, if you have a module called TEST use TEST t = ((TEST) getModule().test);
public String getMSNTEntry()
192.168.1.1,NASA,07/03/2002,14:42:19,IAS,radius.auth,6,2,7,1,5,9,61,5,64,1,65,1,31,1
public String getNASAddress()
public String getSessionID()
public String getSyslogEntry()
mm dd HH:MM:SS NAS-IP-Address: port NAS-Port id Acct-Session-Id: User-Name [start | stop] {Type=Async|Sync} {Proto=PPP|SLIP} {Service=Telnet|Rlogin|TCP-Clear} {Host=Login-IP-Host} {Speed=Connect-Speed} {Time=Acct-Session-Time} {Cause=Acct-Terminate-Cause}.
public String getTime()
public void setDateFormat(String format)
MM/dd/yyyy HH:mm:ss.
format - SimpleDateFormat format.
|
AXL RADIUS Server API V3 | |||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||