AXL Software™

com.theorem.tacacs.examples.client
Class Client

Object
  extended byClient
All Implemented Interfaces:
TACACSCallback

public class Client
extends Object
implements TACACSCallback

Class to send TACACS+ controls to a server.

This class uses the call back interface to receive reply packets. It also attempts each kind of authentication and displays the results.


Constructor Summary
Client()
          Default constructor.
 
Method Summary
 void acceptTACACSReply(TACACSSession session, Packet replyPacket)
          Accept the reply packet from the TACACSClient.
static void main(String[] a)
          Main method to run the client.
 
Methods inherited from class Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Client

public Client()
Default constructor.

Method Detail

main

public static void main(String[] a)
Main method to run the client. The arguments are not used.


acceptTACACSReply

public void acceptTACACSReply(TACACSSession session,
                              Packet replyPacket)
Accept the reply packet from the TACACSClient. This is an example of the call back interface method.

Specified by:
acceptTACACSReply in interface TACACSCallback
Parameters:
session - The session with the reply. This is the same session that was sent by the client.
replyPacket - ReplyPacket.

AXL Software™

Submit a bug report or feature request

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