public interface MessageWriter extends Closeable
| Modifier and Type | Method and Description |
|---|---|
int |
separator()
Write an entry separator to the writer.
|
<Message extends net.morimekta.providence.PMessage<Message>> |
write(net.morimekta.providence.PMessageOrBuilder<Message> message)
Write a providence message to the writer.
|
<Message extends net.morimekta.providence.PMessage<Message>> |
write(net.morimekta.providence.PServiceCall<Message> call)
Write a providence service call to the writer.
|
<Message extends net.morimekta.providence.PMessage<Message>> int write(net.morimekta.providence.PMessageOrBuilder<Message> message)
throws IOException
Message - The message type.message - The message to write.IOException - If write failed.<Message extends net.morimekta.providence.PMessage<Message>> int write(net.morimekta.providence.PServiceCall<Message> call)
throws IOException
Message - The message type embedded in the call.call - The service call to write.IOException - If write failed.int separator()
throws IOException
IOException - If write failed.Copyright © 2015–2020 morimekta.net. All rights reserved.