Refine search
@Override public void write(DataOutput output) throws IOException { output.writeByte(GET_OBJECT_INSTANCE); output.writeInt(correlationId); output.writeByte(OBJECT_NAME); Marshaller marshaller = prepareForMarshalling(output); marshaller.writeObject(name); marshaller.close(); } });
@Override public void write(DataOutput output) throws IOException { output.writeByte(GET_MBEAN_INFO); output.writeInt(correlationId); output.writeByte(OBJECT_NAME); Marshaller marshaller = prepareForMarshalling(output); marshaller.writeObject(name); marshaller.close(); } });
@Override public void write(DataOutput output) throws IOException { output.writeByte(UNREGISTER_MBEAN); output.writeInt(correlationId); output.writeByte(OBJECT_NAME); Marshaller marshaller = prepareForMarshalling(output); marshaller.writeObject(name); marshaller.close(); } });
@Override public void write(DataOutput output) throws IOException { output.writeByte(GET_MBEAN_INFO); output.writeInt(correlationId); output.writeByte(OBJECT_NAME); Marshaller marshaller = prepareForMarshalling(output); marshaller.writeObject(name); marshaller.close(); } });
@Override public void write(DataOutput output) throws IOException { output.writeByte(IS_REGISTERED); output.writeInt(correlationId); output.writeByte(OBJECT_NAME); Marshaller marshaller = prepareForMarshalling(output); marshaller.writeObject(name); marshaller.close(); } });
@Override public void write(DataOutput output) throws IOException { output.writeByte(UNREGISTER_MBEAN); output.writeInt(correlationId); output.writeByte(OBJECT_NAME); Marshaller marshaller = prepareForMarshalling(output); marshaller.writeObject(name); marshaller.close(); } });
@Override public void write(DataOutput output) throws IOException { output.writeByte(GET_OBJECT_INSTANCE); output.writeInt(correlationId); output.writeByte(OBJECT_NAME); Marshaller marshaller = prepareForMarshalling(output); marshaller.writeObject(name); marshaller.close(); } });
@Override public void write(DataOutput output) throws IOException { output.writeByte(IS_REGISTERED); output.writeInt(correlationId); output.writeByte(OBJECT_NAME); Marshaller marshaller = prepareForMarshalling(output); marshaller.writeObject(name); marshaller.close(); } });
@Override public void write(DataOutput output) throws IOException { output.writeByte(SET_ATTRIBUTE); output.writeInt(correlationId); output.writeByte(OBJECT_NAME); Marshaller marshaller = prepareForMarshalling(output); marshaller.writeObject(name); marshaller.writeByte(ATTRIBUTE); marshaller.writeObject(attribute); marshaller.close(); } });
@Override public void write(DataOutput output) throws IOException { output.writeByte(SET_ATTRIBUTES); output.writeInt(correlationId); output.writeByte(OBJECT_NAME); Marshaller marshaller = prepareForMarshalling(output); marshaller.writeObject(name); marshaller.writeByte(ATTRIBUTE_LIST); marshaller.writeObject(attributes); marshaller.close(); } });
@Override public void write(DataOutput output) throws IOException { output.writeByte(QUERY_NAMES); output.writeInt(correlationId); output.writeByte(OBJECT_NAME); Marshaller marshaller = prepareForMarshalling(output); marshaller.writeObject(name); marshaller.writeByte(QUERY_EXP); marshaller.writeObject(query); marshaller.close(); } });
@Override public void write(DataOutput output) throws IOException { output.writeByte(QUERY_MBEANS); output.writeInt(correlationId); output.writeByte(OBJECT_NAME); Marshaller marshaller = prepareForMarshalling(output); marshaller.writeObject(name); marshaller.writeByte(QUERY_EXP); marshaller.writeObject(query); marshaller.close(); } });
@Override public void write(DataOutput output) throws IOException { output.writeByte(QUERY_NAMES); output.writeInt(correlationId); output.writeByte(OBJECT_NAME); Marshaller marshaller = prepareForMarshalling(output); marshaller.writeObject(name); marshaller.writeByte(QUERY_EXP); marshaller.writeObject(query); marshaller.close(); } });
@Override protected void encode(ChannelHandlerContext ctx, Object msg, ByteBuf out) throws Exception { Marshaller marshaller = provider.getMarshaller(ctx); int lengthPos = out.writerIndex(); out.writeBytes(LENGTH_PLACEHOLDER); ChannelBufferByteOutput output = new ChannelBufferByteOutput(out); marshaller.start(output); marshaller.writeObject(msg); marshaller.finish(); marshaller.close(); out.setInt(lengthPos, out.writerIndex() - lengthPos - 4); } }
@Override public void write(DataOutput output) throws IOException { output.writeByte(QUERY_MBEANS); output.writeInt(correlationId); output.writeByte(OBJECT_NAME); Marshaller marshaller = prepareForMarshalling(output); marshaller.writeObject(name); marshaller.writeByte(QUERY_EXP); marshaller.writeObject(query); marshaller.close(); } });
@Override public void write(DataOutput output) throws IOException { output.writeByte(SET_ATTRIBUTE); output.writeInt(correlationId); output.writeByte(OBJECT_NAME); Marshaller marshaller = prepareForMarshalling(output); marshaller.writeObject(name); marshaller.writeByte(ATTRIBUTE); marshaller.writeObject(attribute); marshaller.close(); } });
@Override public void write(DataOutput output) throws IOException { output.writeByte(SET_ATTRIBUTES); output.writeInt(correlationId); output.writeByte(OBJECT_NAME); Marshaller marshaller = prepareForMarshalling(output); marshaller.writeObject(name); marshaller.writeByte(ATTRIBUTE_LIST); marshaller.writeObject(attributes); marshaller.close(); } });
@Override public void write(DataOutput output) throws IOException { output.writeByte(REMOVE_NOTIFICATION_LISTENER); output.writeInt(correlationId); output.writeByte(INTEGER); output.writeInt(2); // Sending 2 parameters. output.writeByte(OBJECT_NAME); Marshaller marshaller = prepareForMarshalling(output); marshaller.writeObject(name); marshaller.writeByte(OBJECT_NAME); marshaller.writeObject(listener); marshaller.close(); } });
@Override public void write(DataOutput output) throws IOException { output.writeByte(REMOVE_NOTIFICATION_LISTENER); output.writeInt(correlationId); output.writeByte(INTEGER); output.writeInt(2); // Sending 2 parameters. output.writeByte(OBJECT_NAME); Marshaller marshaller = prepareForMarshalling(output); marshaller.writeObject(name); marshaller.writeByte(OBJECT_NAME); marshaller.writeObject(listener); marshaller.close(); } });
@Override public void write(DataOutput output) throws IOException { output.writeByte(GET_ATTRIBUTE); output.writeInt(correlationId); output.writeByte(OBJECT_NAME); Marshaller marshaller = prepareForMarshalling(output); marshaller.writeObject(name); marshaller.writeByte(STRING); marshaller.writeUTF(attribute); marshaller.close(); } });