AXL Software®

com.theorem.radius3.radutil
Class FailOverRADIUSClient.ServerData

Object
  extended byFailOverRADIUSClient.ServerData
Enclosing class:
FailOverRADIUSClient

public class FailOverRADIUSClient.ServerData
extends Object

Inner class to hold server list.


Method Summary
 int getBadPacketError()
          Get the Access_BadPacket error code.
 String getBadPacketErrorString()
          Get the Access_BadPacket error string.
 String getClientErrorString()
          Get the client error string.
 String getResponsePacketName()
          Get the packet type name returned by this server.
 int getResponsePacketType()
          Get the packet type returned by this server.
 boolean isClientError()
          Determine if there is a client error.
 boolean sentRequest()
          Determine if this server send a request.
 String toString()
          Return a string representation of the ServerData object.
 
Methods inherited from class Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Method Detail

sentRequest

public boolean sentRequest()
Determine if this server send a request.

Returns:
True if the server sent a request.

getResponsePacketType

public int getResponsePacketType()
Get the packet type returned by this server. If it was Access-BadPacket see getBadPacketError() and getBadPacketErrorString().

Returns:
Response packet type or -1 if there was no response. See isClientError() to see if there was a client error that prevented an authentication or accounting result.

getResponsePacketName

public String getResponsePacketName()
Get the packet type name returned by this server. If the server wasn't contacted there will be no result and no error. If it was Access-BadPacket see getBadPacketError() and getBadPacketErrorString().

Returns:
Response packet type or -1 if there was no response. See isClientError() to see if there was a client error that prevented an authentication or accounting result.

getBadPacketError

public int getBadPacketError()
Get the Access_BadPacket error code. It will be -1 if there a bad packet was not recieved.

Returns:
bad packet code.

getBadPacketErrorString

public String getBadPacketErrorString()
Get the Access_BadPacket error string.

Returns:
bad packet error string.

isClientError

public boolean isClientError()
Determine if there is a client error.

Returns:
True if there was a client error.
See Also:
getClientErrorString()

getClientErrorString

public String getClientErrorString()
Get the client error string. This indicates the type of client error received.

Returns:
client error string.

toString

public String toString()
Return a string representation of the ServerData object.

Returns:
description.

AXL Software®

Submit a bug report or feature request

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