com.dalsemi.tininet.ppp
Class Ipcp
java.lang.Object
com.dalsemi.tininet.ppp.Protocol
com.dalsemi.tininet.ppp.Ipcp
- All Implemented Interfaces:
- java.util.EventListener, TimerEventListener
- public class Ipcp
- extends Protocol
- implements TimerEventListener
The Internet Protocol Control Protocol (IPCP).
| 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 |
Ipcp()
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
IPCP_PROTOCOL_NUMBER
protected static final int IPCP_PROTOCOL_NUMBER
- See Also:
- Constant Field Values
Ipcp
public Ipcp()
newPacket
public void newPacket(byte[] packet)
- Description copied from class:
Protocol
- Invoked when this protocol has a new packet.
- Specified by:
newPacket in class Protocol
open
public void open()
close
public void close()
up
public void up()
down
public void down()
timeout
public void timeout()
- Description copied from interface:
TimerEventListener
- Timer event listener interface
- Specified by:
timeout in interface TimerEventListener
clearDnsAddrs
public void clearDnsAddrs()
getLocalAddress
public byte[] getLocalAddress()
setLocalAddress
public void setLocalAddress(byte[] localAddr)
getRemoteAddress
public byte[] getRemoteAddress()
setRemoteAddress
public void setRemoteAddress(byte[] remoteAddr)
getPrimaryDNS
public byte[] getPrimaryDNS()
getSecondaryDNS
public byte[] getSecondaryDNS()
Also see:
o TINI 1.18 API
o TINI Home Page
o 1-Wire API
o JDK 1.1
Last update Thu Feb 5 09:42:41 CST 2009