org.freecompany.redline
public abstract class ChannelWrapper extends Object
| Nested Class Summary | |
|---|---|
| protected interface | ChannelWrapper.Consumer<T> |
| static class | ChannelWrapper.Key<T> |
| Field Summary | |
|---|---|
| protected Map<Key<?>,Consumer<?>> | consumers |
| Method Summary | |
|---|---|
| void | close() |
| Key<Integer> | start(WritableByteChannel output) |
| Key<Integer> | start()
Initializes a byte counter on this channel. |
| Key<byte[]> | start(PrivateKey key)
Initialize a signature on this channel. |
| Key<byte[]> | start(String algorithm)
Initialize a digest on this channel. |