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 ChannelInternalsInt
public int read()
read
in interface ChannelInternalsInt
public boolean readerDisable()
readerDisable
in interface ChannelInternalsInt
public boolean readerEnable(Alternative alt)
readerEnable
in interface ChannelInternalsInt
public boolean readerPending()
readerPending
in interface ChannelInternalsInt
public void readerPoison(int strength)
readerPoison
in interface ChannelInternalsInt
public int startRead()
startRead
in interface ChannelInternalsInt
public void write(int n)
write
in interface ChannelInternalsInt
public void writerPoison(int strength)
writerPoison
in interface ChannelInternalsInt
public AltingChannelInputInt in()
Any2OneChannelInt
in
in interface Any2OneChannelInt
public SharedChannelOutputInt out()
Any2OneChannelInt
out
in interface Any2OneChannelInt