public class InspcCommPort
extends java.lang.Object
implements java.io.Closeable
InterProcessComm
.
targetAccessors
.
receiveThread
and the receiveRun
routine.
Modifier and Type | Field and Description |
---|---|
(package private) boolean |
bFinish |
(package private) boolean |
bRun |
(package private) boolean |
bWaitFinish |
private InterProcessComm |
ipc |
(package private) java.lang.Runnable |
receiveRun |
(package private) java.lang.Thread |
receiveThread
A receive thread should be used anyway if a socket receiving or other receiving is given.
|
(package private) java.lang.String |
sOwnIpAddr |
(package private) java.util.Map<java.lang.String,InspcTargetAccessor> |
targetAccessors
All access instances which uses this port.
|
(package private) Address_InterProcessComm |
targetSenderAddr |
static java.lang.String |
version
Version, history and license.
|
Constructor and Description |
---|
InspcCommPort() |
Modifier and Type | Method and Description |
---|---|
void |
close()
Closes the thread for receive
|
Address_InterProcessComm |
createTargetAddr(java.lang.String sAddr) |
boolean |
open(java.lang.String sOwnIpAddrP) |
(package private) void |
receiveFromTarget() |
(package private) void |
registerTargetAccessor(InspcTargetAccessor accessor)
Register an target access instance which uses this port.
|
(package private) int |
send(InspcTargetAccessor targerAccessor,
byte[] txBuffer,
int lengthDatagram) |
public static final java.lang.String version
private InterProcessComm ipc
java.lang.String sOwnIpAddr
java.util.Map<java.lang.String,InspcTargetAccessor> targetAccessors
java.lang.Runnable receiveRun
java.lang.Thread receiveThread
boolean bRun
boolean bFinish
boolean bWaitFinish
Address_InterProcessComm targetSenderAddr
void registerTargetAccessor(InspcTargetAccessor accessor)
accessor
- public Address_InterProcessComm createTargetAddr(java.lang.String sAddr)
public boolean open(java.lang.String sOwnIpAddrP)
public void close() throws java.io.IOException
close
in interface java.io.Closeable
close
in interface java.lang.AutoCloseable
java.io.IOException
Closeable.close()
int send(InspcTargetAccessor targerAccessor, byte[] txBuffer, int lengthDatagram)
void receiveFromTarget()