|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnetwork.AbCommsDG
network.SendComms
public class SendComms
Created on November 5, 2006, 9:14 AM
Handles communications when sending data to a remote host.
Extends AbCommsDG, sends the data packet in a loop until the loop is terminated.
The communication loop is terminated either by the object using SendComms, such as when an ack is received, or if no ack is required.
| Constructor Summary | |
|---|---|
SendComms()
Creates a new instance of SendComms |
|
| Method Summary | |
|---|---|
void |
run()
Handles running the thread. |
| Methods inherited from class network.AbCommsDG |
|---|
addPropertyChangeListener, getBuffer, getConnectedAddress, getPacket, getPort, getPropertySupport, getRemoteHost, getRunner, getSocket, isAckRequired, isAlreadyConnected, isPauseComms, isRunning, removePropertyChangeListener, setAckRequired, setAlreadyConnected, setBuffer, setConnectedAddress, setPacket, setPauseComms, setPort, setRemoteHost, setRunner, setRunning, setSocket, startComms, stopComms |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SendComms()
| Method Detail |
|---|
public void run()
run in interface java.lang.Runnablerun in class AbCommsDG
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||