Class PTCPSenderThread
java.lang.Object
ecmwf.common.technical.ThreadService.ConfigurableRunnable
ecmwf.common.transport.ptcp.psocket.threads.PTCPSenderThread
-
Constructor Summary
ConstructorsConstructorDescriptionPTCPSenderThread
(PTCPOutputStream parent, OutputStream os, int id) Instantiates a new PTCP sender thread. -
Method Summary
Modifier and TypeMethodDescriptionvoid
close()
Close.void
Configurable run.void
flush()
Flush.void
send()
Send.void
wakeup
(PTCPPacket packet) Wakeup.Methods inherited from class ecmwf.common.technical.ThreadService.ConfigurableRunnable
execute, execute, getContextClassLoader, getPriority, getThreadName, interrupt, interrupted, isAlive, isStarted, join, join, run, setContextClassLoader, setForceCookie, setInheritCookie, setPriority, setThreadNameAndCookie
-
Constructor Details
-
PTCPSenderThread
Instantiates a new PTCP sender thread.- Parameters:
parent
- the parentos
- the osid
- the id
-
-
Method Details
-
close
Close.- Throws:
IOException
- Signals that an I/O exception has occurred.
-
flush
Flush.- Throws:
IOException
- Signals that an I/O exception has occurred.
-
configurableRun
public void configurableRun()Configurable run. Configurable run.- Specified by:
configurableRun
in classThreadService.ConfigurableRunnable
-
send
Send.- Throws:
IOException
- Signals that an I/O exception has occurred.
-
wakeup
Wakeup.- Parameters:
packet
- the packet- Throws:
IOException
- Signals that an I/O exception has occurred.
-