public class OamRcvValue
extends java.lang.Object
implements java.lang.Runnable
OamShowValues.show(byte[], int, int)
is called.
InspcDataExchangeAccess
.Modifier and Type | Class and Description |
---|---|
(package private) static class |
OamRcvValue.ShowParam
This parameter can be changed on debug suspend to influence output for one received telegram.
|
Modifier and Type | Field and Description |
---|---|
(package private) boolean |
bIpcOpened |
(package private) boolean |
bRun |
(package private) boolean |
bTargetAddrValid
If the
targetAddr was set by receiving without error, it is true. |
(package private) int |
ctCorruptData |
(package private) int |
ctRxNl |
(package private) int |
currCnt |
(package private) InspcDataExchangeAccess.InspcDatagram |
datagramRcv |
private java.util.Map<java.lang.String,java.lang.String> |
indexUnknownVariable |
(package private) InspcDataExchangeAccess.Inspcitem |
infoEntity |
private InterProcessComm |
ipc |
(package private) MainCmdLogging_ifc |
log |
(package private) byte[] |
recvData |
(package private) byte[] |
sendData |
private Address_InterProcessComm |
senderAddr
Stores here the sender of incoming telegrams.
|
(package private) OamRcvValue.ShowParam |
showParam |
private OamShowValues |
showValues
Associated class which shows the values
|
private Address_InterProcessComm |
targetAddr
Create firstly an invalid address (port 0), it is filled from sender, if telegrams are received.
|
private java.lang.Thread |
thread
The thread.
|
(package private) ByteDataAccessSimple |
txInfoAccess |
static java.lang.String |
version
Version, history and license.
|
private GralButton |
wdgButtonOnOff |
Constructor and Description |
---|
OamRcvValue(OamShowValues showValues,
MainCmdLogging_ifc log,
ViewCfg.CallingArguments args,
GralButton wdgButtonOnOff) |
Modifier and Type | Method and Description |
---|---|
private void |
evalTelg(byte[] recvData,
int nrofBytes) |
void |
finalize()
Sheet anchor: close the socket before the object is removed.
|
private void |
receiveAndExec() |
void |
run() |
void |
sendRequest() |
void |
start()
Starts the receiver thread.
|
void |
stopThread()
If the application is stopped, the thread have to be stopped firstly.
|
public static final java.lang.String version
private final OamShowValues showValues
private final java.lang.Thread thread
boolean bRun
OamRcvValue.ShowParam showParam
int ctRxNl
int ctCorruptData
int currCnt
boolean bIpcOpened
private final java.util.Map<java.lang.String,java.lang.String> indexUnknownVariable
InspcDataExchangeAccess.InspcDatagram datagramRcv
InspcDataExchangeAccess.Inspcitem infoEntity
ByteDataAccessSimple txInfoAccess
final MainCmdLogging_ifc log
private final GralButton wdgButtonOnOff
private final InterProcessComm ipc
private final Address_InterProcessComm targetAddr
private final Address_InterProcessComm senderAddr
boolean bTargetAddrValid
targetAddr
was set by receiving without error, it is true.
False if an error occurs while receiving (means the socket is faulty).byte[] recvData
byte[] sendData
public OamRcvValue(OamShowValues showValues, MainCmdLogging_ifc log, ViewCfg.CallingArguments args, GralButton wdgButtonOnOff)
public void start()
public void stopThread()
private void receiveAndExec()
public void run()
run
in interface java.lang.Runnable
private void evalTelg(byte[] recvData, int nrofBytes) throws java.text.ParseException
java.text.ParseException
public void sendRequest()
public void finalize()
finalize
in class java.lang.Object
Object.finalize()