public abstract class Event
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
Event.NodeEvent |
static class |
Event.SchemaChange |
static class |
Event.StatusChange |
static class |
Event.TopologyChange |
static class |
Event.Type |
Modifier and Type | Field and Description |
---|---|
Event.Type |
type |
Modifier and Type | Method and Description |
---|---|
static Event |
deserialize(io.netty.buffer.ByteBuf cb,
int version) |
protected abstract int |
eventSerializedSize(int version) |
void |
serialize(io.netty.buffer.ByteBuf dest,
int version) |
int |
serializedSize(int version) |
protected abstract void |
serializeEvent(io.netty.buffer.ByteBuf dest,
int version) |
public final Event.Type type
public static Event deserialize(io.netty.buffer.ByteBuf cb, int version)
public void serialize(io.netty.buffer.ByteBuf dest, int version)
public int serializedSize(int version)
protected abstract void serializeEvent(io.netty.buffer.ByteBuf dest, int version)
protected abstract int eventSerializedSize(int version)
Copyright © 2017 The Apache Software Foundation