Modifier and Type | Field and Description |
---|---|
private ChannelMessage.Ack |
ackA |
private ChannelMessage.Ack |
ackB |
private Alternative |
alt |
private ChannelID |
channelID
Our channel ID.
|
private long |
channelIndex
Our channel index.
|
private AltingChannelInput |
fromNetIn
The channel we use for recieving from the demuxes.
|
private SharedChannelOutput |
fromNetOut |
private java.lang.String |
name
The name of this channel.
|
private RejectableChannel |
out
The channel used for output.
|
private boolean |
sendAckA |
private Any2OneChannel |
stopChannel |
Constructor and Description |
---|
NetChannelInputProcess(java.lang.String label,
RejectableChannel out)
Constructor which takes a label to assign to the channel's
VCN and a
ChannelOutput object on which to output
any data received from over the network. |
Modifier and Type | Method and Description |
---|---|
(package private) void |
breakChannel() |
(package private) long |
getChannelIndex() |
private java.lang.Object |
readFromNetChannel()
Reads a message from the network communications channel.
|
void |
run()
Handle this link.
|
private long channelIndex
private ChannelID channelID
private java.lang.String name
private AltingChannelInput fromNetIn
private SharedChannelOutput fromNetOut
private RejectableChannel out
private Any2OneChannel stopChannel
private Alternative alt
private transient ChannelMessage.Ack ackA
private transient ChannelMessage.Ack ackB
private transient boolean sendAckA
NetChannelInputProcess(java.lang.String label, RejectableChannel out)
ChannelOutput
object on which to output
any data received from over the network.label
- the label to assign to the VCN. If this is
null
then no label will be assigned.out
- the void breakChannel()
long getChannelIndex()
private java.lang.Object readFromNetChannel()