class Any2OneIntImpl extends java.lang.Object implements ChannelInternalsInt, Any2OneChannelInt
| Modifier and Type | Field and Description |
|---|---|
private ChannelInternalsInt |
channel |
private java.lang.Object |
writeMonitor |
| Constructor and Description |
|---|
Any2OneIntImpl(ChannelInternalsInt _channel) |
| Modifier and Type | Method and Description |
|---|---|
void |
endRead() |
AltingChannelInputInt |
in()
Returns the input end of the channel.
|
SharedChannelOutputInt |
out()
Returns the output end of the channel.
|
int |
read() |
boolean |
readerDisable() |
boolean |
readerEnable(Alternative alt) |
boolean |
readerPending() |
void |
readerPoison(int strength) |
int |
startRead() |
void |
write(int n) |
void |
writerPoison(int strength) |
private ChannelInternalsInt channel
private final java.lang.Object writeMonitor
Any2OneIntImpl(ChannelInternalsInt _channel)
public void endRead()
endRead in interface ChannelInternalsIntpublic int read()
read in interface ChannelInternalsIntpublic boolean readerDisable()
readerDisable in interface ChannelInternalsIntpublic boolean readerEnable(Alternative alt)
readerEnable in interface ChannelInternalsIntpublic boolean readerPending()
readerPending in interface ChannelInternalsIntpublic void readerPoison(int strength)
readerPoison in interface ChannelInternalsIntpublic int startRead()
startRead in interface ChannelInternalsIntpublic void write(int n)
write in interface ChannelInternalsIntpublic void writerPoison(int strength)
writerPoison in interface ChannelInternalsIntpublic AltingChannelInputInt in()
Any2OneChannelIntin in interface Any2OneChannelIntpublic SharedChannelOutputInt out()
Any2OneChannelIntout in interface Any2OneChannelInt