marshaller.start(createByteOutput(output));
marshaller.writeByte(ServerManagerProtocol.PARAM_SERVER_NAME);
marshaller.writeUTF(serverName);
if (gracefulTimeout != null) {
marshaller.writeByte(ServerManagerProtocol.PARAM_GRACEFUL_TIMEOUT);
marshaller.writeLong(gracefulTimeout);
}
marshaller.finish();
}
@Override