com.dalsemi.tininet.ppp
Class Ipcp

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

public class Ipcp
extends Protocol
implements TimerEventListener

The Internet Protocol Control Protocol (IPCP).


Field Summary
protected static int IPCP_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
Ipcp()
           
 
Method Summary
 void clearDnsAddrs()
           
 void close()
           
 void down()
           
 byte[] getLocalAddress()
           
 byte[] getPrimaryDNS()
           
 byte[] getRemoteAddress()
           
 byte[] getSecondaryDNS()
           
 void newPacket(byte[] packet)
          Invoked when this protocol has a new packet.
 void open()
           
 void setLocalAddress(byte[] localAddr)
           
 void setRemoteAddress(byte[] remoteAddr)
           
 void timeout()
          Timer event listener interface
 void up()
           
 
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

IPCP_PROTOCOL_NUMBER

protected static final int IPCP_PROTOCOL_NUMBER
Constructor Detail

Ipcp

public Ipcp()
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()

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.16 API
o TINI Home Page
o 1-Wire API

o JDK 1.1

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