#include <RadiusServer.h>
Public Member Functions | |
RadiusServer (char *name="127.0.0.1", char *secret="", int authport=1812, int acctport=1813, int retry=3, int wait=1) | |
~RadiusServer () | |
RadiusServer & | operator= (const RadiusServer &) |
int | getRetry () |
void | setRetry (int) |
void | setWait (int) |
int | getWait (void) |
void | setSharedSecret (char *) |
string | getSharedSecret (void) |
int | getAuthPort () |
void | setAuthPort (short int) |
int | getAcctPort () |
void | setAcctPort (short int) |
string | getName () |
void | setName (char *) |
Private Attributes | |
short int | authport |
short int | acctport |
string | name |
int | retry |
string | sharedsecret |
int | wait |
Friends | |
ostream & | operator<< (ostream &os, RadiusServer &server) |
|
The constructer of the class.
|
|
The destructur of the class. It does nothing. |
|
The getter method for the acctport.
|
|
The getter method for the authport.
|
|
The getter method for the server name.
|
|
The getter method for the retry.
|
|
The getter method for the sharedsecret
|
|
The getter method for the private member wait*
|
|
The allocation operator.
|
|
The setter method for the acctport. There is no correctness checking.
|
|
The setter method for the authport. There is no correctness checking.
|
|
The setter method for the server name. There is no correctness checking. The name could be a name or an ip address.
|
|
The setter method for the retries. Is the value less or equal 0 it ist set to 1.
|
|
The setter method for the sharedsecret
|
|
The setter method for the private member wait
|
|
|
|
The UDP port for accounting packets. |
|
The UDP port for authentication packets. |
|
The name or the ip address of the server. |
|
The number of retries how many times a radius ticket is send to the server, if it doesn#t answer. |
|
The sharedsecret, the maximum space is 16 chars. |
|
The time to wait for a response of the server. |