Interface ProxyDataConsumer<T>
- Type Parameters:
T- the stream type
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
Writes extra data into a proxy message. Separate from
Consumer
because writing to a stream can fail.-
Method Summary
-
Method Details
-
accept
Writes the data.- Parameters:
t- the stream to write to- Throws:
IOException- if writing fails
-