net.jradius.client
Class UDPClientTransport
java.lang.Object
net.jradius.client.RadiusClientTransport
net.jradius.client.UDPClientTransport
public class UDPClientTransport
- extends RadiusClientTransport
Methods inherited from class net.jradius.client.RadiusClientTransport |
generateMessageAuthenticator, getAcctPort, getAuthPort, getLocalInetAddress, getRadiusClient, getRemoteInetAddress, getSharedSecret, getSocketTimeout, sendReceive, setAcctPort, setAuthPort, setLocalInetAddress, setRadiusClient, setRemoteInetAddress, setSharedSecret, setStatusListener, verifyAuthenticator, verifyAuthenticator, verifyAuthenticator, verifyMessageAuthenticator, verifyMessageAuthenticator, verifyMessageAuthenticator |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
defaultAuthPort
public static final int defaultAuthPort
- See Also:
- Constant Field Values
defaultAcctPort
public static final int defaultAcctPort
- See Also:
- Constant Field Values
channel
protected DatagramChannel channel
socket
protected DatagramSocket socket
UDPClientTransport
public UDPClientTransport(DatagramSocket socket)
UDPClientTransport
public UDPClientTransport()
throws IOException
- Throws:
IOException
close
public void close()
- Specified by:
close
in class RadiusClientTransport
send
protected void send(RadiusRequest req,
int attempt)
throws Exception
- Specified by:
send
in class RadiusClientTransport
- Throws:
Exception
receive
protected RadiusResponse receive(RadiusRequest req)
throws Exception
- Specified by:
receive
in class RadiusClientTransport
- Throws:
Exception
setSocketTimeout
public void setSocketTimeout(int timeout)
- Overrides:
setSocketTimeout
in class RadiusClientTransport
- Parameters:
timeout
- The socket timeout (in seconds)
Copyright © 2011 Coova Technologies, LLC, All Rights Reserved.