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 ChannelOutputo - the value to write.ChannelOutputpublic void poison(int strength)
Poisonablepoison in interface Poisonablestrength - the strength of the poison (must be >= 0).Copyright © 1996–2022. All rights reserved.