|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.eclipse.emf.mwe.internal.core.debug.communication.PackageSender
public class PackageSender
This Runnable sends packages out asynchroniously as they arrive from customers.
| Method Summary | |
|---|---|
void |
close()
stop the sender thread. |
static PackageSender |
newPackageSender(Connection connection)
create a new instance and starts the runnable in a new thread |
void |
run()
|
int |
sendPackage(AbstractPackage packet)
Add a packet to be sent to the other side. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static PackageSender newPackageSender(Connection connection)
connection - the Connection that controls this data receiver.
public int sendPackage(AbstractPackage packet)
throws java.io.InterruptedIOException
packet - the packet
java.io.InterruptedIOExceptionpublic void close()
public void run()
run in interface java.lang.Runnable
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||