com.dalsemi.tininet.ppp
Class Pap
java.lang.Object
|
+--com.dalsemi.tininet.ppp.Protocol
|
+--com.dalsemi.tininet.ppp.Pap
- public class Pap
- extends Protocol
- implements TimerEventListener
The Password Authentication Protocol (PAP). PAP provides a simple method of authentication.
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 |
Pap()
|
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
PAP_PROTOCOL_NUMBER
protected static final int PAP_PROTOCOL_NUMBER
Pap
public Pap()
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)
getUsername
public java.lang.String getUsername()
getPassword
public java.lang.String getPassword()
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