public class MsgReceiver
extends java.lang.Object
MsgDispatcher
.Modifier and Type | Class and Description |
---|---|
private class |
MsgReceiver.MsgItem |
Modifier and Type | Field and Description |
---|---|
private boolean |
bActivated
true if the messages will be displayed.
|
private boolean |
bListToBottom |
(package private) InterProcessComm |
comm |
private Report |
console |
(package private) MsgConfig |
msgConfig |
private LogMessage |
msgDispatcher
The instance for dispatching the messages.
|
(package private) MsgItems_h.MsgItem |
msgItem |
(package private) java.util.List<MsgReceiver.MsgItem> |
msgOfDay |
(package private) int[] |
nrofBytesReceived |
(package private) MsgItems_h.MsgItems |
recvData |
(package private) byte[] |
recvDataBuffer |
(package private) static int |
version
Version, history and license.
|
Constructor and Description |
---|
MsgReceiver(Report console,
LogMessage msgDispatcher,
MsgConfig msgConfig,
InterProcessComm comm) |
Modifier and Type | Method and Description |
---|---|
void |
start()
Now start work.
|
private void |
storeMsgOfDay(long absTime,
int ident,
java.lang.Object... values) |
(package private) void |
test() |
void |
testAndReceive()
This method should be called in a applications thread cyclically.
|
static final int version
final MsgConfig msgConfig
private final Report console
private boolean bActivated
private boolean bListToBottom
java.util.List<MsgReceiver.MsgItem> msgOfDay
final InterProcessComm comm
private final LogMessage msgDispatcher
final MsgItems_h.MsgItems recvData
final byte[] recvDataBuffer
final int[] nrofBytesReceived
MsgItems_h.MsgItem msgItem
public MsgReceiver(Report console, LogMessage msgDispatcher, MsgConfig msgConfig, InterProcessComm comm)
public void start()
private void storeMsgOfDay(long absTime, int ident, java.lang.Object... values)
void test()
public void testAndReceive()
comm
.InterProcessComm.open(org.vishia.communication.Address_InterProcessComm, boolean)
should be called for non blocking mode!