com.dalsemi.tininet.ppp
Class Chap

java.lang.Object
  |
  +--com.dalsemi.tininet.ppp.Protocol
        |
        +--com.dalsemi.tininet.ppp.Chap

public class Chap
extends Protocol
implements TimerEventListener

The Challenge Handshake Authentication Protocol (CHAP).


Field Summary
protected static int CHAP_PROTOCOL_NUMBER
           
 
Fields inherited from class com.dalsemi.tininet.ppp.Protocol
ACK_RCVD, ACK_SENT, CLOSED, CLOSING, CODE_POS, ID_POS, INITIAL, interfaceNumber, LENGTH_LSB_POS, LENGTH_MSB_POS, opened, OPENED, OPTION_START_POS, PACKET_OVERHEAD, packetID, PASSWORD_FILE, PROTOCOL_LSB_POS, PROTOCOL_MSB_POS, protocolNum, queue, REQ_SENT, STARTING, state, STOPPED, STOPPING, timeoutCount, timeoutCounter, timeoutInterval, timer
 
Constructor Summary
Chap()
           
 
Method Summary
 void close()
           
 void down()
           
 void newPacket(byte[] packet)
          Invoked when this protocol has a new packet.
 void open()
           
 void setPassword(java.lang.String secret)
           
 void setUsername(java.lang.String username)
           
 void timeout()
          Timer event listener interface
 void up(int type)
           
 
Methods inherited from class com.dalsemi.tininet.ppp.Protocol
findPassword, formatMsg, formatMsg, formatMsg, queueAdd, queueAdd, queueAdd, sendPacket, startTimer, stopTimer
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

CHAP_PROTOCOL_NUMBER

protected static final int CHAP_PROTOCOL_NUMBER
Constructor Detail

Chap

public Chap()
Method Detail

newPacket

public void newPacket(byte[] packet)
Description copied from class: Protocol
Invoked when this protocol has a new packet.
Overrides:
newPacket in class Protocol

open

public void open()

up

public void up(int type)

down

public void down()

close

public void close()

timeout

public void timeout()
Description copied from interface: TimerEventListener
Timer event listener interface
Specified by:
timeout in interface TimerEventListener

setUsername

public void setUsername(java.lang.String username)

setPassword

public void setPassword(java.lang.String secret)


Also see:
o TINI 1.16 API
o TINI Home Page
o 1-Wire API

o JDK 1.1

Last update Wed Jun 8 17:19:36 CDT 2005