public class ChannelOutputWrapper extends java.lang.Object implements ChannelOutput
Constructor and Description |
---|
ChannelOutputWrapper(ChannelOutput out)
Deprecated.
Creates a new wrapper for the given channel end.
|
Modifier and Type | Method and Description |
---|---|
void |
poison(int strength)
Deprecated.
This injects poison into the channel.
|
void |
write(java.lang.Object o)
Deprecated.
Writes a value to the channel.
|
public ChannelOutputWrapper(ChannelOutput out)
out
- the existing channel end.public void write(java.lang.Object o)
write
in interface ChannelOutput
o
- the value to write.ChannelOutput
public void poison(int strength)
Poisonable
poison
in interface Poisonable
strength
- the strength of the poison (must be >= 0).Copyright © 1996–2024. All rights reserved.