Package io.keldysh.messaging.parsing
Interface Parser<PAYLOAD,RECEIVE_MESSAGE,PUBLISH_MESSAGE>  
- All Known Subinterfaces:
- ByteBufParser<PAYLOAD>,- PayloadParser<PAYLOAD>
public interface Parser<PAYLOAD,RECEIVE_MESSAGE,PUBLISH_MESSAGE>  
- 
Nested Class SummaryNested ClassesModifier and TypeInterfaceDescriptionstatic interfacestatic interface
- 
Method SummaryModifier and TypeMethodDescriptionstatic <T> Parser<T,T, T> identity()default PAYLOADread(RECEIVE_MESSAGE message) reader()default PUBLISH_MESSAGEwrite(PUBLISH_MESSAGE message, PAYLOAD payload) writer()
- 
Method Details- 
read- Throws:
- ParsingException
 
- 
write- Throws:
- ParsingException
 
- 
readerParser.Reader<RECEIVE_MESSAGE,PAYLOAD> reader()
- 
writerParser.Writer<PAYLOAD,PUBLISH_MESSAGE> writer()
- 
identity
 
-