/** {@inheritDoc} */ public void writeByte(final int val) throws IOException { output.writeByte(val); }
/** {@inheritDoc} */ public void writeByte(final int v) throws IOException { marshaller.writeByte(v); }
/** {@inheritDoc} */ public void writeByte(final int val) throws IOException { marshaller.writeByte(val); }
/** {@inheritDoc} */ public void write(final Marshaller marshaller) throws IOException { marshaller.writeByte(value); }
@Override public void write(DataOutput output) throws IOException { output.writeByte(CREATE_MBEAN); output.writeInt(correlationId); output.writeByte(INTEGER); output.writeInt(2); // Sending 2 parameters. Marshaller marshaller = prepareForMarshalling(output); marshaller.writeByte(STRING); marshaller.writeUTF(className); marshaller.writeByte(OBJECT_NAME); marshaller.writeObject(name); marshaller.close(); } });
@Override public void write(DataOutput output) throws IOException { output.writeByte(INSTANCE_OF); output.writeInt(correlationId); output.writeByte(OBJECT_NAME); Marshaller marshaller = prepareForMarshalling(output); marshaller.writeObject(name); marshaller.writeByte(STRING); marshaller.writeUTF(className); } });
@Override public void write(DataOutput output) throws IOException { output.writeByte(INSTANCE_OF); output.writeInt(correlationId); output.writeByte(OBJECT_NAME); Marshaller marshaller = prepareForMarshalling(output); marshaller.writeObject(name); marshaller.writeByte(STRING); marshaller.writeUTF(className); } });
public void writeClass(final Marshaller marshaller, final Class<?> clazz) throws IOException { marshaller.writeByte(idx); classTable.getClassWriter(clazz).writeClass(marshaller, clazz); } }));
public void writeObject(final Marshaller marshaller, final Object obj) throws IOException { marshaller.writeByte(idx); objectTable.getObjectWriter(obj).writeObject(marshaller, obj); } }));
@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(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(GET_ATTRIBUTE); output.writeInt(correlationId); output.writeByte(OBJECT_NAME); Marshaller marshaller = prepareForMarshalling(output); marshaller.writeObject(name); marshaller.writeByte(STRING); marshaller.writeUTF(attribute); 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 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(); } });
@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 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(); } });