|
Jitsi: the OpenSource Java VoIP and Instant Messaging client. | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.java.sip.communicator.impl.provdisc.dhcp.DHCPTransaction
public class DHCPTransaction
DHCP transaction class.
| Constructor Summary | |
|---|---|
DHCPTransaction(DatagramSocket sock,
DatagramPacket message)
Constructor. |
|
| Method Summary | |
|---|---|
void |
cancel()
Cancel the transaction (i.e stop retransmission). |
void |
schedule()
Schedule a timer for retransmission. |
void |
setInterval(int interval)
Set the fixed interval for retransmission. |
void |
setMaxRetransmit(int maxRetransmit)
Set the maximum retransmission for a transaction. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DHCPTransaction(DatagramSocket sock,
DatagramPacket message)
sock - UDP socketmessage - DHCP packet content| Method Detail |
|---|
public void schedule()
throws Exception
Exception - if message cannot be sent on the socketpublic void cancel()
public void setMaxRetransmit(int maxRetransmit)
maxRetransmit - maximum retransmission for this transactionpublic void setInterval(int interval)
interval - interval to set
|
Jitsi: the OpenSource Java VoIP and Instant Messaging client. | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||