net.jradius.log
Class RadiusLogEntry
java.lang.Object
net.jradius.log.RadiusLogEntry
- All Implemented Interfaces:
- net.jradius.log.JRadiusLogEntry
public class RadiusLogEntry
- extends java.lang.Object
- implements net.jradius.log.JRadiusLogEntry
The JRadius Log Entry Object (bean).
- Author:
- David Bird
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
session
protected net.jradius.session.JRadiusSession session
code
protected java.lang.Integer code
type
protected java.lang.String type
message
protected java.lang.String message
packetId
protected java.lang.String packetId
clientIPAddress
protected java.lang.String clientIPAddress
nasIdentifier
protected java.lang.String nasIdentifier
userName
protected java.lang.String userName
realm
protected java.lang.String realm
userId
protected java.lang.Integer userId
inboundRequest
protected java.lang.String inboundRequest
outboundRequest
protected java.lang.String outboundRequest
inboundReply
protected java.lang.String inboundReply
outboundReply
protected java.lang.String outboundReply
finished
protected boolean finished
committed
protected boolean committed
lastUpdate
protected java.util.Date lastUpdate
RadiusLogEntry
public RadiusLogEntry()
RadiusLogEntry
public RadiusLogEntry(net.jradius.session.JRadiusSession session,
java.lang.String packetId)
init
public void init(net.jradius.server.JRadiusRequest request,
net.jradius.session.JRadiusSession session)
throws net.jradius.exception.RadiusException
- Specified by:
init
in interface net.jradius.log.JRadiusLogEntry
- Throws:
net.jradius.exception.RadiusException
setValue
protected java.lang.Object setValue(java.lang.Object n,
java.lang.Object o)
getSessionKey
public java.lang.String getSessionKey()
- Returns:
- Returns the sessionKey.
getCode
public java.lang.Integer getCode()
- Returns:
- Returns the code.
setCode
public void setCode(java.lang.Integer code)
- Specified by:
setCode
in interface net.jradius.log.JRadiusLogEntry
- Parameters:
code
- The code to set.
getType
public java.lang.String getType()
- Returns:
- Returns the type.
setType
public void setType(java.lang.String type)
- Specified by:
setType
in interface net.jradius.log.JRadiusLogEntry
- Parameters:
type
- The type to set.
setType
public void setType(net.jradius.server.JRadiusRequest request)
throws net.jradius.exception.RadiusException
- Throws:
net.jradius.exception.RadiusException
getMessage
public java.lang.String getMessage()
- Returns:
- Returns the message.
setMessage
public void setMessage(java.lang.String message)
- Parameters:
message
- The message to set.
addMessage
public void addMessage(java.lang.String message)
- Specified by:
addMessage
in interface net.jradius.log.JRadiusLogEntry
getClientIPAddress
public java.lang.String getClientIPAddress()
- Returns:
- Returns the clientIP.
setClientIPAddress
public void setClientIPAddress(java.lang.String clientIP)
- Parameters:
clientIP
- The clientIP to set.
getNasIdentifier
public java.lang.String getNasIdentifier()
- Returns:
- Returns the nasId.
setNasIdentifier
public void setNasIdentifier(java.lang.String nasId)
- Parameters:
nasId
- The nasId to set.
getUserName
public java.lang.String getUserName()
setUserName
public void setUserName(java.lang.String userName)
getRealm
public java.lang.String getRealm()
setRealm
public void setRealm(java.lang.String realm)
getUserId
public java.lang.Integer getUserId()
- Returns:
- Returns the userId.
setUserId
public void setUserId(java.lang.Integer userId)
- Parameters:
userId
- The userId to set.
getPacketId
public java.lang.String getPacketId()
- Returns:
- Returns the packetId.
setPacketId
public void setPacketId(java.lang.String packetId)
- Parameters:
packetId
- The packetId to set.
getInboundReply
public java.lang.String getInboundReply()
- Specified by:
getInboundReply
in interface net.jradius.log.JRadiusLogEntry
- Returns:
- Returns the inboundReply.
setInboundReply
public void setInboundReply(java.lang.String inboundReply)
- Specified by:
setInboundReply
in interface net.jradius.log.JRadiusLogEntry
- Parameters:
inboundReply
- The inboundReply to set.
getInboundRequest
public java.lang.String getInboundRequest()
- Specified by:
getInboundRequest
in interface net.jradius.log.JRadiusLogEntry
- Returns:
- Returns the inboundRequest.
setInboundRequest
public void setInboundRequest(java.lang.String inboundRequest)
- Specified by:
setInboundRequest
in interface net.jradius.log.JRadiusLogEntry
- Parameters:
inboundRequest
- The inboundRequest to set.
getOutboundReply
public java.lang.String getOutboundReply()
- Specified by:
getOutboundReply
in interface net.jradius.log.JRadiusLogEntry
- Returns:
- Returns the outboundReply.
setOutboundReply
public void setOutboundReply(java.lang.String outboundReply)
- Specified by:
setOutboundReply
in interface net.jradius.log.JRadiusLogEntry
- Parameters:
outboundReply
- The outboundReply to set.
getOutboundRequest
public java.lang.String getOutboundRequest()
- Specified by:
getOutboundRequest
in interface net.jradius.log.JRadiusLogEntry
- Returns:
- Returns the outboundRequest.
setOutboundRequest
public void setOutboundRequest(java.lang.String outboundRequest)
- Specified by:
setOutboundRequest
in interface net.jradius.log.JRadiusLogEntry
- Parameters:
outboundRequest
- The outboundRequest to set.
isFinished
public boolean isFinished()
- Specified by:
isFinished
in interface net.jradius.log.JRadiusLogEntry
- Returns:
- Returns the finished.
setFinished
public void setFinished(boolean finished)
- Parameters:
finished
- The finished to set.
isCommitted
public boolean isCommitted()
- Specified by:
isCommitted
in interface net.jradius.log.JRadiusLogEntry
- Returns:
- Returns the committed.
setCommitted
public void setCommitted(boolean committed)
- Specified by:
setCommitted
in interface net.jradius.log.JRadiusLogEntry
- Parameters:
committed
- The committed to set.
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object
getLastUpdate
public java.util.Date getLastUpdate()
- Specified by:
getLastUpdate
in interface net.jradius.log.JRadiusLogEntry
setLastUpdate
public void setLastUpdate(java.util.Date lastUpdate)
- Specified by:
setLastUpdate
in interface net.jradius.log.JRadiusLogEntry
Copyright © 2008 JRadius Project, All Rights Reserved.