throws Exception {
boolean handled = false;
if (ByteBuf.class.isAssignableFrom(msg.getClass())) {
ByteBuf byteBuf = (ByteBuf) msg;
if (byteBuf.isReadable()) {
int protocolVersion = byteBuf.readByte();
if (protocolVersion != PROTOCOL_VERSION){
throw new RuntimeException("Unsupported protocol version: "+protocolVersion);
}
int observableNameLength = byteBuf.readByte();
String observableName = null;