public class RiemannParser
extends java.lang.Object
implements io.vertx.core.Handler<io.vertx.core.buffer.Buffer>
| Modifier and Type | Method and Description |
|---|---|
void |
handle(io.vertx.core.buffer.Buffer buffer)
This method is called to provide the parser with data.
|
static RiemannParser |
newFixed(io.vertx.core.Handler<io.vertx.core.buffer.Buffer> output)
Create a new
RecordParser instance, initially in fixed size mode, and where the record size is specified
by the size parameter. |
public static RiemannParser newFixed(io.vertx.core.Handler<io.vertx.core.buffer.Buffer> output)
RecordParser instance, initially in fixed size mode, and where the record size is specified
by the size parameter.
output Will receive whole records which have been parsed.
public void handle(io.vertx.core.buffer.Buffer buffer)
handle in interface io.vertx.core.Handler<io.vertx.core.buffer.Buffer>buffer - Copyright © 2015. All Rights Reserved.